repeat by div instead of form in the admin lists
parent
0159d1024b
commit
d7deb7ade3
|
@ -16,7 +16,8 @@ section.custom-fields-table.basic-table
|
||||||
|
|
||||||
div.table-body
|
div.table-body
|
||||||
div.js-sortable
|
div.js-sortable
|
||||||
form.js-form(ng-repeat="attr in customAttributes track by attr.id", tg-bind-scope)
|
div(ng-repeat="attr in customAttributes track by attr.id", tg-bind-scope)
|
||||||
|
form.js-form(tg-bind-scope)
|
||||||
div.row.single-custom-field.js-view-custom-field
|
div.row.single-custom-field.js-view-custom-field
|
||||||
span.icon.icon-drag-v
|
span.icon.icon-drag-v
|
||||||
div.custom-name
|
div.custom-name
|
||||||
|
@ -40,7 +41,6 @@ section.custom-fields-table.basic-table
|
||||||
fieldset.custom-field-type
|
fieldset.custom-field-type
|
||||||
select(ng-model="attr.field_type",
|
select(ng-model="attr.field_type",
|
||||||
ng-options="e.id as e.name | translate for e in [{'id':'TEXT', 'name': 'ADMIN.CUSTOM_FIELDS.FIELD_TYPE_TEXT'},{'id':'MULTI', 'name': 'ADMIN.CUSTOM_FIELDS.FIELD_TYPE_MULTI'}]")
|
ng-options="e.id as e.name | translate for e in [{'id':'TEXT', 'name': 'ADMIN.CUSTOM_FIELDS.FIELD_TYPE_TEXT'},{'id':'MULTI', 'name': 'ADMIN.CUSTOM_FIELDS.FIELD_TYPE_MULTI'}]")
|
||||||
|
|
||||||
fieldset.custom-options
|
fieldset.custom-options
|
||||||
div.custom-options-wrapper
|
div.custom-options-wrapper
|
||||||
a.js-update-custom-field-button.icon.icon-floppy(href="", title="{{'ADMIN.CUSTOM_ATTRIBUTES.ACTION_UPDATE' | translate}}")
|
a.js-update-custom-field-button.icon.icon-floppy(href="", title="{{'ADMIN.CUSTOM_ATTRIBUTES.ACTION_UPDATE' | translate}}")
|
||||||
|
|
|
@ -15,7 +15,8 @@ section.project-values-table
|
||||||
|
|
||||||
div.project-values-body
|
div.project-values-body
|
||||||
div.sortable
|
div.sortable
|
||||||
form(ng-repeat="value in values", tg-bind-scope)
|
div(ng-repeat="value in values track by value.id", tg-bind-scope)
|
||||||
|
form(tg-bind-scope)
|
||||||
div.project-values-row.row.table-main.visualization
|
div.project-values-row.row.table-main.visualization
|
||||||
span.icon.icon-drag-v
|
span.icon.icon-drag-v
|
||||||
|
|
||||||
|
@ -31,12 +32,10 @@ section.project-values-table
|
||||||
|
|
||||||
div.project-values-row.row.table-main.edition.hidden
|
div.project-values-row.row.table-main.edition.hidden
|
||||||
div.project-values-name
|
div.project-values-name
|
||||||
input(name="name", type="text", placeholder="{{'COMMON.FIELDS.NAME' | translate}}", ng-model="value.name",
|
input(name="name", type="text", placeholder="{{'COMMON.FIELDS.NAME' | translate}}", ng-model="value.name")
|
||||||
data-required="true")
|
|
||||||
|
|
||||||
div.project-values-value
|
div.project-values-value
|
||||||
input(name="value", type="text", placeholder="{{'COMMON.FIELDS.VALUE' | translate}}", ng-model="value.value",
|
input(name="value", type="text", placeholder="{{'COMMON.FIELDS.VALUE' | translate}}", ng-model="value.value", data-type="number")
|
||||||
data-type="number")
|
|
||||||
|
|
||||||
div.project-values-settings
|
div.project-values-settings
|
||||||
a.save.icon.icon-floppy(href="", title="{{'COMMON.SAVE' | translate}}")
|
a.save.icon.icon-floppy(href="", title="{{'COMMON.SAVE' | translate}}")
|
||||||
|
|
|
@ -14,7 +14,8 @@ section.colors-table.admin-status-table
|
||||||
|
|
||||||
div.table-main
|
div.table-main
|
||||||
div.sortable
|
div.sortable
|
||||||
form(ng-repeat="value in values", tg-bind-scope)
|
div(ng-repeat="value in values", tg-bind-scope)
|
||||||
|
form(tg-bind-scope)
|
||||||
div.row.table-main.visualization
|
div.row.table-main.visualization
|
||||||
span.icon.icon-drag-v
|
span.icon.icon-drag-v
|
||||||
div.color-column
|
div.color-column
|
||||||
|
|
|
@ -13,7 +13,8 @@ section.colors-table
|
||||||
|
|
||||||
div.table-main
|
div.table-main
|
||||||
div.sortable
|
div.sortable
|
||||||
form(ng-repeat="value in values", tg-bind-scope)
|
div(ng-repeat="value in values", tg-bind-scope)
|
||||||
|
form(tg-bind-scope)
|
||||||
div.row.table-main.visualization
|
div.row.table-main.visualization
|
||||||
span.icon.icon-drag-v
|
span.icon.icon-drag-v
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@ section.project-us-status
|
||||||
|
|
||||||
div.table-main
|
div.table-main
|
||||||
div.sortable
|
div.sortable
|
||||||
form(ng-repeat="value in values", tg-bind-scope)
|
div(ng-repeat="value in values", tg-bind-scope)
|
||||||
|
form(tg-bind-scope)
|
||||||
div.row.table-main.visualization
|
div.row.table-main.visualization
|
||||||
span.icon.icon-drag-v
|
span.icon.icon-drag-v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue