mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2024-12-26 09:59:18 +01:00
fix select height
This commit is contained in:
parent
d3e2e45c0c
commit
5c7c4752f5
1 changed files with 14 additions and 14 deletions
|
@ -1,9 +1,9 @@
|
||||||
<md-content flex="100" layout="column">
|
<md-content flex="100" layout="column">
|
||||||
<md-card flex="100" layout="row">
|
<md-card flex="100" layout="row">
|
||||||
<md-card flex="20">
|
<md-card flex="20">
|
||||||
<select multiple="true" data-ng-model="graphed_accounts">
|
<select style="height: 100%;" multiple ng:model="graphed_accounts">
|
||||||
<option data-ng-repeat="account in accounts">{{account}}</option>
|
<option ng:repeat="account in accounts">{{account}}</option>
|
||||||
</select>
|
</select>
|
||||||
</md-card>
|
</md-card>
|
||||||
<md-card flex="81">
|
<md-card flex="81">
|
||||||
<nvd3 data="graphiques.monthly_values.data"
|
<nvd3 data="graphiques.monthly_values.data"
|
||||||
|
@ -12,16 +12,16 @@
|
||||||
</md-card>
|
</md-card>
|
||||||
<h1>{{period | amDateFormat:'MMMM YYYY'}}</h1>
|
<h1>{{period | amDateFormat:'MMMM YYYY'}}</h1>
|
||||||
<md-card flex="100" layout="column"
|
<md-card flex="100" layout="column"
|
||||||
data-ng-repeat="bucket in balance.buckets">
|
ng:repeat="bucket in balance.buckets">
|
||||||
<md-toolbar>
|
<md-toolbar>
|
||||||
<span data-ng-repeat="account in bucket.total_detailed">{{account.account}} = {{account.amount | number:2}} €</span>
|
<span ng:repeat="account in bucket.total_detailed">{{account.account}} = {{account.amount | number:2}} €</span>
|
||||||
</md-toolbar>
|
</md-toolbar>
|
||||||
<md-content layout="row">
|
<md-content layout="row">
|
||||||
<md-card flex="20">
|
<md-card flex="20">
|
||||||
<select multiple
|
<select style="height: 100%;" multiple
|
||||||
data-ng-model="bucket.accounts_selected"
|
ng:model="bucket.accounts_selected"
|
||||||
data-ng-options="account.account for account in bucket.raw_data | orderBy:'account'"
|
ng:options="account.account for account in bucket.raw_data | orderBy:'account'"
|
||||||
data-ng-change="filter_data()">
|
ng:change="filter_data()">
|
||||||
<option value=''>...</option>
|
<option value=''>...</option>
|
||||||
</select>
|
</select>
|
||||||
</md-card>
|
</md-card>
|
||||||
|
@ -34,14 +34,14 @@
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><md-buton data-ng-click="bucket.order_by( 'account' )">account</md-buton></th>
|
<th><md-buton ng:click="bucket.order_by( 'account' )">account</md-buton></th>
|
||||||
<th><md-buton data-ng-click="bucket.order_by( 'amount' )">amount</md-buton></th>
|
<th><md-buton ng:click="bucket.order_by( 'amount' )">amount</md-buton></th>
|
||||||
<th><md-buton data-ng-click="bucket.order_by( 'score' )">score</md-buton></th>
|
<th><md-buton ng:click="bucket.order_by( 'score' )">score</md-buton></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr data-ng-repeat="account in bucket.data | orderBy:bucket.orderBy:bucket.orderDesc"
|
<tr ng:repeat="account in bucket.data | orderBy:bucket.orderBy:bucket.orderDesc"
|
||||||
data-ng-class="{'even': $even, 'odd': $odd}"
|
ng:class="{'even': $even, 'odd': $odd}"
|
||||||
style="border-left:10px solid {{coloring_score( account.score )}};border-right:10px solid {{coloring_score( account.score )}}">
|
style="border-left:10px solid {{coloring_score( account.score )}};border-right:10px solid {{coloring_score( account.score )}}">
|
||||||
<td style="border-bottom:1px solid {{coloring_score( account.score )}}">
|
<td style="border-bottom:1px solid {{coloring_score( account.score )}}">
|
||||||
{{account.account}}
|
{{account.account}}
|
||||||
|
|
Loading…
Reference in a new issue