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 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. $relativePath = "../";
  3. ob_start();
  4. ?>
  5. <div class="admin-container" style="display: flex">
  6. <div class="my-5" style="margin: auto">
  7. <div class="border p-2">
  8. <p style="text-align: center">Modifier la quantité disponible de chaque article en stock</p>
  9. <div style="display: flex">
  10. <a href="stock.php" style="margin: auto">
  11. <button class="btn btn-success btn-lg">Gestion du stocks</button>
  12. </a>
  13. </div>
  14. </div>
  15. <div class="border p-2 mt-2">
  16. <p style="text-align: center">
  17. Créer des articles et des catégories d'articles.
  18. <br/>
  19. C'est ici que tu peux choisir le nom, la description, l'image le code et autre pour chaque article.
  20. </p>
  21. <div style="display: flex">
  22. <div style="margin: auto">
  23. <a href="articles.php" style="margin: auto" class="mx-1">
  24. <button class="btn btn-primary btn-lg">Créer/Éditer des articles</button>
  25. </a>
  26. <a href="categories.php" style="margin: auto" class="mx-1">
  27. <button class="btn btn-primary btn-lg">Créer/Éditer des catégories</button>
  28. </a>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="border p-2 mt-2">
  33. <p style="text-align: center">
  34. Rendre l'inventaire publique.
  35. <br/>
  36. Mettre en ligne l'inventaire permet aux étudiants d'y avoir accès en utilisant l'appli Campus.
  37. </p>
  38. <div style="display: flex">
  39. <button id="uploadButton" class="btn btn-warning btn-lg" style="margin: auto">Mettre l'inventaire en ligne
  40. </button>
  41. </div>
  42. </div>
  43. <div class="border p-2 mt-2">
  44. <p style="text-align: center">
  45. <strong>Un problème ?</strong>
  46. <br/>
  47. Tu peux contacter le développeur de ce site si jamais tu rencontres des problèmes.
  48. </p>
  49. <div style="display: flex">
  50. <button id="errorButton" class="btn btn-danger btn-lg" style="margin: auto">
  51. Contacter le développeur
  52. </button>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/admin.css" media="screen,projection"/>
  58. <?php
  59. $pageContent = ob_get_clean();
  60. $pageTitle = "Admin";
  61. $pageScripts =
  62. "
  63. <script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/jquery-confirm-defaults.js\"></script>
  64. <script type=\"text/javascript\" src=\"" . $relativePath . "assets/js/index.js\"></script>
  65. ";
  66. include($relativePath . "includes/template.php");
  67. ?>