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 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_row_count: 0
by_column_count: 0 by_column_count: 0
isDistributed: (->@get('arrange_type') is 'distributed').property('arrange_type') isDistributed: (->@get('arrange_type') is 'distributed').property('arrange_type')
@@ -21,23 +21,13 @@ modal-dialog action="close"
if isDistributed if isDistributed
span.explanation span.explanation
if isByRow if isByRow
.form-row = t 'section.arrange_tables.modal.by_row_count'
.form-label Qsupplier.App.NumberField valueBinding="by_row_count"
label for="arrange-tables-by-row-count" =t 'models.plural.table'
= 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'
if isByColumn if isByColumn
.form-row = t 'section.arrange_tables.modal.by_column_count'
.form-label Qsupplier.App.NumberField valueBinding="by_column_count"
label for="arrange-tables-by-column-count" =t 'models.plural.table'
= 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'
.modal-footer .modal-footer
hr hr
button.confirm-cancel{action "close"}=t 'section.arrange_tables.modal.close_button' button.confirm-cancel{action "close"}=t 'section.arrange_tables.modal.close_button'
@@ -24,6 +24,10 @@
.section-actions-menu-header .section-actions-menu-header
padding-top: 4px padding-top: 4px
padding-bottom: 4px padding-bottom: 4px
.arrange-content
input
width: 62px
display: inline-block
.section-manage-tables .section-manage-tables
.dropdown-container .dropdown-container
margin-right: 10px margin-right: 10px