-
Notifications
You must be signed in to change notification settings - Fork 2
/
outlet_name.html
151 lines (138 loc) · 7.6 KB
/
outlet_name.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<!--
Material Design Lite
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A website demonstrating how our service works">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Outlet Name | Traqua Dashboard</title>
<!-- add to homescreen for Chrome (Android) -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="/images/icon-round.png">
<!-- add to homescreen for Safari (iOS) -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Traqua Dashboard">
<link rel="apple-touch-icon-precomposed" href="/images/icon-round.png">
<!-- tile icon for Windows 8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="/images/icon-square.png">
<meta name="msapplication-TileColor" content="#1a1a1a">
<!-- main icon -->
<link rel="shortcut icon" href="/images/logo-round.png">
<!-- import Roboto (font) -->
<link rel="stylesheet" href="/css/roboto.css">
<!-- import Material Design dependencies & Material Icons -->
<script src="/js/material.min.js"></script>
<link rel="stylesheet" href="/css/material-theme.min.css">
<link rel="stylesheet" href="/css/material-icons.css">
<!-- import jQuery -->
<script src="/js/jquery.min.js"></script>
<!-- import global styling & scripts -->
<link rel="stylesheet" href="/css/global.css">
<script src="/js/global.js"></script>
<!-- import chart dependicies -->
<script src="/js/morris.min.js"></script>
<script src="/js/raphael.min.js"></script>
<link rel="stylesheet" href="/css/morris.css">
<script src="/js/rates-charts.js"></script>
<link rel="stylesheet" href="/css/charts.css">
<!-- import Palette JS, for rainbow colours on charts -->
<script src="/js/palette.js"></script>
<!-- import page-specific styling & scripts -->
<script src="/js/outlet_name.js"></script>
</head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">Water Usage | Dashboard</span>
<div class="mdl-layout-spacer"></div>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable">
<label class="mdl-button mdl-js-button mdl-button--icon" for="search">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input class="mdl-textfield__input" type="text" id="search">
<label class="mdl-textfield__label" for="search">Search...</label>
</div>
</div>
<button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" id="hdrbtn">
<i class="material-icons">more_vert</i>
</button>
<ul class="mdl-menu mdl-js-menu mdl-js-ripple-effect mdl-menu--bottom-right" for="hdrbtn">
<li class="mdl-menu__item">About</li>
<li class="mdl-menu__item">Contact</li>
<li class="mdl-menu__item">Legal information</li>
</ul>
</div>
</header>
<div class="mdl-drawer mdl-layout__drawer">
<header class="drawer-header">
<img src="/images/logo-round.png" class="drawer-header-company-icon">
<h5 class="drawer-header-company-name">Traqua</h5>
<h5>Water Usage Tracking</h5>
</header>
<nav class="mdl-navigation"></nav>
</div>
<main class="mdl-layout__content">
<div class="mdl-grid">
<div id="rates-charts" class="charts mdl-card mdl-shadow--2dp mdl-cell mdl-cell--8-col">
<div class="mdl-card__content">
<!-- CHARTS START -->
<h3 class="chart-group-heading">Usage Rates</h3>
<div class="chart-container">
<h4 class="chart-title">Today</h4>
<div class="chart" id="global_daily_rate"></div>
</div>
<div class="chart-container">
<h4 class="chart-title">This Week</h4>
<div class="chart" id="global_weekly_rate"></div>
</div>
<div class="chart-container">
<h4 class="chart-title">This Month</h4>
<div class="chart" id="global_monthly_rate"></div>
</div>
<!-- CHARTS END -->
</div>
</div>
<div class="tips mdl-cell mdl-cell--4-col mdl-cell--8-col-tablet mdl-grid mdl-grid--no-spacing">
<div class="water-tips mdl-card mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--12-col-desktop">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text">Tips To Save Water</h2>
</div>
<div class="mdl-card__actions mdl-card--border">
<button onclick="openTips()" class="mdl-button mdl-js-button mdl-js-ripple-effect">Learn More</button>
</div>
</div>
</div>
<div class="tips-dialog mdl-card mdl-shadow--2dp">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">How To Save Water</h2>
</div>
<div class="mdl-card__content">
<p class="global-tips">Tips are currently unavailable. Please try again later.</p>
<p class="outlet-tips"></p>
</div>
<div class="mdl-card__actions">
<button onclick="closeTips()" class="mdl-button mdl-js-button mdl-js-ripple-effect">OK</button>
</div>
</div>
<div class="tips-dialog-shadow" onclick="closeTips()"></div>
</div>
</main>
</div>
</body>
</html>