-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (43 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fasterbids data dashboard</title>
<meta name="description" content="Fasterbids data dashboard">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.min.js"></script>
<script src="js/app.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body ng-app="fasterbids" ng-controller="dashboardCtrl">
<!-- header bar -->
<div id="header-bar" class="nav nav-tabs">
<img src="img/logo.png" alt="Fasterbids logo" />
</div>
<div id="analytics-container">
<!-- side panel -->
<div id="analytics-side-panel" class="col-lg-3">
<!-- build dropdown menu filters -->
<div ng-repeat="item in metadata" id="input-container">
<div class="menu-input">
<p>{{ item.label }}</p>
<select ng-model="metadata"
ng-options="option for option in item.items"
ng-init="metadata = item.items[0]"
ng-change="onInputChange(metadata, item.name, $index)"
data-name="{{ item.name }}">
</select>
</div>
</div>
</div>
<!-- dashboard view -->
<div id="analytics-dashboard" class="col-lg-9">
<pie-chart>
<div class="header-readout">Total sales volume: {{ totalSales | currency }}</div>
</pie-chart>
<bar-chart></bar-chart>
</div>
</div>
</body>
</html>