2015-10-07 17:34:35 -04:00
{{VERSION_HTML}}
2014-01-14 12:10:26 -05:00
< div class = "archetypeConfig" ng-controller = "Imulus.ArchetypeConfigController" >
2015-10-08 08:07:35 -04:00
< h2 class = "archetype-headline" >< img src = "../App_Plugins/Archetype/assets/logo_50.png" /> Archetype< small > {{dllVersion}}</ small >< a href = "https://twitter.com/archetypekit" target = "_blank" >< img src = "../App_Plugins/Archetype/assets/twitter.png" /></ a ></ h2 >
2015-10-07 16:11:15 -04:00
< p > At a minimum your Archetype needs at least one fieldset with at least one property. You can configure it to allow for multiple types of fieldsets within a single Archetype and you can even add another Archetype as a property. Please use the link below for the full manual:</ p >
2015-10-07 16:28:00 -04:00
< p >< a class = "manual-link" href = "https://github.com/kgiszewski/ArchetypeManual" target = "_blank" > Archetype Manual</ a ></ p >
2014-01-14 17:30:10 -05:00
< ul class = "archetypeFieldsets" ui-sortable = "sortableOptions" ng-model = "archetypeConfigRenderModel.fieldsets" >
2014-01-14 16:08:38 -05:00
< li ng-repeat = "fieldset in archetypeConfigRenderModel.fieldsets" ng-hide = "fieldset.remove" >
2014-01-14 12:10:26 -05:00
< div class = "archetypeFieldsetWrapper" >
2014-01-16 14:23:02 -05:00
< div class = "archetypeEditorControls" ng-show = "archetypeConfigRenderModel.enableMultipleFieldsets" >
2014-01-14 15:41:40 -05:00
< i class = "icon icon-add" ng-click = "addFieldsetRow($index, $event)" ></ i >
2014-01-14 15:12:38 -05:00
< i class = "icon icon-delete" ng-click = "removeFieldsetRow($index)" ng-show = "canRemoveFieldset()" ></ i >
< i class = "icon icon-navigation handle" ng-show = "canSortFieldset()" ></ i >
2014-02-01 23:51:43 +00:00
</ div >
2014-01-14 16:08:38 -05:00
< div class = "archetypeFieldsetTitle" ng-click = "focusFieldset(fieldset)" > {{fieldset.label}}</ div >
2014-01-15 15:31:52 -05:00
< div class = "archetypeFieldsetCollapser" ng-hide = "fieldset.collapse && fieldset.label" >
2014-01-14 19:48:01 -05:00
< div class = "archetypeFieldsetOption" >
2014-02-07 16:00:47 -05:00
< label for = "archetypeFieldLabel_{{$index}}" >< archetype-localize key = "label" > Label</ archetype-localize ></ label >
2014-03-02 18:43:12 -07:00
< input type = "text" id = "archetypeFieldLabel_{{$index}}" ng-model = "fieldset.label" on-keyup = "autoPopulateAlias(this)" />
2014-01-14 15:41:40 -05:00
</ div >
2014-01-14 19:48:01 -05:00
< div class = "archetypeFieldsetOption" >
2014-02-07 16:00:47 -05:00
< label for = "archetypeFieldAlias_{{$index}}" >< archetype-localize key = "alias" > Alias</ archetype-localize ></ label >
2014-03-02 18:43:12 -07:00
< input type = "text" id = "archetypeFieldAlias_{{$index}}" ng-model = "fieldset.alias" on-keyup = "markAliasDirty(this)" required />
2014-01-14 15:41:40 -05:00
</ div >
2015-10-04 21:39:50 +02:00
< div class = "archetypeFieldsetOption" ng-show = "archetypeConfigRenderModel.fieldsetGroups.length" >
< label for = "archetypeFieldsetGroup_{{$index}}" >< archetype-localize key = "fieldsetGroup" > Group</ archetype-localize ></ label >
< select id = "archetypeFieldsetGroup_{{$index}}" ng-model = "fieldset.group" ng-options = "fieldsetGroup as fieldsetGroup.name for fieldsetGroup in archetypeConfigRenderModel.fieldsetGroups" ></ select >
</ div >
2014-01-14 19:48:01 -05:00
< div class = "archetypeFieldsetOption" >
2014-02-07 16:47:05 -05:00
< label for = "archetypeFieldLabelTemplate_{{$index}}" >< archetype-localize key = "labelTemplate" > Label Template</ archetype-localize ></ label >
2014-02-02 15:04:24 +00:00
< input type = "text" id = "archetypeFieldLabelTemplate_{{$index}}" ng-model = "fieldset.labelTemplate" />
2014-01-14 19:48:01 -05:00
</ div >
2014-01-31 17:10:00 -05:00
< div class = "archetypeFieldsetOption" ng-show = "archetypeConfigRenderModel.enableMultipleFieldsets" >
2014-02-07 16:47:05 -05:00
< label for = "archetypeFieldIcon_{{$index}}" >< archetype-localize key = "icon" > Icon</ archetype-localize ></ label >
< i class = "fieldsetIcon icon ng-class:fieldset.icon" ></ i >< a ng-click = "selectIcon(fieldset)" >< archetype-localize key = "select" > Select</ archetype-localize > …</ a >
2014-01-14 15:41:40 -05:00
</ div >
2014-02-01 23:51:43 +00:00
< div class = "archetypeFieldsetOption" >
2014-02-07 16:47:05 -05:00
< label >< archetype-localize key = "properties" > Properties</ archetype-localize ></ label >
2014-04-02 14:26:35 +13:00
</ div >
2014-01-14 15:41:40 -05:00
< div class = "archetypePropertiesWrapper" >
< ul ui-sortable = "sortableOptions" ng-model = "fieldset.properties" >
2014-02-01 23:51:43 +00:00
< li ng-repeat = "property in fieldset.properties" ng-hide = "property.remove" >
2014-01-14 15:41:40 -05:00
< div class = "archetypeEditorControls" >
< i class = "icon icon-add" ng-click = "addPropertyRow(fieldset, $index)" ></ i >
< i class = "icon icon-delete" ng-click = "removePropertyRow(fieldset, $index)" ng-show = "canRemoveProperty(fieldset)" ></ i >
< i class = "icon icon-navigation handle" ng-show = "canSortProperty(fieldset)" ></ i >
</ div >
2014-02-02 14:12:39 -07:00
< div class = "archetypePropertyTitle" ng-click = "focusProperty(fieldset.properties, property)" >
2014-03-28 18:11:40 +13:00
{{property.label}} ({{property.alias}}) - < span > {{getDataTypeNameByGuid(property.dataTypeGuid)}}</ span >
2014-02-02 14:12:39 -07:00
</ div >
2014-01-15 15:31:52 -05:00
< div class = "archetypePropertyCollapser" ng-hide = "property.collapse && property.label" >
< div >
2014-02-07 16:47:05 -05:00
< label for = "archetypePropertyLabel_{{$parent.$index}}_{{$index}}" >< archetype-localize key = "label" > Label</ archetype-localize ></ label >
2014-03-02 18:43:12 -07:00
< input type = "text" id = "archetypePropertyLabel_{{$parent.$index}}_{{$index}}" ng-model = "property.label" on-keyup = "autoPopulateAlias(this)" />
2014-01-15 15:31:52 -05:00
</ div >
< div >
2014-02-07 16:00:47 -05:00
< label for = "archetypePropertyAlias_{{$parent.$index}}_{{$index}}" >< archetype-localize key = "alias" > Alias</ archetype-localize ></ label >
2014-03-02 18:43:12 -07:00
< input type = "text" id = "archetypePropertyAlias_{{$parent.$index}}_{{$index}}" ng-model = "property.alias" on-keyup = "markAliasDirty(this)" required />
2014-01-15 15:31:52 -05:00
</ div >
< div >
2014-02-07 16:47:05 -05:00
< label for = "archetypePropertyHelpText_{{$parent.$index}}_{{$index}}" >< archetype-localize key = "helpText" > Help Text</ archetype-localize ></ label >
2014-02-02 15:04:24 +00:00
< input type = "text" id = "archetypePropertyHelpText_{{$parent.$index}}_{{$index}}" ng-model = "property.helpText" />
2014-01-15 15:31:52 -05:00
</ div >
< div >
2014-02-07 16:47:05 -05:00
< label for = "archetypePropertyDataType_{{$parent.$index}}_{{$index}}" >< archetype-localize key = "dataType" > Datatype</ archetype-localize ></ label >
2014-03-28 18:11:40 +13:00
< select id = "archetypePropertyDataType_{{$parent.$index}}_{{$index}}" ng-model = "property.dataTypeGuid" ng-options = "datatype.guid as datatype.name for datatype in availableDataTypes | orderBy:'name'" ></ select >
2014-01-15 15:31:52 -05:00
</ div >
2014-01-15 17:31:31 -05:00
< div >
2014-02-07 16:47:05 -05:00
< label for = "archetypePropertyDefaultValue_{{$parent.$index}}_{{$index}}" >< archetype-localize key = "defaultValue" > Default Value</ archetype-localize ></ label >
2014-02-02 15:04:24 +00:00
< input type = "text" id = "archetypePropertyDefaultValue_{{$parent.$index}}_{{$index}}" ng-model = "property.value" />
2014-02-01 23:51:43 +00:00
</ div >
< div >
2014-02-07 16:47:05 -05:00
< label for = "archetypePropertyRequired_{{$parent.$index}}_{{$index}}" >< archetype-localize key = "required" > Required</ archetype-localize ></ label >
2014-02-02 15:04:24 +00:00
< input type = "checkbox" id = "archetypePropertyRequired_{{$parent.$index}}_{{$index}}" ng-model = "property.required" />
2014-01-15 17:31:31 -05:00
</ div >
2014-05-11 10:39:12 +02:00
< div >
< label for = "archetypePropertyRegEx_{{$parent.$index}}_{{$index}}" >< archetype-localize key = "regEx" > RegEx Validation</ archetype-localize ></ label >
< input type = "text" id = "archetypePropertyRegExValue_{{$parent.$index}}_{{$index}}" ng-model = "property.regEx" />
</ div >
2014-01-14 15:41:40 -05:00
</ div >
</ li >
</ ul >
</ div >
2014-01-14 12:10:26 -05:00
</ div >
</ div >
</ li >
</ ul >
2014-02-01 23:51:43 +00:00
2014-01-14 17:30:10 -05:00
< div class = "archetypeOptions" >
< div >
2015-10-07 16:11:15 -04:00
< button class = "btn btn-default" ng-click = "showOptions($event, '../App_Plugins/archetype/views/archetype.config.fieldset.dialog.html')" >< archetype-localize key = "global_fieldset_options" > Global Fieldset Options</ archetype-localize ></ button >
< button class = "btn btn-default" ng-click = "showOptions($event, '../App_Plugins/archetype/views/archetype.config.stylescript.dialog.html')" >< archetype-localize key = "custom_style_script_options" > Custom Style/Script Options</ archetype-localize ></ button >
< button class = "btn btn-default" ng-click = "showOptions($event, '../App_Plugins/archetype/views/archetype.config.developer.dialog.html')" >< archetype-localize key = "developer_options" > Developer Options</ archetype-localize ></ button >
2014-01-16 14:23:02 -05:00
</ div >
2014-01-14 17:30:10 -05:00
</ div >
2014-01-14 12:10:26 -05:00
</ div >