-
Notifications
You must be signed in to change notification settings - Fork 1
/
notifications.html
391 lines (386 loc) · 14.1 KB
/
notifications.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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Notifications - Ready Bootstrap Dashboard</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
<link rel="stylesheet" href="assets/css/ready.css">
<link rel="stylesheet" href="assets/css/demo.css">
</head>
<body>
<div class="wrapper">
<div class="main-header">
<div class="logo-header">
<a href="index.html" class="logo">
Ready Dashboard
</a>
<button class="navbar-toggler sidenav-toggler ml-auto" type="button" data-toggle="collapse" data-target="collapse" aria-controls="sidebar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<button class="topbar-toggler more"><i class="la la-ellipsis-v"></i></button>
</div>
<nav class="navbar navbar-header navbar-expand-lg">
<div class="container-fluid">
<form class="navbar-left navbar-form nav-search mr-md-3" action="">
<div class="input-group">
<input type="text" placeholder="Search ..." class="form-control">
<div class="input-group-append">
<span class="input-group-text">
<i class="la la-search search-icon"></i>
</span>
</div>
</div>
</form>
<ul class="navbar-nav topbar-nav ml-md-auto align-items-center">
<li class="nav-item dropdown hidden-caret">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="la la-envelope"></i>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
<li class="nav-item dropdown hidden-caret">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="la la-bell"></i>
<span class="notification">3</span>
</a>
<ul class="dropdown-menu notif-box" aria-labelledby="navbarDropdown">
<li>
<div class="dropdown-title">You have 4 new notification</div>
</li>
<li>
<div class="notif-center">
<a href="#">
<div class="notif-icon notif-primary"> <i class="la la-user-plus"></i> </div>
<div class="notif-content">
<span class="block">
New user registered
</span>
<span class="time">5 minutes ago</span>
</div>
</a>
<a href="#">
<div class="notif-icon notif-success"> <i class="la la-comment"></i> </div>
<div class="notif-content">
<span class="block">
Rahmad commented on Admin
</span>
<span class="time">12 minutes ago</span>
</div>
</a>
<a href="#">
<div class="notif-img">
<img src="assets/img/profile2.jpg" alt="Img Profile">
</div>
<div class="notif-content">
<span class="block">
Reza send messages to you
</span>
<span class="time">12 minutes ago</span>
</div>
</a>
<a href="#">
<div class="notif-icon notif-danger"> <i class="la la-heart"></i> </div>
<div class="notif-content">
<span class="block">
Farrah liked Admin
</span>
<span class="time">17 minutes ago</span>
</div>
</a>
</div>
</li>
<li>
<a class="see-all" href="javascript:void(0);"> <strong>See all notifications</strong> <i class="la la-angle-right"></i> </a>
</li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="dropdown-toggle profile-pic" data-toggle="dropdown" href="#" aria-expanded="false"> <img src="assets/img/profile.jpg" alt="user-img" width="36" class="img-circle"><span >Hizrian</span></span> </a>
<ul class="dropdown-menu dropdown-user">
<li>
<div class="user-box">
<div class="u-img"><img src="assets/img/profile.jpg" alt="user"></div>
<div class="u-text">
<h4>Hizrian</h4>
<p class="text-muted">[email protected]</p><a href="profile.html" class="btn btn-rounded btn-danger btn-sm">View Profile</a></div>
</div>
</li>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#"><i class="ti-user"></i> My Profile</a>
<a class="dropdown-item" href="#"></i> My Balance</a>
<a class="dropdown-item" href="#"><i class="ti-email"></i> Inbox</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#"><i class="ti-settings"></i> Account Setting</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#"><i class="fa fa-power-off"></i> Logout</a>
</ul>
<!-- /.dropdown-user -->
</li>
</ul>
</div>
</nav>
</div>
<div class="sidebar">
<div class="scrollbar-inner sidebar-wrapper">
<div class="user">
<div class="photo">
<img src="assets/img/profile.jpg">
</div>
<div class="info">
<a class="" data-toggle="collapse" href="#collapseExample" aria-expanded="true">
<span>
Hizrian
<span class="user-level">Administrator</span>
<span class="caret"></span>
</span>
</a>
<div class="clearfix"></div>
<div class="collapse in" id="collapseExample" aria-expanded="true" style="">
<ul class="nav">
<li>
<a href="#profile">
<span class="link-collapse">My Profile</span>
</a>
</li>
<li>
<a href="#edit">
<span class="link-collapse">Edit Profile</span>
</a>
</li>
<li>
<a href="#settings">
<span class="link-collapse">Settings</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<ul class="nav">
<li class="nav-item">
<a href="index.html">
<i class="la la-dashboard"></i>
<p>Dashboard</p>
<span class="badge badge-count">5</span>
</a>
</li>
<li class="nav-item">
<a href="components.html">
<i class="la la-table"></i>
<p>Components</p>
<span class="badge badge-count">14</span>
</a>
</li>
<li class="nav-item">
<a href="forms.html">
<i class="la la-keyboard-o"></i>
<p>Forms</p>
<span class="badge badge-count">50</span>
</a>
</li>
<li class="nav-item">
<a href="tables.html">
<i class="la la-th"></i>
<p>Tables</p>
<span class="badge badge-count">6</span>
</a>
</li>
<li class="nav-item active">
<a href="notifications.html">
<i class="la la-bell"></i>
<p>Notifications</p>
<span class="badge badge-success">3</span>
</a>
</li>
<li class="nav-item">
<a href="typography.html">
<i class="la la-font"></i>
<p>Typography</p>
<span class="badge badge-danger">25</span>
</a>
</li>
<li class="nav-item">
<a href="icons.html">
<i class="la la-fonticons"></i>
<p>Icons</p>
</a>
</li>
<li class="nav-item update-pro">
<button data-toggle="modal" data-target="#modalUpdate">
<i class="la la-hand-pointer-o"></i>
<p>Update To Pro</p>
</button>
</li>
</ul>
</div>
</div>
<div class="main-panel">
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Notifications</h4>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<div class="card-title">Bootstrap Notify</div>
<div class="card-category">Turn standard bootstrap alerts into "growl" like notifications from <a class="link" href="http://bootstrap-notify.remabledesigns.com/">Bootstrap Notify</a></div>
</div>
<div class="card-body">
<div class="form">
<div class="form-group from-show-notify row">
<div class="col-lg-3 col-md-3 col-sm-12 text-right">
<label>Placement :</label>
</div>
<div class="col-lg-4 col-md-9 col-sm-12">
<select class="form-control input-fixed" id="notify_placement_from">
<option value="top">Top</option>
<option value="bottom">Bottom</option>
</select>
<select class="form-control input-fixed" id="notify_placement_align">
<option value="left">Left</option>
<option value="right" selected="">Right</option>
<option value="center">Center</option>
</select>
</div>
</div>
<div class="form-group from-show-notify row">
<div class="col-lg-3 col-md-3 col-sm-12 text-right">
<label>State :</label>
</div>
<div class="col-lg-4 col-md-9 col-sm-12">
<select class="form-control input-fixed" id="notify_state">
<option value="primary">Primary</option>
<option value="info">Info</option>
<option value="success">Success</option>
<option value="warning">Warning</option>
<option value="danger">Danger</option>
</select>
</div>
</div>
<div class="form-group from-show-notify row">
<div class="col-lg-3 col-md-3 col-sm-12 text-right">
<label>Style :</label>
</div>
<div class="col-lg-4 col-md-9 col-sm-12">
<select class="form-control input-fixed" id="notify_style">
<option value="plain">Plain</option>
<option value="withicon">With Icon</option>
</select>
</div>
</div>
</div>
</div>
<div class="card-footer">
<div class="form">
<div class="form-group from-show-notify row">
<div class="col-lg-3 col-md-3 col-sm-12">
</div>
<div class="col-lg-4 col-md-9 col-sm-12">
<button id="displayNotif" class="btn btn-success">Display</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container-fluid">
<nav class="pull-left">
<ul class="nav">
<li class="nav-item">
<a class="nav-link" href="http://www.themekita.com">
ThemeKita
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
Help
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
Licenses
</a>
</li>
</ul>
</nav>
<div class="copyright ml-auto">
2018, made with <i class="la la-heart heart text-danger"></i> by <a href="http://www.themekita.com">ThemeKita</a>
</div>
</div>
</footer>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="modalUpdate" tabindex="-1" role="dialog" aria-labelledby="modalUpdatePro" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header bg-primary">
<h6 class="modal-title"><i class="la la-frown-o"></i> Under Development</h6>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body text-center">
<p>Currently the pro version of the <b>Ready Dashboard</b> Bootstrap is in progress development</p>
<p>
<b>We'll let you know when it's done</b></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
<script src="assets/js/core/jquery.3.2.1.min.js"></script>
<script src="assets/js/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
<script src="assets/js/core/popper.min.js"></script>
<script src="assets/js/core/bootstrap.min.js"></script>
<script src="assets/js/plugin/chartist/chartist.min.js"></script>
<script src="assets/js/plugin/chartist/plugin/chartist-plugin-tooltip.min.js"></script>
<script src="assets/js/plugin/bootstrap-notify/bootstrap-notify.min.js"></script>
<script src="assets/js/plugin/bootstrap-toggle/bootstrap-toggle.min.js"></script>
<script src="assets/js/plugin/jquery-mapael/jquery.mapael.min.js"></script>
<script src="assets/js/plugin/jquery-mapael/maps/world_countries.min.js"></script>
<script src="assets/js/plugin/chart-circle/circles.min.js"></script>
<script src="assets/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>
<script src="assets/js/ready.min.js"></script>
<script>
$('#displayNotif').on('click', function(){
var placementFrom = $('#notify_placement_from option:selected').val();
var placementAlign = $('#notify_placement_align option:selected').val();
var state = $('#notify_state option:selected').val();
var style = $('#notify_style option:selected').val();
var content = {};
content.message = 'Turning standard Bootstrap alerts into "notify" like notifications';
content.title = 'Bootstrap notify';
if (style == "withicon") {
content.icon = 'la la-bell';
} else {
content.icon = 'none';
}
content.url = 'index.html';
content.target = '_blank';
$.notify(content,{
type: state,
placement: {
from: placementFrom,
align: placementAlign
},
time: 1000,
});
});
</script>
</html>