Fixed bottom margin in editable rows.
This commit is contained in:
parent
c83b49658a
commit
817e3ee549
@ -178,7 +178,7 @@
|
|||||||
|
|
||||||
<!-- Displayed item template -->
|
<!-- Displayed item template -->
|
||||||
<script id="itemsTmpl" type="text/html">
|
<script id="itemsTmpl" type="text/html">
|
||||||
<tr data-bind="css: { 'warning': sold() < 0 && sold() >= $root.account().authorized_overdraft(), 'error': sold() < $root.account().authorized_overdraft() }">
|
<tr class="form-inline" data-bind="css: { 'warning': sold() < 0 && sold() >= $root.account().authorized_overdraft(), 'error': sold() < $root.account().authorized_overdraft() }">
|
||||||
<td data-bind="text: value_date"></td>
|
<td data-bind="text: value_date"></td>
|
||||||
<td data-bind="text: operation_date"></td>
|
<td data-bind="text: operation_date"></td>
|
||||||
<td data-bind="text: label"></td>
|
<td data-bind="text: label"></td>
|
||||||
@ -195,7 +195,7 @@
|
|||||||
|
|
||||||
<!-- New item template -->
|
<!-- New item template -->
|
||||||
<script id="newTmpl" type="text/html">
|
<script id="newTmpl" type="text/html">
|
||||||
<tr>
|
<tr class="form-inline">
|
||||||
<td><div class="date"><input type="text" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="new_value_date"></input></div></td>
|
<td><div class="date"><input type="text" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="new_value_date"></input></div></td>
|
||||||
<td><div class="input-append date"><input type="text" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="new_operation_date"></input><button class="btn" type="button" data-bind="click: function(item) { item.operation_date(null)}"><i class="icon-remove"></i></button></div></td>
|
<td><div class="input-append date"><input type="text" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="new_operation_date"></input><button class="btn" type="button" data-bind="click: function(item) { item.operation_date(null)}"><i class="icon-remove"></i></button></div></td>
|
||||||
<td><input type="text" class="input-xxlarge" data-bind="value: label"/></td>
|
<td><input type="text" class="input-xxlarge" data-bind="value: label"/></td>
|
||||||
@ -212,7 +212,7 @@
|
|||||||
|
|
||||||
<!-- Edit item template -->
|
<!-- Edit item template -->
|
||||||
<script id="editTmpl" type="text/html">
|
<script id="editTmpl" type="text/html">
|
||||||
<tr data-bind="css: { 'warning': sold() < 0 && sold() >= $root.account().authorized_overdraft(), 'error': sold() < $root.account().authorized_overdraft() }">
|
<tr class="form-inline" data-bind="css: { 'warning': sold() < 0 && sold() >= $root.account().authorized_overdraft(), 'error': sold() < $root.account().authorized_overdraft() }">
|
||||||
<td><div class="date"><input type="text" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="value_date"></input></div></td>
|
<td><div class="date"><input type="text" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="value_date"></input></div></td>
|
||||||
<td><div class="input-append date"><input type="text" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="operation_date"></input><button class="btn" type="button" data-bind="click: function(item) { item.operation_date(null)}"><i class="icon-remove"></i></button></div></td>
|
<td><div class="input-append date"><input type="text" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="operation_date"></input><button class="btn" type="button" data-bind="click: function(item) { item.operation_date(null)}"><i class="icon-remove"></i></button></div></td>
|
||||||
<td><input type="text" class="input-xxlarge" data-bind="value: label"/></td>
|
<td><input type="text" class="input-xxlarge" data-bind="value: label"/></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user