cms.historique.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. $json = "/json.php?jsonData=historique";
  3. if(core::isDebug()){
  4. debug::log(debug::getBadge($json, "OUVRIR LE JSON : ".$json), "JSON chargé en arrière plan");
  5. }
  6. ?>
  7. <header class="d-flex flex-column flex-md-row align-items-md-center p-3 bg-light ">
  8. <h2 class="bd-title" id="content">
  9. <span>Administration : Historique</span>
  10. </h2>
  11. </header>
  12. <?php
  13. echo core::filAriane(array(
  14. "current" => "Historique",
  15. "arbo" => array(
  16. "Administration" => NULL,
  17. "Historique" => "/historique.html")
  18. ));
  19. ?>
  20. <div>
  21. <table
  22. id="table"
  23. class="table-striped table-hover table-sm"
  24. data-page-size="25"
  25. data-toggle="table"
  26. data-show-columns="true"
  27. data-search="true"
  28. data-buttons-align="left"
  29. data-pagination="true"
  30. data-filter-control="true"
  31. data-flat="true"
  32. data-sort-name="addDate"
  33. data-sort-order="desc"
  34. data-url="<?php echo $json ?>">
  35. <thead>
  36. <tr>
  37. <th data-sortable="true" data-field="addDate" data-filter-control="input" data-width="160">Date</th>
  38. <th data-sortable="true" data-field="type" data-filter-control="select" data-width="100">Type</th>
  39. <th data-sortable="true" data-field="page" data-filter-control="input" data-width="250">Page</th>
  40. <th data-sortable="true" data-field="log" data-filter-control="input">Log</th>
  41. <th data-sortable="true" data-field="user" data-filter-control="select" data-width="160">Utilisateur</th>
  42. </tr>
  43. </thead>
  44. </table>
  45. </div>