Files
mozo-backend/app/assets/javascripts/supplier/app/templates/section.emblem
T

37 lines
1.7 KiB
Plaintext

.section-tabs-container
link-to 'sections' class="goto-sections-index-tab-header": span
each section in sections
view Qsupplier.App.SectionTabHeaderView context=section
.section-manage-tables.pull-right
if editmode
/.btn-group
/a.btn.dropdown-toggle data-toggle="dropdown" href="#section-background"
span Background
span.caret
ul#section-background.dropdown-menu
each texture in textures
li
a{ action setTexture texture } {{texture}}
/a.tiny.button.dropdown.section-actions-menu-header href="#" data-dropdown="section-action-list" Action
/button.btn.dropdown-toggle data-toggle="dropdown"
span Action
span.caret
Qsupplier.App.DropdownLink title="Action"
ul
li
a{action addTables} {{t 'section.add_tables.button_label'}}
li
a{action arrangeTables} {{t 'section.arrange_tables.modal.title'}}
li
a href="{{route 'qr_codes_suppliers_tables_path' section_id=id}}" {{t 'tables.qr_codes.link'}}
li
a href="{{route 'suppliers_section_path' id}}" data-method="delete" data-confirm="{{t 'helpers.links.are_you_sure' bare=true}}" {{t 'helpers.links.destroy'}}
Ember.TextField valueBinding="title" class="section-edit-title-field"
Qsupplier.App.NumberField valueBinding="width" class="dimension section-edit-width-field"
span.fa.fa-lg.fa-times
Qsupplier.App.NumberField valueBinding="height" class="dimension section-edit-height-field"
a.section-normal-mode-button{ action finishEditable }: span
else
a.section-edit-mode-button{ action makeEditable }: span
Qsupplier.App.SectionTablesView contentBinding="tables"