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.

index.php 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. $relativePath = "../";
  3. ob_start();
  4. ?>
  5. <div class="admin-container" style="display: flex">
  6. <div style="margin: auto">
  7. <div style="display: flex" class="my-5">
  8. <a href="stock.php" style="margin: auto">
  9. <button class="btn btn-success btn-lg">Gestion du stocks</button>
  10. </a>
  11. </div>
  12. <div class="my-5" style="display: flex">
  13. <a href="articles.php" style="margin: auto" class="mx-1">
  14. <button class="btn btn-primary btn-lg">Créer/Éditer des articles</button>
  15. </a>
  16. <a href="categories.php" style="margin: auto" class="mx-1">
  17. <button class="btn btn-primary btn-lg">Créer/Éditer des catégories</button>
  18. </a>
  19. </div>
  20. <div style="display: flex" class="my-5">
  21. <button id="uploadButton" class="btn btn-warning btn-lg" style="margin: auto">Mettre l'inventaire en ligne
  22. </button>
  23. </div>
  24. </div>
  25. </div>
  26. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/admin.css" media="screen,projection"/>
  27. <?php
  28. $pageContent = ob_get_clean();
  29. $pageTitle = "Admin";
  30. $pageScripts =
  31. "
  32. <script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/jquery-confirm-defaults.js\"></script>
  33. <script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/index.js\"></script>
  34. ";
  35. include($relativePath . "includes/template.php");
  36. ?>