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" >
2017-09-07 14:15:28 -04:00
< h2 class = "archetype-headline" >< img src = "../App_Plugins/Archetype/assets/logo_50.png" /> Archetype< small > {{dllVersion}}</ small >
< div class = "sponsors" >
< h4 > Our Sponsors</ h4 >
< a href = "https://hellotonic.com/" target = "_blank" >< img title = "Tonic Incorporated" src = "../App_Plugins/Archetype/assets/tonic_logo_50.png" /></ a >
</ div >
</ h2 >
< p > At a minimum your Archetype needs at least one fieldset with at least one property. Please use the link below for the full manual. We would really love a donation if you find Archetype useful. Be sure to visit our sponsors!</ p >
2017-09-07 09:03:39 -04:00
< p >
< a class = "manual-link" href = "https://github.com/kgiszewski/ArchetypeManual" target = "_blank" > Archetype Manual</ a > |
< a class = "manual-link" href = "https://github.com/kgiszewski/Archetype/blob/master/Terms%20of%20Service.md" target = "_blank" > Terms of Service</ a > |
< a class = "manual-link" href = "https://www.youtube.com/watch?v=79LksNwGjLk" target = "_blank" > Quick Start Video</ a > |
2017-09-07 14:15:28 -04:00
< a class = "manual-link" href = "https://twitter.com/archetypekit" target = "_blank" > Twitter</ a > |
< a class = "manual-link" href = "https://github.com/kgiszewski/Archetype" target = "_blank" > GitHub</ a > |
< a class = "manual-link donate-link" href = "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KBKWLURGLGU6L" target = "_blank" > Donate!</ a >
2017-09-07 09:03:39 -04:00
</ p >
2017-09-06 18:32:48 -04:00
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 >
2017-06-07 23:07:40 +02:00
< div class = "archetypeFieldsetCollapser" ng-hide = "fieldset.collapse && fieldset.label" ng-if = "isLoaded(fieldset)" >
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 >
2017-06-07 23:07:40 +02:00
< input type = "text" id = "archetypeFieldLabel_{{$index}}" ng-model = "fieldset.label" on-keyup = "autoPopulateAlias(fieldset)" />
2017-06-09 20:19:17 +02:00
< small > The label shown to the editors when adding a new fieldset.</ small >
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 >
2017-06-07 23:07:40 +02:00
< input type = "text" id = "archetypeFieldAlias_{{$index}}" ng-model = "fieldset.alias" on-keyup = "markAliasDirty(fieldset)" required />
2017-06-09 20:19:17 +02:00
< small > The alias used to identify the fieldset when rendering.</ small >
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" />
2017-06-09 20:19:17 +02:00
< small > Generates labels per fieldset. Can contain property aliases, e.g. "Article: {{ title}} ".</ small >
</ div >
< div class = "archetypeFieldsetOption" >
< label for = "archetypeFieldPreview_{{$index}}" > Preview image</ label >
2017-06-13 08:25:05 +02:00
< input type = "text" id = "archetypeFieldPreview_{{$index}}" ng-model = "fieldset.previewImage" on-keyup = "markAliasDirty(fieldset)" />
2017-06-12 22:29:16 +02:00
< small > A relative path to a preview image, e.g. "/assets/fieldset.png".</ small >
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 >
2017-06-07 23:07:40 +02:00
< input type = "text" id = "archetypePropertyLabel_{{$parent.$index}}_{{$index}}" ng-model = "property.label" on-keyup = "autoPopulateAlias(property)" />
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 >
2017-06-07 23:07:40 +02:00
< input type = "text" id = "archetypePropertyAlias_{{$parent.$index}}_{{$index}}" ng-model = "property.alias" on-keyup = "markAliasDirty(property)" 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 >