2020-02-11 14:32:23 +01:00
|
|
|
<?php
|
|
|
|
$relativePath = "../";
|
|
|
|
|
|
|
|
ob_start();
|
|
|
|
?>
|
|
|
|
<div class="admin-container">
|
|
|
|
|
|
|
|
<a href="index.php">
|
|
|
|
<button class="btn btn-primary btn-large">Retour</button>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<h1 class="text-center"><?= $pageTitle ?></h1>
|
|
|
|
|
|
|
|
<div style="display: flex">
|
|
|
|
<button class="btn btn-success" style="margin: auto" onclick="listManager.showEditPopup(-1)">
|
|
|
|
<i class="mdi mdi-plus"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="listContainer">
|
|
|
|
<ul id="dataList">
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2020-02-15 11:44:33 +01:00
|
|
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/libs/materialdesignicons.min.css" media="screen,projection"/>
|
2020-02-11 14:32:23 +01:00
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/admin.css" media="screen,projection"/>
|
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/categories.css" media="screen,projection"/>
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
$pageContent = ob_get_clean();
|
|
|
|
$pageScripts =
|
|
|
|
"
|
|
|
|
<script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/jquery-confirm-defaults.js\"></script>
|
|
|
|
<script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/ajaxManager.js\"></script>
|
|
|
|
<script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/listManager.js\"></script>
|
|
|
|
";
|
|
|
|
$pageScripts .= $script;
|
|
|
|
include($relativePath . "includes/template.php");
|
|
|
|
?>
|