-
Notifications
You must be signed in to change notification settings - Fork 50
/
route.html
246 lines (242 loc) · 13.7 KB
/
route.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title></title>
<link rel="stylesheet" href="dist/css/style.css" type="text/css" />
<link rel="stylesheet" href="vendors/jquery/jquery-ui.min.css" type="text/css" />
<link rel="shortcut icon" href="favicon.ico">
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
<style>
.ui-autocomplete-input,
.ui-menu,
.ui-menu-item {
z-index: 2006;
}
</style>
</head>
<body>
<div class="preloader-it">
<div class="loader-pendulums"></div>
</div>
<div class="hk-wrapper hk-vertical-nav">
<nav class="navbar navbar-expand-xl navbar-light fixed-top hk-navbar">
<a id="navbar_toggle_btn" class="navbar-toggle-btn nav-link-hover" href="javascript:void(0);"><span
class="feather-icon"><i data-feather="menu"></i></span></a>
<a class="navbar-brand" href="./">
<img class="brand-img d-inline-block" src="dist/img/logo-light.png" alt="brand" height="40" />
</a>
<ul class="navbar-nav hk-navbar-content">
<li class="nav-item dropdown dropdown-authentication">
<a class="nav-link dropdown-toggle no-caret" href="#" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<div class="media">
<div class="media-img-wrap">
<div class="avatar">
<img src="dist/img/users/no_foto.jpg" alt="user"
class="avatar-img rounded-circle user-image">
</div>
</div>
<div class="media-body">
<span><span class="user_users"></span> <i class="zmdi zmdi-chevron-down"></i></span>
</div>
</div>
</a>
<div class="dropdown-menu dropdown-menu-right" data-dropdown-in="flipInX"
data-dropdown-out="flipOutX">
<a class="dropdown-item" href="profile.html">
<i class="dropdown-icon zmdi zmdi-account"></i>
<span>Profile</span>
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item logout" href="javascript:void(0);"><i
class="dropdown-icon zmdi zmdi-power"></i><span>Logout</span></a>
</div>
</li>
</ul>
</nav>
<nav class="hk-nav hk-nav-light">
<a href="javascript:void(0);" id="hk_nav_close" class="hk-nav-close"><span class="feather-icon"><i
data-feather="x"></i></span></a>
<div class="nicescroll-bar">
<div class="navbar-nav-wrap">
<ul class="navbar-nav flex-column">
<li class="nav-item">
<a class="nav-link" href="./">
<i class="material-icons">home</i>
<span class="nav-link-text">Dashboard</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="javascript:void(0);" data-toggle="collapse"
data-target="#page_account">
<i class="material-icons">account_box</i>
<span class="nav-link-text">My Account</span>
</a>
<ul id="page_account" class="nav flex-column collapse collapse-level-1">
<li class="nav-item">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link" href="profile.html">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link logout" href="javascript:void(0);">Logout</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<hr class="nav-separator">
<div id="list-menu"></div>
</div>
</div>
</nav>
<div id="hk_nav_backdrop" class="hk-nav-backdrop"></div>
<div class="hk-pg-wrapper">
<nav class="hk-breadcrumb" aria-label="breadcrumb">
<ol class="breadcrumb breadcrumb-light bg-transparent">
<li class="breadcrumb-item"><a href="#">MikroTik</a></li>
<li class="breadcrumb-item active" aria-current="page">Route</li>
</ol>
</nav>
<div class="container">
<div class="hk-pg-header">
<h4 class="hk-pg-title">
<span class="pg-title-icon">
<span class="feather-icon"><i data-feather="share-2"></i></span>
</span>
Route List
</h4>
</div>
<div class="row">
<div class="col-xl-12">
<div class="card">
<div class="card-header">
<a href="#add-data" class="btn btn-info btn-sm" data-toggle="modal" data-value="0">
<i class="fa fa-plus"></i>
<span class="hidden-xs">Add</span>
</a>
<div class="pull-right mt-5">
<a href="javascript:void(0);" class="refresh-tabel"><i
class="fa fa-refresh"></i></a>
</div>
</div>
<div class="card-body">
<div class="form-group">
<select class="form-control" id="server">
<option value="">-- All Router --</option>
</select>
</div>
<div class="table-responsive mt-15">
<table id="tables" width="100%" class="table table-hover table-striped dataTable">
<thead>
<tr>
<th>Router</th>
<th>Address</th>
<th>Gateway</th>
<th>Distance</th>
<th>Routing</th>
<th>Action</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="add-data" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<form class="modal-content" id="form-data" method="POST" action="route">
<div class="modal-header">
<h5 class="modal-title">Form Route</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="router">Router <span class="symbol required"></span></label>
<select class="form-control" id="router" name="router" required>
<option value="">-- Select Data --</option>
</select>
</div>
<div class="form-group">
<label for="address">Dst Address <span class="symbol required"></span></label>
<input type="text" class="form-control" id="address" name="dst-address"
value="0.0.0.0/0" required>
</div>
<div class="form-group">
<label for="gateway">Gateway <span class="symbol required"></span></label>
<input type="text" class="form-control" id="gateway" name="gateway"
placeholder="Gateway" required>
</div>
<div class="row">
<div class="form-group col-md-4">
<label for="distance">Distance <span class="symbol required"></span></label>
<input type="number" class="form-control" id="distance" name="distance"
value="1" min="1" required>
</div>
<div class="form-group col-md-4">
<label for="scope">Scope <span class="symbol required"></span></label>
<input type="number" class="form-control" id="scope" name="scope" value="30"
min="0" required>
</div>
<div class="form-group col-md-4">
<label for="target">Target Scope <span class="symbol required"></span></label>
<input type="number" class="form-control" id="target" name="target-scope"
value="10" min="0" required>
</div>
</div>
<div class="form-group">
<label for="mark">Routing Mark </label>
<select class="form-control" id="mark" name="routing-mark">
<option value="">-- None --</option>
</select>
</div>
<div class="form-group">
<label for="comment">Comment</label>
<textarea class="form-control" id="comment" name="comment"
placeholder="Comment..."></textarea>
</div>
</div>
<div class="modal-footer">
<div class="mr-auto">
<input type="checkbox" id="status" name="status" checked data-toggle="toggle"
data-size="small" data-onstyle="success" data-offstyle="danger" value="true">
</div>
<button type="button" class="btn btn-secondary" data-dismiss="modal"><i
class="fa fa-close"></i>
Close</button>
<button type="submit" id="id" name="id" value="0" class="btn btn-blue"> <i
class="fa fa-save"></i> Save</button>
</div>
</form>
</div>
</div>
</div>
<div class="hk-footer-wrap container" data-include="menu/footer.html"></div>
</div>
</div>
<script src="vendors/jquery/dist/jquery.min.js"></script>
<script src="vendors/jquery/jquery-ui.min.js"></script>
<script src="vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="vendors/datatables/js/jquery.dataTables.min.js"></script>
<script src="vendors/datatables/js/dataTables.bootstrap4.min.js"></script>
<script src="vendors/datatables/js/dataTables.responsive.min.js"></script>
<script src="vendors/bootstrap-toggle/bootstrap4-toggle.min.js"></script>
<script src="vendors/validation/jquery.validate.min.js"></script>
<script src="vendors/jquery-cookie/jquery.cookie.js"></script>
<script src="vendors/jquery-toast/jquery.toast.js"></script>
<script src="vendors/sweetalert/sweetalert.min.js"></script>
<script src="vendors/slimscroll/jquery.slimscroll.js"></script>
<script src="vendors/bootstrap/dropdown-extended.js"></script>
<script src="dist/js/feather.min.js"></script>
<script src="dist/js/controls.js"></script>
<script src="dist/js/init.js"></script>
<script src="dist/js/route.js"></script>
</body>
</html>