1 |
diff -urN smeserver-manager-AdminLTE-0.1.0.old/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/layouts/default.html.ep smeserver-manager-AdminLTE-0.1.0/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/layouts/default.html.ep |
2 |
--- smeserver-manager-AdminLTE-0.1.0.old/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/layouts/default.html.ep 2020-03-24 07:58:27.978274997 +0000 |
3 |
+++ smeserver-manager-AdminLTE-0.1.0/root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/layouts/default.html.ep 2020-03-23 18:54:00.000000000 +0000 |
4 |
@@ -6,253 +6,260 @@ |
5 |
<head> |
6 |
<title><%= $title %></title> |
7 |
<link rev="made" href="mailto:bugs%40koozali.org"> |
8 |
- <meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation"> |
9 |
- |
10 |
+ <meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation"> |
11 |
<meta charset="utf-8"> |
12 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
13 |
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
14 |
<!-- Font Awesome Icons --> |
15 |
%= stylesheet "plugins/fontawesome-free/css/all.min.css" |
16 |
+ <!-- SME CSS --> |
17 |
+ %= stylesheet "css/sme core.css" |
18 |
+ %= stylesheet "css/sme main.css" |
19 |
+ %= stylesheet "css/styles.css" |
20 |
+ %= include 'partials/_head' |
21 |
<!-- Theme style --> |
22 |
%= stylesheet "dist/css/adminlte.min.css" |
23 |
%= stylesheet "server-manager2.css" |
24 |
<!-- Google Font: Source Sans Pro --> |
25 |
- <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> |
26 |
- <!-- SME CSS --> |
27 |
- <!--%= stylesheet "css/sme core.css"--> |
28 |
- <!--%= stylesheet "css/sme main.css"--> |
29 |
- <!--%= stylesheet "css/styles.css"--> |
30 |
- %= include 'partials/_head' |
31 |
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> |
32 |
</head> |
33 |
|
34 |
-<body class="hold-transition sidebar-mini"> |
35 |
- %= include 'partials/_header' |
36 |
- % if ( not defined $c->session->{lang} ) { |
37 |
- % SrvMngr::init_session_cgi ( $c ); |
38 |
- % } |
39 |
-<div class="wrapper"> |
40 |
- |
41 |
- <!-- Navbar --> |
42 |
- <nav class="main-header navbar navbar-expand navbar-white navbar-light"> |
43 |
- <!-- Left navbar links --> |
44 |
- <ul class="navbar-nav"> |
45 |
- <li class="nav-item"> |
46 |
- <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> |
47 |
- </li> |
48 |
- <li class="nav-item d-none d-sm-inline-block"> |
49 |
- <a href="/server-manager2/" class="nav-link">Home</a> |
50 |
- </li> |
51 |
- <li class="nav-item d-none d-sm-inline-block"> |
52 |
- <a href="mailto:bugs@koozali.org" class="nav-link">Contact</a> |
53 |
- </li> |
54 |
- </ul> |
55 |
- |
56 |
- <!-- SEARCH FORM --> |
57 |
- <form class="form-inline ml-3"> |
58 |
- <div class="input-group input-group-sm"> |
59 |
- <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search"> |
60 |
- <div class="input-group-append"> |
61 |
- <button class="btn btn-navbar" type="submit"> |
62 |
- <i class="fas fa-search"></i> |
63 |
- </button> |
64 |
- </div> |
65 |
- </div> |
66 |
- </form> |
67 |
- |
68 |
- <!-- Right navbar links --> |
69 |
- <ul class="navbar-nav ml-auto"> |
70 |
- <!-- Messages Dropdown Menu --> |
71 |
- <li class="nav-item dropdown"> |
72 |
- <!-- |
73 |
- <a class="nav-link" data-toggle="dropdown" href="#"> |
74 |
- <i class="far fa-comments"></i> |
75 |
- <span class="badge badge-danger navbar-badge">3</span> |
76 |
- </a> |
77 |
- --> |
78 |
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
79 |
- <a href="#" class="dropdown-item"> |
80 |
- <!-- Message Start |
81 |
- <div class="media"> |
82 |
- <img src="dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle"> |
83 |
- <div class="media-body"> |
84 |
- <h3 class="dropdown-item-title"> |
85 |
- Brad Diesel |
86 |
- <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span> |
87 |
- </h3> |
88 |
- <p class="text-sm">Call me whenever you can...</p> |
89 |
- <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
90 |
- </div> |
91 |
- </div> |
92 |
- Message End --> |
93 |
- </a> |
94 |
- <div class="dropdown-divider"></div> |
95 |
- <a href="#" class="dropdown-item"> |
96 |
- <!-- Message Start |
97 |
- <div class="media"> |
98 |
- <img src="dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
99 |
- <div class="media-body"> |
100 |
- <h3 class="dropdown-item-title"> |
101 |
- John Pierce |
102 |
- <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span> |
103 |
- </h3> |
104 |
- <p class="text-sm">I got your message bro</p> |
105 |
- <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
106 |
- </div> |
107 |
- </div> |
108 |
- Message End --> |
109 |
- </a> |
110 |
- <div class="dropdown-divider"></div> |
111 |
- <a href="#" class="dropdown-item"> |
112 |
- <!-- Message Start |
113 |
- <div class="media"> |
114 |
- <img src="dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
115 |
- <div class="media-body"> |
116 |
- <h3 class="dropdown-item-title"> |
117 |
- Nora Silvester |
118 |
- <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span> |
119 |
- </h3> |
120 |
- <p class="text-sm">The subject goes here</p> |
121 |
- <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
122 |
- </div> |
123 |
- </div> |
124 |
- Message End --> |
125 |
- </a> |
126 |
- <div class="dropdown-divider"></div> |
127 |
- <a href="#" class="dropdown-item dropdown-footer">See All Messages</a> |
128 |
- </div> |
129 |
- |
130 |
- </li> |
131 |
- <!-- Notifications Dropdown Menu --> |
132 |
- <!-- |
133 |
- <li class="nav-item dropdown"> |
134 |
- <a class="nav-link" data-toggle="dropdown" href="#"> |
135 |
- <i class="far fa-bell"></i> |
136 |
- <span class="badge badge-warning navbar-badge">15</span> |
137 |
- </a> |
138 |
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
139 |
- <span class="dropdown-header">15 Notifications</span> |
140 |
- <div class="dropdown-divider"></div> |
141 |
- <a href="#" class="dropdown-item"> |
142 |
- <i class="fas fa-envelope mr-2"></i> 4 new messages |
143 |
- <span class="float-right text-muted text-sm">3 mins</span> |
144 |
- </a> |
145 |
- <div class="dropdown-divider"></div> |
146 |
- <a href="#" class="dropdown-item"> |
147 |
- <i class="fas fa-users mr-2"></i> 8 friend requests |
148 |
- <span class="float-right text-muted text-sm">12 hours</span> |
149 |
- </a> |
150 |
- <div class="dropdown-divider"></div> |
151 |
- <a href="#" class="dropdown-item"> |
152 |
- <i class="fas fa-file mr-2"></i> 3 new reports |
153 |
- <span class="float-right text-muted text-sm">2 days</span> |
154 |
- </a> |
155 |
- <div class="dropdown-divider"></div> |
156 |
- <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a> |
157 |
- </div> |
158 |
- </li> |
159 |
- --> |
160 |
- <!-- |
161 |
- <li class="nav-item"> |
162 |
- <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#"><i |
163 |
- class="fas fa-th-large"></i></a> |
164 |
- </li> |
165 |
- --> |
166 |
- </ul> |
167 |
- </nav> |
168 |
- <!-- /.navbar --> |
169 |
- |
170 |
- <!-- Main Sidebar Container --> |
171 |
- <aside class="main-sidebar sidebar-light-primary elevation-4"> |
172 |
- <!-- Sidebar --> |
173 |
- <section class="sidebar"> |
174 |
- <!-- Brand Logo --> |
175 |
- <!-- |
176 |
- <a href="index3.html" class="brand-link"> |
177 |
- <img src="dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" |
178 |
- style="opacity: .8"> |
179 |
- <span class="brand-text font-weight-light">AdminLTE 3</span> |
180 |
- </a>--> |
181 |
- |
182 |
- <!-- Sidebar user panel (optional) --> |
183 |
- <!-- |
184 |
- <div class="user-panel mt-3 pb-3 mb-3 d-flex"> |
185 |
- <div class="image"> |
186 |
- <img src="dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image"> |
187 |
- </div> |
188 |
- <div class="info"> |
189 |
- <a href="#" class="d-block">Alexander Pierce</a> |
190 |
- </div> |
191 |
- </div> |
192 |
- --> |
193 |
- <!-- Sidebar Menu --> |
194 |
- %= include 'partials/_swt_theme' |
195 |
- |
196 |
- <nav class="mt-2"> |
197 |
- <!--<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">--> |
198 |
- <!-- Add icons to the links using the .nav-icon class |
199 |
- with font-awesome or any other icon font library --> |
200 |
- %= include 'partials/_navig2' |
201 |
- <!--</ul>--> |
202 |
- |
203 |
- </nav> |
204 |
- <!-- /.sidebar-menu --> |
205 |
- </section> |
206 |
- <!-- /.sidebar --> |
207 |
- </aside> |
208 |
- |
209 |
- <!-- Content Wrapper. Contains page content --> |
210 |
- <div class="content-wrapper"> |
211 |
- <!-- Content Header (Page header) --> |
212 |
- <div class="content-header"> |
213 |
- <div class="container-fluid"> |
214 |
- <div class="row mb-2"> |
215 |
- <div class="col-sm-6"> |
216 |
- <!--<h1 class="m-0 text-dark">Starter Page</h1>--> |
217 |
- </div><!-- /.col --> |
218 |
- <div class="col-sm-6"> |
219 |
- <ol class="breadcrumb float-sm-right"> |
220 |
- <!-- |
221 |
- <li class="breadcrumb-item active"><a href="/server-manager2/">Home</a></li> |
222 |
- --> |
223 |
- </ol> |
224 |
- </div><!-- /.col --> |
225 |
- </div><!-- /.row --> |
226 |
- </div><!-- /.container-fluid --> |
227 |
+<body class="hold-transition sidebar-mini skin-blue"> |
228 |
+ % if ( not defined $c->session->{lang} ) { |
229 |
+ % SrvMngr::init_session_cgi ( $c ); |
230 |
+ <br>INIT_SESSION_CGI<br> |
231 |
+ % } |
232 |
+ |
233 |
+ <div id="header"> |
234 |
+ %= include 'partials/_header' |
235 |
+ %= include 'partials/_swt_theme' |
236 |
</div> |
237 |
- <!-- /.content-header --> |
238 |
- |
239 |
- <!-- Main content --> |
240 |
- <div class="content"> |
241 |
- <div class="container-fluid"> |
242 |
- %= content 'module' |
243 |
|
244 |
- </div><!-- /.container-fluid --> |
245 |
- </div> |
246 |
- <!-- /.content --> |
247 |
- </div> |
248 |
- <!-- /.content-wrapper --> |
249 |
- |
250 |
- <!-- Control Sidebar --> |
251 |
- <aside class="control-sidebar control-sidebar-dark"> |
252 |
- <!-- Control sidebar content goes here --> |
253 |
- <div class="p-3"> |
254 |
- <h5>Title</h5> |
255 |
- <p>Sidebar content</p> |
256 |
- </div> |
257 |
- </aside> |
258 |
- <!-- /.control-sidebar --> |
259 |
+ <div class="wrapper"> |
260 |
|
261 |
- <!-- Main Footer --> |
262 |
- <footer class="main-footer"> |
263 |
- <!-- To the right --> |
264 |
- <div class="float-right d-none d-sm-inline"> |
265 |
- </div> |
266 |
- <!-- Default to the left --> |
267 |
- %= include 'partials/_footer' |
268 |
- </footer> |
269 |
-</div> |
270 |
+ <!-- Navbar --> |
271 |
+ <nav class="main-header navbar navbar-expand navbar-white navbar-light"> |
272 |
+ <!-- Left navbar links --> |
273 |
+ <ul class="navbar-nav"> |
274 |
+ <li class="nav-item"> |
275 |
+ <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> |
276 |
+ </li> |
277 |
+ <li class="nav-item d-none d-sm-inline-block"> |
278 |
+ <a href="/server-manager2/" class="nav-link">Home</a> |
279 |
+ </li> |
280 |
+ <li class="nav-item d-none d-sm-inline-block"> |
281 |
+ <a href="mailto:bugs@koozali.org" class="nav-link">Contact</a> |
282 |
+ </li> |
283 |
+ </ul> |
284 |
+ |
285 |
+ <!-- SEARCH FORM |
286 |
+ <form class="form-inline ml-3"> |
287 |
+ <div class="input-group input-group-sm"> |
288 |
+ <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search"> |
289 |
+ <div class="input-group-append"> |
290 |
+ <button class="btn btn-navbar" type="submit"> |
291 |
+ <i class="fas fa-search"></i> |
292 |
+ </button> |
293 |
+ </div> |
294 |
+ </div> |
295 |
+ </form> |
296 |
+ --> |
297 |
+ |
298 |
+ <!-- Right navbar links --> |
299 |
+ <ul class="navbar-nav ml-auto"> |
300 |
+ <!-- Messages Dropdown Menu --> |
301 |
+ <li class="nav-item dropdown"> |
302 |
+ <!-- |
303 |
+ <a class="nav-link" data-toggle="dropdown" href="#"> |
304 |
+ <i class="far fa-comments"></i> |
305 |
+ <span class="badge badge-danger navbar-badge">3</span> |
306 |
+ </a> |
307 |
+ --> |
308 |
+ <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
309 |
+ <a href="#" class="dropdown-item"> |
310 |
+ <!-- Message Start |
311 |
+ <div class="media"> |
312 |
+ <img src="dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle"> |
313 |
+ <div class="media-body"> |
314 |
+ <h3 class="dropdown-item-title"> |
315 |
+ Brad Diesel |
316 |
+ <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span> |
317 |
+ </h3> |
318 |
+ <p class="text-sm">Call me whenever you can...</p> |
319 |
+ <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
320 |
+ </div> |
321 |
+ </div> |
322 |
+ Message End --> |
323 |
+ </a> |
324 |
+ <div class="dropdown-divider"></div> |
325 |
+ <a href="#" class="dropdown-item"> |
326 |
+ <!-- Message Start |
327 |
+ <div class="media"> |
328 |
+ <img src="dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
329 |
+ <div class="media-body"> |
330 |
+ <h3 class="dropdown-item-title"> |
331 |
+ John Pierce |
332 |
+ <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span> |
333 |
+ </h3> |
334 |
+ <p class="text-sm">I got your message bro</p> |
335 |
+ <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
336 |
+ </div> |
337 |
+ </div> |
338 |
+ Message End --> |
339 |
+ </a> |
340 |
+ <div class="dropdown-divider"></div> |
341 |
+ <a href="#" class="dropdown-item"> |
342 |
+ <!-- Message Start |
343 |
+ <div class="media"> |
344 |
+ <img src="dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
345 |
+ <div class="media-body"> |
346 |
+ <h3 class="dropdown-item-title"> |
347 |
+ Nora Silvester |
348 |
+ <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span> |
349 |
+ </h3> |
350 |
+ <p class="text-sm">The subject goes here</p> |
351 |
+ <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
352 |
+ </div> |
353 |
+ </div> |
354 |
+ Message End --> |
355 |
+ </a> |
356 |
+ <div class="dropdown-divider"></div> |
357 |
+ <a href="#" class="dropdown-item dropdown-footer">See All Messages</a> |
358 |
+ </div> |
359 |
+ |
360 |
+ </li> |
361 |
+ <!-- Notifications Dropdown Menu --> |
362 |
+ <!-- |
363 |
+ <li class="nav-item dropdown"> |
364 |
+ <a class="nav-link" data-toggle="dropdown" href="#"> |
365 |
+ <i class="far fa-bell"></i> |
366 |
+ <span class="badge badge-warning navbar-badge">15</span> |
367 |
+ </a> |
368 |
+ <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
369 |
+ <span class="dropdown-header">15 Notifications</span> |
370 |
+ <div class="dropdown-divider"></div> |
371 |
+ <a href="#" class="dropdown-item"> |
372 |
+ <i class="fas fa-envelope mr-2"></i> 4 new messages |
373 |
+ <span class="float-right text-muted text-sm">3 mins</span> |
374 |
+ </a> |
375 |
+ <div class="dropdown-divider"></div> |
376 |
+ <a href="#" class="dropdown-item"> |
377 |
+ <i class="fas fa-users mr-2"></i> 8 friend requests |
378 |
+ <span class="float-right text-muted text-sm">12 hours</span> |
379 |
+ </a> |
380 |
+ <div class="dropdown-divider"></div> |
381 |
+ <a href="#" class="dropdown-item"> |
382 |
+ <i class="fas fa-file mr-2"></i> 3 new reports |
383 |
+ <span class="float-right text-muted text-sm">2 days</span> |
384 |
+ </a> |
385 |
+ <div class="dropdown-divider"></div> |
386 |
+ <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a> |
387 |
+ </div> |
388 |
+ </li> |
389 |
+ --> |
390 |
+ <!-- |
391 |
+ <li class="nav-item"> |
392 |
+ <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#"><i |
393 |
+ class="fas fa-th-large"></i></a> |
394 |
+ </li> |
395 |
+ --> |
396 |
+ </ul> |
397 |
+ </nav> |
398 |
+ <!-- /.navbar --> |
399 |
+ |
400 |
+ <!-- Main Sidebar Container --> |
401 |
+ <aside class="main-sidebar sidebar-light-primary elevation-4"> |
402 |
+ <!-- Sidebar --> |
403 |
+ <section class="sidebar"> |
404 |
+ <!-- Brand Logo --> |
405 |
+ <!-- |
406 |
+ <a href="index3.html" class="brand-link"> |
407 |
+ <img src="dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" |
408 |
+ style="opacity: .8"> |
409 |
+ <span class="brand-text font-weight-light">AdminLTE 3</span> |
410 |
+ </a>--> |
411 |
+ |
412 |
+ <!-- Sidebar user panel (optional) --> |
413 |
+ <!-- |
414 |
+ <div class="user-panel mt-3 pb-3 mb-3 d-flex"> |
415 |
+ <div class="image"> |
416 |
+ <img src="dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image"> |
417 |
+ </div> |
418 |
+ <div class="info"> |
419 |
+ <a href="#" class="d-block">Alexander Pierce</a> |
420 |
+ </div> |
421 |
+ </div> |
422 |
+ --> |
423 |
+ <!-- Sidebar Menu --> |
424 |
+ |
425 |
+ <nav class="mt-2"> |
426 |
+ <!--<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">--> |
427 |
+ <!-- Add icons to the links using the .nav-icon class |
428 |
+ with font-awesome or any other icon font library --> |
429 |
+ %= include 'partials/_navig2' |
430 |
+ <!--</ul>--> |
431 |
+ |
432 |
+ </nav> |
433 |
+ <!-- /.sidebar-menu --> |
434 |
+ </section> |
435 |
+ <!-- /.sidebar --> |
436 |
+ </aside> |
437 |
+ |
438 |
+ <!-- Content Wrapper. Contains page content --> |
439 |
+ <div class="content-wrapper"> |
440 |
+ <div> |
441 |
+ %= include 'partials/_info' |
442 |
+ </div> |
443 |
+ <!-- Content Header (Page header) --> |
444 |
+ <div class="content-header"> |
445 |
+ <div class="container-fluid"> |
446 |
+ <div class="row mb-2"> |
447 |
+ <div class="col-sm-6"> |
448 |
+ <!--<h1 class="m-0 text-dark">Starter Page</h1>--> |
449 |
+ </div><!-- /.col --> |
450 |
+ <div class="col-sm-6"> |
451 |
+ <ol class="breadcrumb float-sm-right"> |
452 |
+ <!-- |
453 |
+ <li class="breadcrumb-item active"><a href="/server-manager2/">Home</a></li> |
454 |
+ --> |
455 |
+ </ol> |
456 |
+ </div><!-- /.col --> |
457 |
+ </div><!-- /.row --> |
458 |
+ </div><!-- /.container-fluid --> |
459 |
+ </div> |
460 |
+ <!-- /.content-header --> |
461 |
+ |
462 |
+ <!-- Main content --> |
463 |
+ <div class="content"> |
464 |
+ <div class="container-fluid"> |
465 |
+ %= content 'module' |
466 |
+ </div><!-- /.container-fluid --> |
467 |
+ </div> |
468 |
+ <!-- /.content --> |
469 |
+ </div> |
470 |
+ <!-- /.content-wrapper --> |
471 |
+ |
472 |
+ <!-- Control Sidebar --> |
473 |
+ <aside class="control-sidebar control-sidebar-dark"> |
474 |
+ <!-- Control sidebar content goes here --> |
475 |
+ <div class="p-3"> |
476 |
+ <h5>Title</h5> |
477 |
+ <p>Sidebar content</p> |
478 |
+ </div> |
479 |
+ </aside> |
480 |
+ <!-- /.control-sidebar --> |
481 |
+ |
482 |
+ <!-- Main Footer --> |
483 |
+ <footer class="main-footer"> |
484 |
+ <!-- To the right --> |
485 |
+ <div class="float-right d-none d-sm-inline"> |
486 |
+ </div> |
487 |
+ <!-- Default to the left --> |
488 |
+ %= include 'partials/_footer' |
489 |
+ <span class="adminlte-version"></span> |
490 |
+ </footer> |
491 |
+ </div> |
492 |
<!-- REQUIRED SCRIPTS --> |
493 |
- |
494 |
<!-- jQuery --> |
495 |
%= javascript "plugins/jquery/jquery.min.js" |
496 |
<!-- Bootstrap 4 --> |
497 |
@@ -260,6 +267,25 @@ |
498 |
<!-- AdminLTE App --> |
499 |
%= javascript "dist/js/adminlte.min.js" |
500 |
|
501 |
+ <script> |
502 |
+ $(document).ready(function() { |
503 |
+ const classSelector = 'adminlte-version'; |
504 |
+ const versionType = 'full'; // 'full' OR true; |
505 |
+ for (var i = 0, max = document.styleSheets.length; i < max; i++) { |
506 |
+ if ((document.styleSheets[i].href).includes("adminlte")) { |
507 |
+ $.ajax({ |
508 |
+ url: document.styleSheets[i].href, |
509 |
+ dataType: "text", |
510 |
+ success: function(cssText) { |
511 |
+ const searchReg = /AdminLTE v([0-9.]{0,})/; |
512 |
+ const result = cssText.match(searchReg); |
513 |
+ |
514 |
+ $(`.${classSelector}`).text(result[versionType == 'full' ? 0 : 1]); |
515 |
+ } |
516 |
+ }); |
517 |
+ } |
518 |
+ } |
519 |
+ }); |
520 |
+ </script> |
521 |
</body> |
522 |
- |
523 |
</html> |