-
Notifications
You must be signed in to change notification settings - Fork 0
/
scheduels.html
593 lines (566 loc) · 38.9 KB
/
scheduels.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
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Water Project</title>
<!-- plugins:css -->
<link rel="stylesheet" href="vendors/iconfonts/mdi/css/materialdesignicons.min.css">
<link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
<link rel="stylesheet" href="vendors/css/vendor.bundle.addons.css">
<!-- endinject -->
<!-- plugin css for this page -->
<!-- End plugin css for this page -->
<!-- inject:css -->
<link rel="stylesheet" href="css/style.css">
<!-- endinject -->
<link rel="shortcut icon" href="images/favicon.png" />
</head>
<body>
<div class="container-scroller">
<!-- partial:partials/_navbar.html -->
<nav class="navbar default-layout col-lg-12 col-12 p-0 fixed-top d-flex flex-row">
<div class="text-center navbar-brand-wrapper d-flex align-items-top justify-content-center">
<a class="navbar-brand brand-logo" href="index.html">
<h4 class="text-dark text-center mt-2"> Water project</h4>
</a>
<a class="navbar-brand brand-logo-mini" href="index.html">
<h4 class="text-dark text-center mt-2">Water</h4>
</a>
</div>
<div class="navbar-menu-wrapper d-flex align-items-center">
<ul class="navbar-nav navbar-nav-right">
<li class="nav-item dropdown d-none d-xl-inline-block">
<a class="nav-link dropdown-toggle" id="UserDropdown" href="#" data-toggle="dropdown" aria-expanded="false">
<span class="profile-text">Hello !</span>
<i class="mdi mdi-account-outline mr-0 text-white"></i>
</a>
<div class="dropdown-menu dropdown-menu-right navbar-dropdown" aria-labelledby="UserDropdown">
<a class="dropdown-item p-0">
<div class="py-3 px-4 d-flex align-items-center justify-content-center border-left border-right">
<i class="mdi mdi-account-outline mr-0 text-black"></i>Super Admin
</div>
</a>
<a class="dropdown-item mt-2">
Manage Accounts
</a>
<a class="dropdown-item">
Sign Out
</a>
</div>
</li>
</ul>
<button class="navbar-toggler navbar-toggler-right d-lg-none align-self-center" type="button" data-toggle="offcanvas">
<span class="mdi mdi-menu"></span>
</button>
</div>
</nav>
<!-- partial -->
<div class="container-fluid page-body-wrapper">
<!-- partial:partials/_sidebar.html -->
<nav class="sidebar sidebar-offcanvas" id="sidebar">
<ul class="nav">
<li class="nav-item nav-profile">
<div class="nav-link">
<div class="user-wrapper">
<div class="profile-image">
<span style="font-size:2rem ; color:#5983e8;">
<i class="mdi mdi-account-outline "></i>
</span>
</div>
<div class="text-wrapper ">
<p class="profile-name">Super Admin</p>
<div>
<small class="designation text-muted">role</small>
<span class="status-indicator online"></span>
</div>
</div>
</div>
<p class="text-muted under-user-wrapper d-lg-none">to modify login in a desktop</p>
<a href="index.html" class="btn btn-success btn-block"> <i class="mdi mdi-home"></i> Home
</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="collapse" href="#ui-basic-0" aria-expanded="false" aria-controls="ui-basic-0">
<i class="menu-icon mdi mdi-map"></i>
<span class="menu-title">Routes</span>
<i class="menu-arrow"></i>
</a>
<div class="collapse" id="ui-basic-0">
<ul class="nav flex-column sub-menu">
<li class="nav-item">
<a class="nav-link" href="routes.html">Routes</a>
</li>
<li class="nav-item">
<a class="nav-link" href="scheduels.html">Scheduels</a>
</li>
<li class="nav-item">
<a class="nav-link" href="readings.html">Readings</a>
</li>
</ul>
</div>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="collapse" href="#ui-basic-2" aria-expanded="false" aria-controls="ui-basic-2">
<i class="menu-icon mdi mdi-speedometer"></i>
<span class="menu-title">Meters</span>
<i class="menu-arrow"></i>
</a>
<div class="collapse" id="ui-basic-2">
<ul class="nav flex-column sub-menu">
<li class="nav-item">
<a class="nav-link" href="meter/region.html">Regions</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/Zones.html">Zones</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/Activemeters.html">Active Meters</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/cutoff.html">Cut Off</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/removedmeters.html">Removed Meters</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/stockmeters.html">Stock Meters</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/Subscribers.html">Subscribers</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/Modifiedsubscribers.html">Modified Subscribers</a>
</li>
<li class="nav-item">
<a class="nav-link" href="meter/ExportDataandBilling.html">Export Data and Billing</a>
</li>
</ul>
</div>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="collapse" href="#ui-basic-1" aria-expanded="false" aria-controls="ui-basic-1">
<i class="menu-icon mdi mdi-calendar-check"></i>
<span class="menu-title">Tasks</span>
<i class="menu-arrow"></i>
</a>
<div class="collapse" id="ui-basic-1">
<ul class="nav flex-column sub-menu">
<li class="nav-item">
<a class="nav-link" href="tasks/all.html">All Tasks</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tasks/expired.html">Expired Tasks</a>
</li>
</ul>
</div>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="collapse" href="#ui-basic-3" aria-expanded="false" aria-controls="ui-basic-3">
<i class="menu-icon mdi mdi-finance"></i>
<span class="menu-title">Statistics</span>
<i class="menu-arrow"></i>
</a>
<div class="collapse" id="ui-basic-3">
<ul class="nav flex-column sub-menu">
<li class="nav-item">
<a class="nav-link" href="statistics/readers.html">Readers Statistics</a>
</li>
<li class="nav-item">
<a class="nav-link" href="statistics/workers.html">Workers Statistics</a>
</li>
</ul>
</div>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="collapse" href="#ui-basic-4" aria-expanded="false" aria-controls="ui-basic-4">
<i class="menu-icon mdi mdi-tune"></i>
<span class="menu-title">Admin</span>
<i class="menu-arrow"></i>
</a>
<div class="collapse" id="ui-basic-4">
<ul class="nav flex-column sub-menu">
<li class="nav-item">
<a class="nav-link" href="admin/users.html">Users</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/permissions.html">Permissions</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/groups.html">Groups</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/lookups.html">Lookups</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/settings.html">Settings</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/action.html">Action Logs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/exception.html">>Exception Logs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/uploads.html">Uploads</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/connected.html">Connected Devices</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/addmobile.html">Add Mobile App Version</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/download.html">Download Mobile App</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/intervention.html">Intervention Problems</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/flow.html">Flow Consumption</a>
</li>
<li class="nav-item">
<a class="nav-link" href=""></a>
</li>
</ul>
</div>
</li>
</ul>
</nav>
<!-- partial -->
<div class="main-panel">
<div class="row">
<div class="my-3 ml-4 col-md-6 text-left">
<h4 class="text-warning"><i class="mdi mdi-clock-fast "></i> List of All Schedules <i class="mdi mdi-clock-fast "></i></h4>
</div>
<div class="col-md-5 my-3 mr-3 ">
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header bg-light p-0 w-50 ml-5" id="headingOne">
<h5 class="mb-0 ">
<button class="btn btn-light" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Create a new schedule <i class="mdi mdi-folder-plus text-warning"></i>
</button>
</h5>
</div>
<div id="collapseOne" class="collapse " aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
<a href="index.html" class="btn btn-light" data-toggle="modal" id="metermodal">
By a meter connection </a><br>
<a href="index.html" class="btn btn-light m-1" data-toggle="modal" id="routemodal">
By a route </a>
</div>
</div>
</div>
</div>
<!-- The Modal -->
<div class="modal fade" id="myModal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title" id="modaltitle"></h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<div class="row">
<div class="col-lg-6">
<iframe width="100%" height="100%" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/search?key=AIzaSyAOnTlOzIFZULGt3e1jVPYMHyUappa__gY&q=Beirut"
allowfullscreen>
</iframe>
</div>
<div class="col-lg-6">
<h4> Apply filter </h4>
<form class="mt-3 border-bottom border-secondary pb-2">
<div class="form-row">
<div class="form-group col-md-6">
<label for="RegionsLable">Regions</label>
<select class="form-control" id="regionSelect">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="form-group col-md-6">
<label for="ZonesLabel">Zones</label>
<select class="form-control" id="zoneSelect">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="Tagslabel">Routes</label>
<select class="form-control" id="RoutesSelect">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="form-group col-md-6">
<label for="Tagslabel">Assigned To*</label>
<select class="form-control" id="usersSelect" >
<option>select a user</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div>
<div class="form-row" id="meterdiv">
<div class="form-group col-md-6">
<label for="Tagslabel">Tags</label>
<select class="form-control" id="usersSelect" >
<option>select</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="form-group col-md-6">
<label for="NameLable">Meter Serial or Customer #</label>
<input type="text" id="Nameinput" class="form-control" placeholder="" />
</div>
</div>
<div class="row">
<div class="col-6">
<p>Selected meter: 0</p>
</div>
<div class="text-right col-6"> <button class="btn btn-dark" type="reset">Reset</button>
<button class="btn btn-primary" type="submit">Apply</button>
</div>
</div>
</form>
<h4 class="mt-2">Route Details</h4>
<form class="mt-2">
<div class="form-row">
<div class="form-group col-md-6">
<label for="NameLable">Name</label>
<input type="text" id="Nameinput" class="form-control" placeholder="" required />
</div>
<div class="form-group col-md-6">
<label for="NoteLable">Reference</label>
<input type="text" id="Referenceinput" class="form-control" placeholder="" required />
</div>
</div>
<div class="form-row">
<div class="col-md-6">
<P class="display-5">Number of Meters<p>
</div>
<div class="col-md-6">
<p class="display-5">Route</p>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="NameLable">Date</label>
<input class="form-control" type="date" value="2011-08-19" id="fdate-input">
</div>
<div class="form-group col-md-6">
<label for="NameLable">Date</label>
<input class="form-control" type="date" value="2011-08-19" id="ldate-input">
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="NameLable">note</label>
<input type="text" id="Nameinput" class="form-control" placeholder="" required />
</div>
<div class="form-group col-md-6">
<label for="NoteLable">repeate after</label>
<input type="number" min="0" id="Referenceinput" class="form-control" placeholder="" required />
</div>
</div>
<div class="text-right">
<button class="btn btn-primary" type="submit">Submit</button>
</div>
</form>
</div>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content-wrapper">
<!-- content -->
<div class=" grid-margin stretch-card">
<div class="card">
<div class="card-body row">
<div class="table-responsive">
<table class="table table-hover table-striped " id="dt">
<thead>
<tr> <th>Assigned To</th>
<th>Region name</th>
<th>From</th>
<th>To</th>
<th>Name</th>
<th>Readings</th>
<th>Route</th>
<th>Mofified on</th>
<th>Active</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td>xyz </td>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td><label class="badge badge-success">active</label> </td>
<td> <a href="index.html" class="mx-3 my-2" data-toggle="modal" data-target="#myModal">
View </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
clone </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
edit </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
view readings </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal3">
<i class="mdi mdi-delete-empty text-danger"></i> </a>
</td>
</tr>
<tr>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td>xyz </td>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td><label class="badge badge-success">active</label> </td>
<td> <a href="index.html" class="mx-3 my-2" data-toggle="modal" data-target="#myModal">
View </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
clone </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
edit </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
view readings </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal3">
<i class="mdi mdi-delete-empty text-danger"></i> </a>
</td>
</tr>
<tr>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td>xyz </td>
<td>xyz</td>
<td>xyz</td>
<td>xyz</td>
<td><label class="badge badge-success">active</label> </td>
<td> <a href="index.html" class="mx-3 my-2" data-toggle="modal" data-target="#myModal">
View </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
clone </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
edit </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal">
view readings </a>
<a href="index.html" class="mx-3 my-2 " data-toggle="modal" data-target="#myModal3">
<i class="mdi mdi-delete-empty text-danger"></i> </a>
</td>
</tr>
<!-- The Modal -->
<div class="modal fade" id="myModal3">
<div class="modal-dialog modal-md">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title"> Delete Schedule:</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body mx-5">
<p class="text-danger">Are you sure you want to delete this? You cannot undo your deletion!</p>
<div class="row">
<div class="col-8">
<p>Note</p>
<p> Created On 12/8/2018 10:20:13 AM</p>
<p> Modified On 12/8/2018 10:20:13 AM</p>
<p> Modified By superadmin</p>
<p> Created By superadmin </p>
</div>
<div class="col-4">
<div class="display-1">
<i class="mdi mdi-delete-empty text-danger "></i>
</div>
</div>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Delete</button>
<button type="button" class="btn btn-success" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- content -->
</div>
<!-- content-wrapper ends -->
<footer class="footer">
<div class="container-fluid clearfix">
<span class="text-muted d-block text-center text-sm-left d-sm-inline-block">Copyright © 2018
<a href="http://www.ebml.gov.lb/english/home" target="_blank">Obeo Water powered by Scrumium</a>. All rights reserved.</span>
<span class="float-none float-sm-right d-block mt-1 mt-sm-0 text-center">
<i class="mdi mdi-heart text-danger"></i>
</span>
</div>
</footer>
<!-- partial -->
</div>
<!-- main-panel ends -->
</div>
<!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="vendors/js/vendor.bundle.base.js"></script>
<script src="vendors/js/vendor.bundle.addons.js"></script>
<!-- endinject -->
<!-- Plugin js for this page-->
<script src="table.js"></script>
<script src="editmodalscheduels.js"></script>
<!-- End plugin js for this page-->
<!-- inject:js -->
<script src="js/off-canvas.js"></script>
<script src="js/misc.js"></script>
<!-- endinject -->
<!-- Custom js for this page-->
<script src="js/dashboard.js"></script>
<!-- End custom js for this page-->
</body>
</html>