23 |
+ |
+ |
24 |
+ |
+ |
25 |
+ |
+ |
|
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 |
|
|
--- 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 |
|
|
+++ 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 |
|
|
@@ -6,253 +6,260 @@ |
|
|
<head> |
|
|
<title><%= $title %></title> |
|
|
<link rev="made" href="mailto:bugs%40koozali.org"> |
|
|
- <meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation"> |
|
|
- |
|
|
+ <meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation"> |
|
|
<meta charset="utf-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
|
|
<!-- Font Awesome Icons --> |
|
|
%= stylesheet "plugins/fontawesome-free/css/all.min.css" |
|
|
+ <!-- SME CSS --> |
|
|
+ %= stylesheet "css/sme core.css" |
|
|
+ %= stylesheet "css/sme main.css" |
|
|
+ %= stylesheet "css/styles.css" |
|
|
+ %= include 'partials/_head' |
|
|
<!-- Theme style --> |
|
|
%= stylesheet "dist/css/adminlte.min.css" |
|
|
%= stylesheet "server-manager2.css" |
|
|
<!-- Google Font: Source Sans Pro --> |
|
|
- <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> |
|
|
- <!-- SME CSS --> |
|
|
- <!--%= stylesheet "css/sme core.css"--> |
|
|
- <!--%= stylesheet "css/sme main.css"--> |
|
|
- <!--%= stylesheet "css/styles.css"--> |
|
|
- %= include 'partials/_head' |
|
|
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> |
|
|
</head> |
|
|
|
|
|
-<body class="hold-transition sidebar-mini"> |
|
|
- %= include 'partials/_header' |
|
|
- % if ( not defined $c->session->{lang} ) { |
|
|
- % SrvMngr::init_session_cgi ( $c ); |
|
|
- % } |
|
|
-<div class="wrapper"> |
|
|
- |
|
|
- <!-- Navbar --> |
|
|
- <nav class="main-header navbar navbar-expand navbar-white navbar-light"> |
|
|
- <!-- Left navbar links --> |
|
|
- <ul class="navbar-nav"> |
|
|
- <li class="nav-item"> |
|
|
- <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> |
|
|
- </li> |
|
|
- <li class="nav-item d-none d-sm-inline-block"> |
|
|
- <a href="/server-manager2/" class="nav-link">Home</a> |
|
|
- </li> |
|
|
- <li class="nav-item d-none d-sm-inline-block"> |
|
|
- <a href="mailto:bugs@koozali.org" class="nav-link">Contact</a> |
|
|
- </li> |
|
|
- </ul> |
|
|
- |
|
|
- <!-- SEARCH FORM --> |
|
|
- <form class="form-inline ml-3"> |
|
|
- <div class="input-group input-group-sm"> |
|
|
- <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search"> |
|
|
- <div class="input-group-append"> |
|
|
- <button class="btn btn-navbar" type="submit"> |
|
|
- <i class="fas fa-search"></i> |
|
|
- </button> |
|
|
- </div> |
|
|
- </div> |
|
|
- </form> |
|
|
- |
|
|
- <!-- Right navbar links --> |
|
|
- <ul class="navbar-nav ml-auto"> |
|
|
- <!-- Messages Dropdown Menu --> |
|
|
- <li class="nav-item dropdown"> |
|
|
- <!-- |
|
|
- <a class="nav-link" data-toggle="dropdown" href="#"> |
|
|
- <i class="far fa-comments"></i> |
|
|
- <span class="badge badge-danger navbar-badge">3</span> |
|
|
- </a> |
|
|
- --> |
|
|
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
|
|
- <a href="#" class="dropdown-item"> |
|
|
- <!-- Message Start |
|
|
- <div class="media"> |
|
|
- <img src="dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle"> |
|
|
- <div class="media-body"> |
|
|
- <h3 class="dropdown-item-title"> |
|
|
- Brad Diesel |
|
|
- <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span> |
|
|
- </h3> |
|
|
- <p class="text-sm">Call me whenever you can...</p> |
|
|
- <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
|
|
- </div> |
|
|
- </div> |
|
|
- Message End --> |
|
|
- </a> |
|
|
- <div class="dropdown-divider"></div> |
|
|
- <a href="#" class="dropdown-item"> |
|
|
- <!-- Message Start |
|
|
- <div class="media"> |
|
|
- <img src="dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
|
|
- <div class="media-body"> |
|
|
- <h3 class="dropdown-item-title"> |
|
|
- John Pierce |
|
|
- <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span> |
|
|
- </h3> |
|
|
- <p class="text-sm">I got your message bro</p> |
|
|
- <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
|
|
- </div> |
|
|
- </div> |
|
|
- Message End --> |
|
|
- </a> |
|
|
- <div class="dropdown-divider"></div> |
|
|
- <a href="#" class="dropdown-item"> |
|
|
- <!-- Message Start |
|
|
- <div class="media"> |
|
|
- <img src="dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
|
|
- <div class="media-body"> |
|
|
- <h3 class="dropdown-item-title"> |
|
|
- Nora Silvester |
|
|
- <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span> |
|
|
- </h3> |
|
|
- <p class="text-sm">The subject goes here</p> |
|
|
- <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
|
|
- </div> |
|
|
- </div> |
|
|
- Message End --> |
|
|
- </a> |
|
|
- <div class="dropdown-divider"></div> |
|
|
- <a href="#" class="dropdown-item dropdown-footer">See All Messages</a> |
|
|
- </div> |
|
|
- |
|
|
- </li> |
|
|
- <!-- Notifications Dropdown Menu --> |
|
|
- <!-- |
|
|
- <li class="nav-item dropdown"> |
|
|
- <a class="nav-link" data-toggle="dropdown" href="#"> |
|
|
- <i class="far fa-bell"></i> |
|
|
- <span class="badge badge-warning navbar-badge">15</span> |
|
|
- </a> |
|
|
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
|
|
- <span class="dropdown-header">15 Notifications</span> |
|
|
- <div class="dropdown-divider"></div> |
|
|
- <a href="#" class="dropdown-item"> |
|
|
- <i class="fas fa-envelope mr-2"></i> 4 new messages |
|
|
- <span class="float-right text-muted text-sm">3 mins</span> |
|
|
- </a> |
|
|
- <div class="dropdown-divider"></div> |
|
|
- <a href="#" class="dropdown-item"> |
|
|
- <i class="fas fa-users mr-2"></i> 8 friend requests |
|
|
- <span class="float-right text-muted text-sm">12 hours</span> |
|
|
- </a> |
|
|
- <div class="dropdown-divider"></div> |
|
|
- <a href="#" class="dropdown-item"> |
|
|
- <i class="fas fa-file mr-2"></i> 3 new reports |
|
|
- <span class="float-right text-muted text-sm">2 days</span> |
|
|
- </a> |
|
|
- <div class="dropdown-divider"></div> |
|
|
- <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a> |
|
|
- </div> |
|
|
- </li> |
|
|
- --> |
|
|
- <!-- |
|
|
- <li class="nav-item"> |
|
|
- <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#"><i |
|
|
- class="fas fa-th-large"></i></a> |
|
|
- </li> |
|
|
- --> |
|
|
- </ul> |
|
|
- </nav> |
|
|
- <!-- /.navbar --> |
|
|
- |
|
|
- <!-- Main Sidebar Container --> |
|
|
- <aside class="main-sidebar sidebar-light-primary elevation-4"> |
|
|
- <!-- Sidebar --> |
|
|
- <section class="sidebar"> |
|
|
- <!-- Brand Logo --> |
|
|
- <!-- |
|
|
- <a href="index3.html" class="brand-link"> |
|
|
- <img src="dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" |
|
|
- style="opacity: .8"> |
|
|
- <span class="brand-text font-weight-light">AdminLTE 3</span> |
|
|
- </a>--> |
|
|
- |
|
|
- <!-- Sidebar user panel (optional) --> |
|
|
- <!-- |
|
|
- <div class="user-panel mt-3 pb-3 mb-3 d-flex"> |
|
|
- <div class="image"> |
|
|
- <img src="dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image"> |
|
|
- </div> |
|
|
- <div class="info"> |
|
|
- <a href="#" class="d-block">Alexander Pierce</a> |
|
|
- </div> |
|
|
- </div> |
|
|
- --> |
|
|
- <!-- Sidebar Menu --> |
|
|
- %= include 'partials/_swt_theme' |
|
|
- |
|
|
- <nav class="mt-2"> |
|
|
- <!--<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">--> |
|
|
- <!-- Add icons to the links using the .nav-icon class |
|
|
- with font-awesome or any other icon font library --> |
|
|
- %= include 'partials/_navig2' |
|
|
- <!--</ul>--> |
|
|
- |
|
|
- </nav> |
|
|
- <!-- /.sidebar-menu --> |
|
|
- </section> |
|
|
- <!-- /.sidebar --> |
|
|
- </aside> |
|
|
- |
|
|
- <!-- Content Wrapper. Contains page content --> |
|
|
- <div class="content-wrapper"> |
|
|
- <!-- Content Header (Page header) --> |
|
|
- <div class="content-header"> |
|
|
- <div class="container-fluid"> |
|
|
- <div class="row mb-2"> |
|
|
- <div class="col-sm-6"> |
|
|
- <!--<h1 class="m-0 text-dark">Starter Page</h1>--> |
|
|
- </div><!-- /.col --> |
|
|
- <div class="col-sm-6"> |
|
|
- <ol class="breadcrumb float-sm-right"> |
|
|
- <!-- |
|
|
- <li class="breadcrumb-item active"><a href="/server-manager2/">Home</a></li> |
|
|
- --> |
|
|
- </ol> |
|
|
- </div><!-- /.col --> |
|
|
- </div><!-- /.row --> |
|
|
- </div><!-- /.container-fluid --> |
|
|
+<body class="hold-transition sidebar-mini skin-blue"> |
|
|
+ % if ( not defined $c->session->{lang} ) { |
|
|
+ % SrvMngr::init_session_cgi ( $c ); |
|
|
+ <br>INIT_SESSION_CGI<br> |
|
|
+ % } |
|
|
+ |
|
|
+ <div id="header"> |
|
|
+ %= include 'partials/_header' |
|
|
+ %= include 'partials/_swt_theme' |
|
|
</div> |
|
|
- <!-- /.content-header --> |
|
|
- |
|
|
- <!-- Main content --> |
|
|
- <div class="content"> |
|
|
- <div class="container-fluid"> |
|
|
- %= content 'module' |
|
|
|
|
|
- </div><!-- /.container-fluid --> |
|
|
- </div> |
|
|
- <!-- /.content --> |
|
|
- </div> |
|
|
- <!-- /.content-wrapper --> |
|
|
- |
|
|
- <!-- Control Sidebar --> |
|
|
- <aside class="control-sidebar control-sidebar-dark"> |
|
|
- <!-- Control sidebar content goes here --> |
|
|
- <div class="p-3"> |
|
|
- <h5>Title</h5> |
|
|
- <p>Sidebar content</p> |
|
|
- </div> |
|
|
- </aside> |
|
|
- <!-- /.control-sidebar --> |
|
|
+ <div class="wrapper"> |
|
|
|
|
|
- <!-- Main Footer --> |
|
|
- <footer class="main-footer"> |
|
|
- <!-- To the right --> |
|
|
- <div class="float-right d-none d-sm-inline"> |
|
|
- </div> |
|
|
- <!-- Default to the left --> |
|
|
- %= include 'partials/_footer' |
|
|
- </footer> |
|
|
-</div> |
|
|
+ <!-- Navbar --> |
|
|
+ <nav class="main-header navbar navbar-expand navbar-white navbar-light"> |
|
|
+ <!-- Left navbar links --> |
|
|
+ <ul class="navbar-nav"> |
|
|
+ <li class="nav-item"> |
|
|
+ <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> |
|
|
+ </li> |
|
|
+ <li class="nav-item d-none d-sm-inline-block"> |
|
|
+ <a href="/server-manager2/" class="nav-link">Home</a> |
|
|
+ </li> |
|
|
+ <li class="nav-item d-none d-sm-inline-block"> |
|
|
+ <a href="mailto:bugs@koozali.org" class="nav-link">Contact</a> |
|
|
+ </li> |
|
|
+ </ul> |
|
|
+ |
|
|
+ <!-- SEARCH FORM |
|
|
+ <form class="form-inline ml-3"> |
|
|
+ <div class="input-group input-group-sm"> |
|
|
+ <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search"> |
|
|
+ <div class="input-group-append"> |
|
|
+ <button class="btn btn-navbar" type="submit"> |
|
|
+ <i class="fas fa-search"></i> |
|
|
+ </button> |
|
|
+ </div> |
|
|
+ </div> |
|
|
+ </form> |
|
|
+ --> |
|
|
+ |
|
|
+ <!-- Right navbar links --> |
|
|
+ <ul class="navbar-nav ml-auto"> |
|
|
+ <!-- Messages Dropdown Menu --> |
|
|
+ <li class="nav-item dropdown"> |
|
|
+ <!-- |
|
|
+ <a class="nav-link" data-toggle="dropdown" href="#"> |
|
|
+ <i class="far fa-comments"></i> |
|
|
+ <span class="badge badge-danger navbar-badge">3</span> |
|
|
+ </a> |
|
|
+ --> |
|
|
+ <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
|
|
+ <a href="#" class="dropdown-item"> |
|
|
+ <!-- Message Start |
|
|
+ <div class="media"> |
|
|
+ <img src="dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle"> |
|
|
+ <div class="media-body"> |
|
|
+ <h3 class="dropdown-item-title"> |
|
|
+ Brad Diesel |
|
|
+ <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span> |
|
|
+ </h3> |
|
|
+ <p class="text-sm">Call me whenever you can...</p> |
|
|
+ <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
|
|
+ </div> |
|
|
+ </div> |
|
|
+ Message End --> |
|
|
+ </a> |
|
|
+ <div class="dropdown-divider"></div> |
|
|
+ <a href="#" class="dropdown-item"> |
|
|
+ <!-- Message Start |
|
|
+ <div class="media"> |
|
|
+ <img src="dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
|
|
+ <div class="media-body"> |
|
|
+ <h3 class="dropdown-item-title"> |
|
|
+ John Pierce |
|
|
+ <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span> |
|
|
+ </h3> |
|
|
+ <p class="text-sm">I got your message bro</p> |
|
|
+ <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
|
|
+ </div> |
|
|
+ </div> |
|
|
+ Message End --> |
|
|
+ </a> |
|
|
+ <div class="dropdown-divider"></div> |
|
|
+ <a href="#" class="dropdown-item"> |
|
|
+ <!-- Message Start |
|
|
+ <div class="media"> |
|
|
+ <img src="dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3"> |
|
|
+ <div class="media-body"> |
|
|
+ <h3 class="dropdown-item-title"> |
|
|
+ Nora Silvester |
|
|
+ <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span> |
|
|
+ </h3> |
|
|
+ <p class="text-sm">The subject goes here</p> |
|
|
+ <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p> |
|
|
+ </div> |
|
|
+ </div> |
|
|
+ Message End --> |
|
|
+ </a> |
|
|
+ <div class="dropdown-divider"></div> |
|
|
+ <a href="#" class="dropdown-item dropdown-footer">See All Messages</a> |
|
|
+ </div> |
|
|
+ |
|
|
+ </li> |
|
|
+ <!-- Notifications Dropdown Menu --> |
|
|
+ <!-- |
|
|
+ <li class="nav-item dropdown"> |
|
|
+ <a class="nav-link" data-toggle="dropdown" href="#"> |
|
|
+ <i class="far fa-bell"></i> |
|
|
+ <span class="badge badge-warning navbar-badge">15</span> |
|
|
+ </a> |
|
|
+ <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> |
|
|
+ <span class="dropdown-header">15 Notifications</span> |
|
|
+ <div class="dropdown-divider"></div> |
|
|
+ <a href="#" class="dropdown-item"> |
|
|
+ <i class="fas fa-envelope mr-2"></i> 4 new messages |
|
|
+ <span class="float-right text-muted text-sm">3 mins</span> |
|
|
+ </a> |
|
|
+ <div class="dropdown-divider"></div> |
|
|
+ <a href="#" class="dropdown-item"> |
|
|
+ <i class="fas fa-users mr-2"></i> 8 friend requests |
|
|
+ <span class="float-right text-muted text-sm">12 hours</span> |
|
|
+ </a> |
|
|
+ <div class="dropdown-divider"></div> |
|
|
+ <a href="#" class="dropdown-item"> |
|
|
+ <i class="fas fa-file mr-2"></i> 3 new reports |
|
|
+ <span class="float-right text-muted text-sm">2 days</span> |
|
|
+ </a> |
|
|
+ <div class="dropdown-divider"></div> |
|
|
+ <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a> |
|
|
+ </div> |
|
|
+ </li> |
|
|
+ --> |
|
|
+ <!-- |
|
|
+ <li class="nav-item"> |
|
|
+ <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#"><i |
|
|
+ class="fas fa-th-large"></i></a> |
|
|
+ </li> |
|
|
+ --> |
|
|
+ </ul> |
|
|
+ </nav> |
|
|
+ <!-- /.navbar --> |
|
|
+ |
|
|
+ <!-- Main Sidebar Container --> |
|
|
+ <aside class="main-sidebar sidebar-light-primary elevation-4"> |
|
|
+ <!-- Sidebar --> |
|
|
+ <section class="sidebar"> |
|
|
+ <!-- Brand Logo --> |
|
|
+ <!-- |
|
|
+ <a href="index3.html" class="brand-link"> |
|
|
+ <img src="dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" |
|
|
+ style="opacity: .8"> |
|
|
+ <span class="brand-text font-weight-light">AdminLTE 3</span> |
|
|
+ </a>--> |
|
|
+ |
|
|
+ <!-- Sidebar user panel (optional) --> |
|
|
+ <!-- |
|
|
+ <div class="user-panel mt-3 pb-3 mb-3 d-flex"> |
|
|
+ <div class="image"> |
|
|
+ <img src="dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image"> |
|
|
+ </div> |
|
|
+ <div class="info"> |
|
|
+ <a href="#" class="d-block">Alexander Pierce</a> |
|
|
+ </div> |
|
|
+ </div> |
|
|
+ --> |
|
|
+ <!-- Sidebar Menu --> |
|
|
+ |
|
|
+ <nav class="mt-2"> |
|
|
+ <!--<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">--> |
|
|
+ <!-- Add icons to the links using the .nav-icon class |
|
|
+ with font-awesome or any other icon font library --> |
|
|
+ %= include 'partials/_navig2' |
|
|
+ <!--</ul>--> |
|
|
+ |
|
|
+ </nav> |
|
|
+ <!-- /.sidebar-menu --> |
|
|
+ </section> |
|
|
+ <!-- /.sidebar --> |
|
|
+ </aside> |
|
|
+ |
|
|
+ <!-- Content Wrapper. Contains page content --> |
|
|
+ <div class="content-wrapper"> |
|
|
+ <div> |
|
|
+ %= include 'partials/_info' |
|
|
+ </div> |
|
|
+ <!-- Content Header (Page header) --> |
|
|
+ <div class="content-header"> |
|
|
+ <div class="container-fluid"> |
|
|
+ <div class="row mb-2"> |
|
|
+ <div class="col-sm-6"> |
|
|
+ <!--<h1 class="m-0 text-dark">Starter Page</h1>--> |
|
|
+ </div><!-- /.col --> |
|
|
+ <div class="col-sm-6"> |
|
|
+ <ol class="breadcrumb float-sm-right"> |
|
|
+ <!-- |
|
|
+ <li class="breadcrumb-item active"><a href="/server-manager2/">Home</a></li> |
|
|
+ --> |
|
|
+ </ol> |
|
|
+ </div><!-- /.col --> |
|
|
+ </div><!-- /.row --> |
|
|
+ </div><!-- /.container-fluid --> |
|
|
+ </div> |
|
|
+ <!-- /.content-header --> |
|
|
+ |
|
|
+ <!-- Main content --> |
|
|
+ <div class="content"> |
|
|
+ <div class="container-fluid"> |
|
|
+ %= content 'module' |
|
|
+ </div><!-- /.container-fluid --> |
|
|
+ </div> |
|
|
+ <!-- /.content --> |
|
|
+ </div> |
|
|
+ <!-- /.content-wrapper --> |
|
|
+ |
|
|
+ <!-- Control Sidebar --> |
|
|
+ <aside class="control-sidebar control-sidebar-dark"> |
|
|
+ <!-- Control sidebar content goes here --> |
|
|
+ <div class="p-3"> |
|
|
+ <h5>Title</h5> |
|
|
+ <p>Sidebar content</p> |
|
|
+ </div> |
|
|
+ </aside> |
|
|
+ <!-- /.control-sidebar --> |
|
|
+ |
|
|
+ <!-- Main Footer --> |
|
|
+ <footer class="main-footer"> |
|
|
+ <!-- To the right --> |
|
|
+ <div class="float-right d-none d-sm-inline"> |
|
|
+ </div> |
|
|
+ <!-- Default to the left --> |
|
|
+ %= include 'partials/_footer' |
|
|
+ <span class="adminlte-version"></span> |
|
|
+ </footer> |
|
|
+ </div> |
|
|
<!-- REQUIRED SCRIPTS --> |
|
|
- |
|
|
<!-- jQuery --> |
|
|
%= javascript "plugins/jquery/jquery.min.js" |
|
|
<!-- Bootstrap 4 --> |
|
|
@@ -260,6 +267,25 @@ |
|
|
<!-- AdminLTE App --> |
|
|
%= javascript "dist/js/adminlte.min.js" |
|
|
|
|
|
+ <script> |
|
|
+ $(document).ready(function() { |
|
|
+ const classSelector = 'adminlte-version'; |
|
|
+ const versionType = 'full'; // 'full' OR true; |
|
|
+ for (var i = 0, max = document.styleSheets.length; i < max; i++) { |
|
|
+ if ((document.styleSheets[i].href).includes("adminlte")) { |
|
|
+ $.ajax({ |
|
|
+ url: document.styleSheets[i].href, |
|
|
+ dataType: "text", |
|
|
+ success: function(cssText) { |
|
|
+ const searchReg = /AdminLTE v([0-9.]{0,})/; |
|
|
+ const result = cssText.match(searchReg); |
|
|
+ |
|
|
+ $(`.${classSelector}`).text(result[versionType == 'full' ? 0 : 1]); |
|
|
+ } |
|
|
+ }); |
|
|
+ } |
|
|
+ } |
|
|
+ }); |
|
|
+ </script> |
|
|
</body> |
|
|
- |
|
|
</html> |
|