diff --git a/assets/css/uzerp/screen.less b/assets/css/uzerp/screen.less index 941b960a..8c1c9591 100644 --- a/assets/css/uzerp/screen.less +++ b/assets/css/uzerp/screen.less @@ -1296,6 +1296,23 @@ font-size: 7px; } } + + /* modules/common/templates/elements/select_for_output.tpl */ + div[data-action=select_for_output] { + .form-actions { + display: flex; + column-gap: 10px; + align-items: center; + + .select-all { + order: 2; + } + + input[name=save] { + order: 3; + } + } + } /* we could use attribute selectors here, however we might not want to apply these styles everywhere */ diff --git a/modules/common/templates/elements/select_for_output.tpl b/modules/common/templates/elements/select_for_output.tpl index 52d6f0e6..5fe2cb94 100644 --- a/modules/common/templates/elements/select_for_output.tpl +++ b/modules/common/templates/elements/select_for_output.tpl @@ -108,14 +108,17 @@ {/data_table} {paging} - Select count - {submit tags='none' name='save' value='Save Selection'} - {/form} - {form controller=$self.controller action='select_all' notags=true} - - - {submit tags='none' name='save' value='Select All'} - {/form} +
+ + {submit tags='none' name='save' value='Save Selection'} +
+ {/form} + {form controller=$self.controller action='select_all' notags=true class='select-all'} + + + {submit tags='none' name='save' value='Select All'} + {/form} +