-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (68 loc) · 1.97 KB
/
index.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
80
81
82
83
84
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FabKPI Dashboard</title>
<link rel="stylesheet" type="text/css" href='http://fonts.googleapis.com/css?family=Open+Sans'/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- BootStrap and Font-Awesome CSS -->
<link rel="stylesheet" type="text/css" media="all" href="css/font-awesome.css" />
<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap.min.css" />
<!-- User Defined CSS -->
<link rel="stylesheet" type="text/css" media="all" href="css/customize.css" />
<script src="js/ui-bootstrap-tpls-0.12.0.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/ng-controller.js"></script>
<script src="js/service.js"></script>
</head>
<body>
<div>
<h1>
<i class="fa-fw fa fa-th-large"></i>
Dashboard
</h1>
</div>
<div class="row">
<div class="col-xs-6 col-sm-2 super-box">
<p> A </p>
</div>
<div class="col-xs-6 col-sm-2 super-box">
<p> A </p>
</div>
<div class="col-xs-6 col-sm-2 super-box">
<p> A </p>
</div>
<div class="col-xs-6 col-sm-2 super-box">
<p> A </p>
</div>
<div class="col-xs-6 col-sm-2 super-box">
<p> A </p>
</div>
<div class="col-xs-6 col-sm-2 super-box">
<p> A </p>
</div>
<div class="col-xs-6 col-sm-2 super-box">
<p> A </p>
</div>
</div>
<div ng-app="DashboardCtrl" ng-controller="DashboardController as index">
<b>Test</b>
<div>
Quantity: <input type="number" min="0" ng-model="index.qty" required >
</div>
<div>
Costs: <input type="number" min="0" ng-model="index.cost" required >
<select ng-model="index.inCurr">
<option ng-repeat="c in index.currencies">{{c}}</option>
</select>
</div>
<div>
<b>Total:</b>
<span ng-repeat="c in index.currencies">
{{index.total(c) | currency:c}}
</span>
<button class="btn" ng-click="index.pay()">Pay</button>
</div>
</div>
</body>
</html>