Files
mozo-backend/app/assets/javascripts/supplier/app/templates/section.emblem
T
2013-10-30 17:28:33 +01:00

35 lines
1.3 KiB
Plaintext

.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}}
.btn-group
button.btn.dropdown-toggle data-toggle="dropdown"
span Action
span.caret
ul#section-actions.dropdown-menu
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'}}
view Ember.TextField valueBinding="title"
view Ember.TextField valueBinding="width" classNames="dimension"
span x
view Ember.TextField valueBinding="height" classNames="dimension"
a.btn.btn-mini{ action finishEditable }
span.icon-ok
else
a.btn.btn-mini{ action makeEditable }
span.icon-pencil
each table in tables
view 'Qsupplier.App.SectionTableView' contentBinding="table"