make section table management with adding and positioning tables

This commit is contained in:
2012-11-20 16:27:10 +01:00
parent 633665daaa
commit a53e7e9ecd
7 changed files with 160 additions and 5 deletions
@@ -62,6 +62,30 @@
.controls
input.input-mini#add-tables-number-end type=:number value=120
.modal-footer
a.btn href='#' Close
a.btn.btn-primary href='#' onclick=%|Qsupplier.add_tables_to_active_section()| Add
button.btn data-dismiss="modal" aria-hidden=true Close
button.btn.btn-primary onclick="Qsupplier.add_tables_to_active_section()" Add
#arrange-tables-modal.modal.hide.fade tabindex=-1 role=:dialog aria-labeledby='add-tables-modal-label' aria-hidden=true
button.close type=:button data-dismiss=:modal aria-hidden=true x
h3#arrange-tables-modal-label= t('supplier.section.arrange_tables.modal.title')
.modal-body
p= t('supplier.section.arrange_tables.modal.body_header')
form.form-horizontal
.control-group
label.control-label for='arrange-tables-distributed' = t('supplier.section.arrange_tables.modal.distributed')
.controls
input#arrange-tables-distributed type="radio" name="arrange-table-option" checked=true value="distributed"
.control-group
label.control-label for='arrange-tables-by_row' = t('supplier.section.arrange_tables.modal.by_row')
.controls
input#arrange-tables-by_row type="radio" name="arrange-table-option" value="by_row"
label for="arrange-tables-by-row-count"= t('supplier.section.arrange_tables.modal.by_row_count')
input.input-mini#arrange-tables-by-row-count type="text" value=0
.control-group
label.control-label for='arrange-tables-by_column' = t('supplier.section.arrange_tables.modal.by_column')
.controls
input#arrange-tables-by_column type="radio" name="arrange-table-option" value="by_column"
label for="arrange-tables-by-column-count"= t('supplier.section.arrange_tables.modal.by_column_count')
input.input-mini#arrange-tables-by-column-count type="text" value=0
.modal-footer
button.btn data-dismiss="modal" aria-hidden=true Close
button.btn.btn-primary onclick="Qsupplier.arrange_tables_of_active_section()" Add