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