Adapt templates to new asset dir structure
parent
1ac6474194
commit
eca5aa0d92
|
@ -35,9 +35,11 @@ class ManageUsers extends RequestHandler
|
||||||
$table = $table.$entry;
|
$table = $table.$entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
$tpl = $this->app->template('users.php')->parent('__dashboard.php')->var('title', 'Benutzer')->unsafeVar('user-list', $table.'</tbody></table>')
|
$tpl = $this->app->template('users.php')->parent('__dashboard.php')->vars([
|
||||||
->unsafeVar('users-message', isset($_SESSION['users-message']) ? $_SESSION['users-message'] : '')
|
'title' => 'Benutzer',
|
||||||
->unsafeVar('custom-css', '<link rel="stylesheet" href="./style/admin-users.css">');
|
'username' => $_SESSION['DISPLAYNAME']
|
||||||
|
])->unsafeVar('user-list', $table.'</tbody></table>')
|
||||||
|
->unsafeVar('users-message', isset($_SESSION['users-message']) ? $_SESSION['users-message'] : '');
|
||||||
|
|
||||||
if (isset($_SESSION['users-message'])) {
|
if (isset($_SESSION['users-message'])) {
|
||||||
$tpl->unsafeVar('users-message', $_SESSION['users-message']);
|
$tpl->unsafeVar('users-message', $_SESSION['users-message']);
|
||||||
|
|
|
@ -8,12 +8,9 @@
|
||||||
|
|
||||||
<title>OpenSim - Kontrollzentrum - <?= $v['username'] ?> - <?= $v['title'] ?></title>
|
<title>OpenSim - Kontrollzentrum - <?= $v['username'] ?> - <?= $v['title'] ?></title>
|
||||||
|
|
||||||
<link href="./style/4Creative.ico" rel="icon">
|
<link href="./img/4Creative.ico" rel="icon">
|
||||||
<link href="./style/4Creative.ico" rel="apple-touch-icon">
|
<link href="./img/4Creative.ico" rel="apple-touch-icon">
|
||||||
<link href="./style/default/css/autocomplete.css" rel="stylesheet" type="text/css">
|
<link href="./style/sb-admin.min.css" rel="stylesheet"> <?= $v['custom-css'] ?>
|
||||||
<link href="./style/default/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
|
|
||||||
<link href="./style/default/vendor/datatables/dataTables.bootstrap4.css" rel="stylesheet">
|
|
||||||
<link href="./style/default/css/sb-admin.css" rel="stylesheet"> <?= isset($v['custom-css']) ? $v['custom-css'] : '' ?>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="page-top">
|
<body id="page-top">
|
||||||
|
@ -138,20 +135,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="./style/default/vendor/jquery/jquery.min.js"></script>
|
<script src="./js/vendor/jquery.min.js"></script>
|
||||||
<script src="./style/default/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="./js/vendor/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="./js/vendor/jquery.easing.min.js"></script>
|
||||||
<script src="./style/default/vendor/jquery-easing/jquery.easing.min.js"></script>
|
<script src="./js/sb-admin.min.js"></script>
|
||||||
|
|
||||||
<script src="./style/default/vendor/chart.js/Chart.min.js"></script>
|
|
||||||
<script src="./style/default/vendor/datatables/jquery.dataTables.js"></script>
|
|
||||||
<script src="./style/default/vendor/datatables/dataTables.bootstrap4.js"></script>
|
|
||||||
|
|
||||||
<script src="./style/default/js/sb-admin.min.js"></script>
|
|
||||||
|
|
||||||
<script src="./style/default/js/demo/datatables-demo.js"></script>
|
|
||||||
<script src="./style/default/js/demo/chart-area-demo.js"></script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -4,16 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title><?= $v['title'] ?></title>
|
<title><?= $v['title'] ?></title>
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/vendor/bootstrap/css/bootstrap.min.css">
|
<link rel="stylesheet" type="text/css" href="./style/login.min.css">
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/vendor/animate/animate.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/vendor/css-hamburgers/hamburgers.min.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/vendor/animsition/css/animsition.min.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/vendor/select2/select2.min.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/vendor/daterangepicker/daterangepicker.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/css/util.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style/login/css/main.css">
|
|
||||||
<link href="./style/4Creative.ico" rel="icon">
|
<link href="./style/4Creative.ico" rel="icon">
|
||||||
<link href="./style/4Creative.ico" rel="apple-touch-icon">
|
<link href="./style/4Creative.ico" rel="apple-touch-icon">
|
||||||
</head>
|
</head>
|
||||||
|
@ -29,14 +20,9 @@
|
||||||
|
|
||||||
<div id="dropDownSelect1"></div>
|
<div id="dropDownSelect1"></div>
|
||||||
|
|
||||||
<script src="./style/login/vendor/jquery/jquery-3.2.1.min.js"></script>
|
<script src="./js/vendor/jquery.min.js"></script>
|
||||||
<script src="./style/login/vendor/animsition/js/animsition.min.js"></script>
|
<script src="./js/vendor/bootstrap.bundle.min.js"></script>
|
||||||
<script src="./style/login/vendor/bootstrap/js/popper.js"></script>
|
<script src="./js/vendor/countdowntime.js"></script>
|
||||||
<script src="./style/login/vendor/bootstrap/js/bootstrap.min.js"></script>
|
<script src="./js/login-main.js"></script>
|
||||||
<script src="./style/login/vendor/select2/select2.min.js"></script>
|
|
||||||
<script src="./style/login/vendor/daterangepicker/moment.min.js"></script>
|
|
||||||
<script src="./style/login/vendor/daterangepicker/daterangepicker.js"></script>
|
|
||||||
<script src="./style/login/vendor/countdowntime/countdowntime.js"></script>
|
|
||||||
<script src="./style/login/js/main.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue