Cleaned a bit the code.

This commit is contained in:
Alexis Lahouze 2013-01-25 23:21:44 +01:00
parent 616d6ca766
commit ed67e0d791

View File

@ -205,9 +205,9 @@
<!-- New item template --> <!-- New item template -->
<script id="newTmpl" type="text/html"> <script id="newTmpl" type="text/html">
<tr class="form-inline"> <tr class="form-inline">
<td><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="new_value_date"></input></td> <td><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="new_value_date" /></td>
<td><input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="new_operation_date"></input></td> <td><input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="new_operation_date" /></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>
@ -231,9 +231,9 @@
<!-- Edit item template --> <!-- Edit item template -->
<script id="editTmpl" type="text/html"> <script id="editTmpl" type="text/html">
<tr class="form-inline" 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><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="value_date"></input></td> <td><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="value_date" /></td>
<td><input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="operation_date"></input></td> <td><input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="operation_date" /></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>