Format, change control size.
This commit is contained in:
parent
4bba9ba595
commit
08e89bec13
@ -15,8 +15,8 @@
|
|||||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<!-- vim: set tw=80 ts=2 sw=2 sts=2: -->
|
<!-- vim: set tw=80 ts=2 sw=2 sts=2: -->
|
||||||
<!-- Chart row -->
|
|
||||||
<div>
|
<div>
|
||||||
|
<!-- Chart row -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- Sold evolution chart placeholder -->
|
<!-- Sold evolution chart placeholder -->
|
||||||
<highchart id="sold-chart" config="soldChartConfig" class="col-md-8"></highchart>
|
<highchart id="sold-chart" config="soldChartConfig" class="col-md-8"></highchart>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<!-- Row with entry table -->
|
<!-- Row with entry table -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<table class="table table-condensed table-hover">
|
<table class="table table-striped table-condensed table-hover">
|
||||||
<!-- Head of the table containing column headers and size -->
|
<!-- Head of the table containing column headers and size -->
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -41,31 +41,40 @@
|
|||||||
<th>Libellé de l'opération</th>
|
<th>Libellé de l'opération</th>
|
||||||
<th class="col-md-1">Montant</th>
|
<th class="col-md-1">Montant</th>
|
||||||
<th class="col-md-1">Solde</th>
|
<th class="col-md-1">Solde</th>
|
||||||
<th class="col-md-3">Catégorie</th>
|
<th class="col-md-2">Catégorie</th>
|
||||||
<th class="col-md-2">Actions</th>
|
<th class="col-md-1">Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<!-- Body of the table containing the entries -->
|
<!-- Body of the table containing the entries -->
|
||||||
<tbody>
|
<tbody>
|
||||||
<!-- Row for an editing entry. -->
|
<!-- Row for an editing entry. -->
|
||||||
<tr id="{{entry.id}}" class="form-inline"
|
<tr id="{{ entry.id }}" class="form-inline"
|
||||||
ng-class="{stroke: entry.canceled, italic: !entry.confirmed, warning: entry.sold < 0, danger: entry.sold < account.authorized_overdraft}"
|
ng-class="{stroke: entry.canceled, italic: !entry.confirmed, warning: entry.sold < 0, danger: entry.sold < account.authorized_overdraft}"
|
||||||
ng-repeat="entry in entries">
|
ng-repeat="entry in entries">
|
||||||
<td>
|
<td>
|
||||||
<span editable-text="entry.operation_date" e-data-date-format="yyyy-MM-dd" e-bs-datepicker e-class="input-sm" e-form="rowform" e-required>
|
<span editable-text="entry.operation_date"
|
||||||
|
e-data-date-format="yyyy-MM-dd" e-bs-datepicker
|
||||||
|
e-class="input-sm" e-style="width: 100%"
|
||||||
|
e-name="operation_date" e-form="rowform" e-required>
|
||||||
<small>{{ entry.operation_date | date:"yyyy-MM-dd" }}</small>
|
<small>{{ entry.operation_date | date:"yyyy-MM-dd" }}</small>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<span editable-text="entry.label" e-class="input-sm" e-placeholder="Libélé de l'opération" e-name="label" e-form="rowform" e-required>
|
<span editable-text="entry.label"
|
||||||
|
e-style="width: 100%"
|
||||||
|
e-placeholder="Libellé de l'opération"
|
||||||
|
e-class="input-sm" e-style="width: 100%"
|
||||||
|
e-name="label" e-form="rowform" e-required>
|
||||||
<small>{{ entry.label }}</small>
|
<small>{{ entry.label }}</small>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<span editable-number="entry.value" e-class="input-sm" e-name="value" e-form="rowform" e-required>
|
<span editable-number="entry.value"
|
||||||
|
e-class="input-sm" e-style="width: 100%"
|
||||||
|
e-name="value" e-form="rowform" e-required>
|
||||||
<small>{{ entry.value }}</small>
|
<small>{{ entry.value }}</small>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
@ -75,14 +84,18 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<span editable-text="entry.category" e-class="input-sm" e-placeholder="Catégorie" e-form="rowform" e-required>
|
<span editable-text="entry.category"
|
||||||
|
e-placeholder="Catégorie"
|
||||||
|
e-class="input-sm" e-style="width: 100%"
|
||||||
|
e-name="category" e-form="rowform" e-required>
|
||||||
<small>{{ entry.category }}</small>
|
<small>{{ entry.category }}</small>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<form editable-form name="rowform" onbeforesave="saveEntry($data, $index)" shown="entry == inserted">
|
<form editable-form name="rowform"
|
||||||
<!-- new row buttons -->
|
onbeforesave="saveEntry($data, $index)"
|
||||||
|
shown="entry == inserted">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<!-- Save current entry, for editing and non-confirmed non-canceled entries -->
|
<!-- Save current entry, for editing and non-confirmed non-canceled entries -->
|
||||||
<button type="submit" class="btn btn-xs btn-success"
|
<button type="submit" class="btn btn-xs btn-success"
|
||||||
|
Loading…
Reference in New Issue
Block a user