Site du proximo, utilisé pour gérer le stock.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

template.php 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. $relativePath = "../";
  3. ob_start();
  4. ?>
  5. <div class="admin-container">
  6. <a href="index.php">
  7. <button class="btn btn-primary btn-large">Retour</button>
  8. </a>
  9. <h1 class="text-center"><?= $pageTitle ?></h1>
  10. <div style="display: flex">
  11. <button class="btn btn-success" style="margin: auto" onclick="listManager.showEditPopup(-1)">
  12. <i class="mdi mdi-plus"></i>
  13. </button>
  14. </div>
  15. <div id="listContainer">
  16. <ul id="dataList">
  17. </ul>
  18. </div>
  19. </div>
  20. <link type="text/css" rel="stylesheet" href="https://cdn.materialdesignicons.com/4.4.95/css/materialdesignicons.min.css"
  21. media="screen,projection"/>
  22. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/admin.css" media="screen,projection"/>
  23. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/categories.css" media="screen,projection"/>
  24. <?php
  25. $pageContent = ob_get_clean();
  26. $pageScripts =
  27. "
  28. <script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/jquery-confirm-defaults.js\"></script>
  29. <script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/ajaxManager.js\"></script>
  30. <script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/listManager.js\"></script>
  31. ";
  32. $pageScripts .= $script;
  33. include($relativePath . "includes/template.php");
  34. ?>