forked from swfdevpro/theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
morris.html
365 lines (307 loc) · 13.3 KB
/
morris.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<!DOCTYPE html>
<html>
<head>
<title>MYX Dashboard</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/bootstrap-overrides.css" type="text/css" rel="stylesheet" />
<!-- theme -->
<link rel="stylesheet" type="text/css" href="css/theme/default.css" />
<!-- libraries -->
<link rel="stylesheet" type="text/css" href="css/font-awesome.css" />
<link rel="stylesheet" href="css/elements/morris.css">
<!-- open sans font -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css' />
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
</head>
<body>
<!-- navbar -->
<header class="navbar navbar-inverse navbar-fixed-top" role="banner">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" id="menu-toggler">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"><img src="images/logo.png" alt="logo" class="logo" /></a>
</div>
<ul class="nav navbar-nav pull-right hidden-xs">
<li class="hidden-xs">
<input class="search" type="text" placeholder="Enter keywords" />
</li>
<li class="notification-dropdown hidden-xs">
<a href="#" class="trigger">
<i class="glyphicon glyphicon-bell"></i>
<span class="count">5</span>
</a>
<div class="pop-dialog">
<div class="pointer right">
<div class="arrow"></div>
<div class="arrow_border"></div>
</div>
<div class="body">
<a href="#" class="close-icon"><i class="glyphicon glyphicon-remove-circle"></i></a>
<div class="notifications">
<h3>You have 5 new notifications</h3>
<a href="#" class="item">
<i class="fa fa-bug"></i> Server Error Reports
<span class="time"><i class="fa fa-clock-o"></i> 13 min.</span>
</a>
<a href="#" class="item">
<i class="fa fa-cloud-download"></i> Backup Completed
<span class="time"><i class="fa fa-clock-o"></i> 18 min.</span>
</a>
<a href="#" class="item">
<i class="fa fa-cogs"></i> <strong>System Updated</strong>
<span class="time"><i class="fa fa-clock-o"></i> 20 min.</span>
</a>
<a href="#" class="item">
<i class="fa fa-code"></i> Code Error on Line 101
<span class="time"><i class="fa fa-clock-o"></i> 49 min.</span>
</a>
<a href="#" class="item">
<i class="fa fa-refresh fa-spin"></i> Spinner Icon
<span class="time"><i class="fa fa-clock-o"></i> 1 day.</span>
</a>
<div class="footer">
<a href="#" class="logout">View all notifications</a>
</div>
</div>
</div>
</div>
</li>
<li class="notification-dropdown hidden-xs">
<a href="#" class="trigger">
<i class="fa fa-envelope"></i>
</a>
<div class="pop-dialog">
<div class="pointer right">
<div class="arrow"></div>
<div class="arrow_border"></div>
</div>
<div class="body">
<a href="#" class="close-icon"><i class="glyphicon glyphicon-remove-circle"></i></a>
<div class="messages">
<a href="#" class="item">
<img src="images/user_2.png" class="display" alt="user" />
<div class="name">Jhane Doe</div>
<div class="msg">
Quisque commodo massa sed ipsum porttitor facilisis.
</div>
<span class="time"><i class="fa fa-clock-o"></i> 5 sec.</span>
</a>
<a href="#" class="item">
<img src="images/user_3.png" class="display" alt="user" />
<div class="name">Jack Daniel</div>
<div class="msg">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</div>
<span class="time"><i class="fa fa-clock-o"></i> 37 mins.</span>
</a>
<a href="#" class="item last">
<img src="images/user_4.png" class="display" alt="user" />
<div class="name">Warm Sleepy</div>
<div class="msg">
Hello, how are you? i just though you were here, i'll see you tomorrow.
</div>
<span class="time"><i class="fa fa-clock-o"></i> 2 days.</span>
</a>
<div class="footer">
<a href="#" class="logout">View all messages</a>
</div>
</div>
</div>
</div>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle hidden-xs" data-toggle="dropdown">
<img class="img-circle" src="images/user_1.jpg" alt="avatar"> Erwin Agpasa <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="profile.html">Profile</a></li>
<li><a href="#">Settings</a></li>
<li class="divider"></li>
<li><a href="#">Sign Out</a></li>
</ul>
</li>
</ul>
</header>
<!-- end navbar -->
<!-- sidebar -->
<div id="sidebar-nav">
<div class="profile-hidder">
<ul class="nav">
<li class="nav-profile">
<div class="image">
<a href="javascript:;"><img src="images/user_1.jpg" alt=""></a>
</div>
<div class="info">
<a href="profile.html">Erwin Agpasa <b class="caret"></b></a>
<small>UX-UI Designer</small>
</div>
</li>
</ul>
</div>
<ul id="dashboard-menu">
<li>
<a href="index.html">
<i class="fa fa-laptop"></i>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="inbox.html">
<i class="fa fa-inbox"></i>
<span>Inbox</span> <span class="badge pull-right label-success">10</span>
</a>
</li>
<li>
<a class="dropdown-toggle" href="#">
<i class="fa fa-table"></i>
<span>Tables</span> <b class="caret"></b>
</a>
<ul class="submenu">
<li><a href="table-static.html">Static Tables</a></li>
<li><a href="table-data.html">Data Tables</a></li>
</ul>
</li>
<li class="active">
<div class="pointer">
<div class="arrow"></div>
<div class="arrow_border"></div>
</div>
<a class="dropdown-toggle" href="#">
<i class="fa fa-signal"></i>
<span>Charts</span> <b class="caret"></b>
</a>
<ul class="submenu">
<li><a href="flot.html">Flot Chart</a></li>
<li><a href="morris.html">Morris Chart</a></li>
</ul>
</li>
<li>
<a href="forms.html">
<i class="fa fa-pencil-square-o"></i>
<span>Forms</span>
</a>
</li>
<li>
<a class="dropdown-toggle" href="#">
<i class="fa fa-files-o"></i>
<span>Other Pages</span> <b class="caret"></b>
</a>
<ul class="submenu">
<li><a href="profile.html">Profile Page</a></li>
<li><a href="signin.html">Sign in</a></li>
<li><a href="register.html">Register</a></li>
</ul>
</li>
<li>
<a href="invoice.html">
<i class="fa fa-file-text-o"></i>
<span>Invoice</span>
</a>
</li>
</ul>
</div>
<!-- end sidebar -->
<!-- main container -->
<div class="content">
<div id="pad-wrapper">
<h4>Morris Chart</h4>
<!-- Line Chart -->
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading"><strong>Line Chart</strong></div>
<div class="panel-body">
<div id="line-example" style="width:100%;height: 250px;"></div>
</div>
</div>
</div>
<!-- /Line Chart -->
<!-- Donut Chart -->
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading"><strong>Donut Chart</strong></div>
<div class="panel-body">
<div id="donut-example" style="height: 250px;"></div>
</div>
</div>
</div>
<!-- /Donut Chart -->
<!-- Donut Chart -->
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading"><strong>Bar Chart</strong></div>
<div class="panel-body">
<div id="bar-example" style="height: 250px;"></div>
</div>
</div>
</div>
<!-- /Donut Chart -->
<div class="clearfix"></div>
<footer id="footer">
<div class="text-center clearfix">
<p><small>© myxdashboard 2014, Admin dashboard framework base on bootstrap</small>
<br /><br />
<a href="#" class="btn btn-xs btn-circle btn-twitter"><i class="fa fa-twitter"></i></a>
<a href="#" class="btn btn-xs btn-circle btn-facebook"><i class="fa fa-facebook"></i></a>
<a href="#" class="btn btn-xs btn-circle btn-gplus"><i class="fa fa-google-plus"></i></a>
</p>
</div>
</footer>
</div><!-- /pad-wrapper -->
</div><!-- content -->
<!-- /main container -->
<!-- scripts -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/theme.js"></script>
<script src="js/morris/raphael-min.js"></script>
<script src="js/morris/morris.min.js"></script>
<script type="text/javascript">
new Morris.Donut({
element: 'donut-example',
data: [
{label: "Download Sales", value: 12},
{label: "In-Store Sales", value: 30},
{label: "Mail-Order Sales", value: 20}
]
});
new Morris.Bar({
element: 'bar-example',
data: [
{ y: '2006', a: 100, b: 90 },
{ y: '2007', a: 75, b: 65 },
{ y: '2008', a: 50, b: 40 },
{ y: '2009', a: 75, b: 65 },
{ y: '2010', a: 50, b: 40 },
{ y: '2011', a: 75, b: 65 },
{ y: '2012', a: 100, b: 90 }
],
xkey: 'y',
ykeys: ['a', 'b'],
labels: ['Series A', 'Series B']
});
new Morris.Line({
element: 'line-example',
data: [
{ y: '2006', a: 100, b: 90 },
{ y: '2007', a: 75, b: 65 },
{ y: '2008', a: 50, b: 40 },
{ y: '2009', a: 75, b: 65 },
{ y: '2010', a: 50, b: 40 },
{ y: '2011', a: 75, b: 65 },
{ y: '2012', a: 100, b: 90 }
],
xkey: 'y',
ykeys: ['a', 'b'],
labels: ['Series A', 'Series B']
});
</script>
</body>
</html>