-
Notifications
You must be signed in to change notification settings - Fork 50
/
profiles.html
305 lines (301 loc) · 19.9 KB
/
profiles.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
<!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.theme.min.css" type="text/css" />
<link rel="shortcut icon" href="favicon.ico">
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
</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="#">Radius</a></li>
<li class="breadcrumb-item active" aria-current="page">Form Users</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="package"></i></span>
</span>
Users Profiles
</h4>
</div>
<div class="row">
<div class="col-xl-12">
<div class="card">
<div class="card-header">
<a class="btn btn-info btn-sm" href="#add-data" data-toggle="modal" data-value="-1">
<i class="fa fa-plus"></i> Add
</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="table-responsive">
<table id="tables" width="100%" class="table table-hover table-striped dataTable">
<thead>
<tr>
<th>Name</th>
<th>Shared</th>
<th>Rate</th>
<th>Price</th>
<th>Discount</th>
<th width="10%">Act</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<div class="modal fade" id="add-data" aria-hidden="true">
<div class="modal-dialog">
<form class="modal-content" id="form-data" action="profiles" method="POST">
<div class="modal-header">
<h5 class="modal-title">Form Profiles</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="groupname">
Profile Name <span class="symbol required"></span>
</label>
<div class="input-group">
<input type="text" class="form-control" id="groupname" name="groupname"
placeholder="Profile Name" required>
<div class="input-group-append">
<label class="input-group-text">
<input type="checkbox" id="checkPPP"> PPP
<input type="hidden" id="ppp" name="radgroupreply[]">
<input type="hidden" name="attribut[]" value="Framed-Protocol">
</label>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label for="shared">Shared User
<a data-toggle="tooltip" data-placement="top"
data-original-title="Shared user are any resource that uses a single pair of credentials to authenticate multiple users.">
<i class="fa fa-question-circle"></i>
</a>
</label>
<input type="number" min="1" class="form-control" id="shared"
name="radgroupcheck[]" value="" placeholder="1">
<input type="hidden" name="attribute[]" value="Simultaneous-Use">
</div>
<div class="form-group col-md-4">
<label for="price">Price</label>
<input type="number" min="0" class="form-control" id="price"
name="price" placeholder="Price">
</div>
<div class="form-group col-md-4">
<label for="discount">Discount</label>
<input type="number" min="0" class="form-control" id="discount"
name="discount" placeholder="Discount">
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label for="period">Access Priod
<a data-toggle="tooltip" data-placement="top"
data-original-title="A users can login for the specified period"><i
class="fa fa-question-circle"></i></a>
</label>
<div class="input-group">
<input type="number" class="form-control period" id="period"
name="radgroupcheck[]" placeholder="Access Priod" readonly>
<input type="hidden" name="attribute[]" value="Access-Period">
</div>
</div>
<div class="form-group col-md-4">
<label for="time">Many Time
<a data-toggle="tooltip" data-placement="top"
data-original-title="A user can login as many times as needed but can be online for the specified time"><i
class="fa fa-question-circle"></i></a>
</label>
<input type="number" id="times" name="radgroupcheck[]"
class="form-control" placeholder="Many Times" readonly>
<input type="hidden" name="attribute[]" value="Max-All-Session">
</div>
<div class="form-group col-md-4">
<label for="daily">Per Day
<a data-toggle="tooltip" data-placement="top"
data-original-title="A user with User-Name test123 has online time limit of 3 hours per day"><i
class="fa fa-question-circle"></i></a>
</label>
<div class="input-group">
<input type="number" id="daily" name="radgroupcheck[]"
class="form-control" placeholder="Per Day" readonly>
<input type="hidden" name="attribute[]" value="Max-Daily-Session">
</div>
</div>
</div>
<div class="row">
<div class="form-group col-md-7">
<label for="rate">
Rate Limit
<a data-toggle="tooltip" data-placement="top"
data-original-title="1.rx-rate/tx-rate 2.rx-burst-rate/tx-burst-rate 3.rx-burst-threshold/tx-burst-threshold 4.rx-burst-time/tx-burst-time">
<i class="fa fa-question-circle"></i>
</a>
</label>
<input type="text" class="form-control UpperCase" id="rate"
name="radgroupreply[]" placeholder="512K/1M 3M/4M 2M/3M 8/8">
<input type="hidden" name="attribut[]" value="Mikrotik-Rate-Limit">
</div>
<div class="form-group col-md-5">
<label for="quota">Quota Limit
<a data-toggle="tooltip" data-placement="top"
data-original-title="(B) Bytes, (KB) KiloBytes, (MB) MegaBytes, (GB) GigaBytes, (TB) TeraBytes">
<i class="fa fa-question-circle"></i>
</a>
</label>
<div class="input-group">
<input type="number" min="0" id="quota_numb" class="form-control"
placeholder="1">
<input type="hidden" id="quota" name="radgroupreply[]">
<input type="hidden" name="attribut[]" value="Mikrotik-Total-Limit">
<input type="hidden" id="volume" name="radgroupcheck[]">
<input type="hidden" name="attribute[]" value="Max-Data">
<div class="input-group-append">
<select class="custom-select custom-select-md" id="quota_code">
<option value="B">B</option>
<option value="KB">KB</option>
<option value="MB">MB</option>
<option value="GB">GB</option>
<option value="TB">TB</option>
</select>
</div>
</div>
</div>
</div>
<div class="form-group">
<label for="description">Description</label>
<textarea class="form-control" id="description" name="description"
placeholder="Description..."></textarea>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal"><i
class="fa fa-close"></i>
Close</button>
<button type="submit" id="profiles" name="id" value="-1" class="btn btn-blue">
<i class="fa fa-save"></i> Save</button>
</div>
</form>
</div>
</div>
</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/durationpicker/duration-picker.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/profiles.js"></script>
</body>
</html>