Some minor style improvements

This commit is contained in:
2014-07-01 17:58:42 +02:00
parent 639a707679
commit cddff247a4
3 changed files with 11 additions and 17 deletions
@@ -1,5 +1,5 @@
Qsupplier.App.ModalSectionArrangeTablesController = Ember.ObjectController.extend
arrange_type: 'distributed'
arrange_type: 'distributed' # can be distributed, by_row or by_column
by_row_count: 0
by_column_count: 0
isDistributed: (->@get('arrange_type') is 'distributed').property('arrange_type')
@@ -21,23 +21,13 @@ modal-dialog action="close"
if isDistributed
span.explanation
if isByRow
.form-row
.form-label
label for="arrange-tables-by-row-count"
= t 'section.arrange_tables.modal.by_row_count'
.form-field
Qsupplier.App.NumberField valueBinding="by_row_count"
/input.input-mini#arrange-tables-by-row-count type="text" value=0
=t 'models.plural.table'
= t 'section.arrange_tables.modal.by_row_count'
Qsupplier.App.NumberField valueBinding="by_row_count"
=t 'models.plural.table'
if isByColumn
.form-row
.form-label
label for="arrange-tables-by-column-count"
= t 'section.arrange_tables.modal.by_column_count'
.form-field
Qsupplier.App.NumberField valueBinding="by_column_count"
/input.input-mini#arrange-tables-by-row-count type="text" value=0
=t 'models.plural.table'
= t 'section.arrange_tables.modal.by_column_count'
Qsupplier.App.NumberField valueBinding="by_column_count"
=t 'models.plural.table'
.modal-footer
hr
button.confirm-cancel{action "close"}=t 'section.arrange_tables.modal.close_button'
@@ -24,6 +24,10 @@
.section-actions-menu-header
padding-top: 4px
padding-bottom: 4px
.arrange-content
input
width: 62px
display: inline-block
.section-manage-tables
.dropdown-container
margin-right: 10px