-
Notifications
You must be signed in to change notification settings - Fork 1
/
stats.html
80 lines (79 loc) · 2.75 KB
/
stats.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<div class="container-fluid statspage">
<div class="row-fluid">
<div class="row-fluid">
<div class="btn-group reportdataswitcher center" role="group">
<button type="button" class="btn btn-default" ng-click="period='year'" ng-class="{active:period=='year'}">Year</button>
<button type="button" class="btn btn-default" ng-click="period='month'" ng-class="{active:period=='month'}">Month</button>
<button type="button" class="btn btn-default" ng-click="period='week'" ng-class="{active:period=='week'}">Week</button>
</div>
</div>
</div>
<div class="row-fluid padding-medium">
<div class="container-fluid fadeanimation" ng-show="showReport">
<h4 class="statstitle">Statistics</h4>
<div class="col-lg-6 removepadding">
<canvas id="spendpattern" class="center"></canvas>
</div>
<div class="col-lg-6 divider scrollparent">
<style>
@media all and (max-width: 770px) {
.scroller
{
width:{{statistics.data.length * 320}}px;
}
}
</style>
<div class="scroller">
<div class="col-sm-4 col-xs-6 statisticstiles categorytiles" ng-repeat="value in statistics.data">
<div class="thumbnail">
<span class="appicon-{{value.icon}}"></span>
<div class="caption">
<h4>{{value.name}}</h4>
</div>
<div class="statisticamount">{{value.value}}</div>
</div>
</div>
</div>
</div>
<h4 class="statstitle">Prediction</h4>
<div class="col-lg-6 divider">
<canvas id="prediction" class="center"></canvas>
</div>
<div class="col-lg-6 divider scrollparent">
<style>
@media all and (max-width: 770px) {
.predictionscroller
{
width:{{prediction.data.length * 320}}px;
}
}
</style>
<div class="predictionscroller">
<div class="col-sm-4 col-xs-6 statisticstiles categorytiles" ng-repeat="value in prediction.data">
<div class="thumbnail">
<span class="appicon-{{value.icon}}"></span>
<div class="caption">
<h4>{{value.name}}</h4>
</div>
<div class="statisticamount">{{value.value}}</div>
</div>
</div>
</div>
</div>
</div>
<div class="row-fluid fadeanimation" ng-show="showData">
<div class="col-sm-4 col-xs-6 categorytiles" ng-repeat="category in categories.data" on-finish-render>
<div class="thumbnail">
<canvas id="{{category.name}}" class="center" height="60px" width="60px"></canvas>
<span class="appicon-{{category.icon}}"></span>
<div class="caption">
<h4>{{category.name}}</h4>
</div>
<div class="reportamount">${{category.amount}}</div>
</div>
</div>
</div>
</div>
<a class="addentry appicon-thin-add" href="#addentry"></a>
<div>
<!--<div class="addentry appicon-thin-add" ng-click="onClick()"></div>-->