admin.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <link rel="stylesheet" href="assets/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="assets/css/style.css">
  8. <script src="assets/js/bootstrap.min.js"></script>
  9. <link rel="icon" href="assets/img/favicon.ico">
  10. <title>Водить.РФ</title>
  11. </head>
  12. <body>
  13. <?php include "assets/includes/header.php" ?>
  14. <button class="btn btn-dark">VIP</button>
  15. <script>
  16. function filterCards(type){
  17. const cards = document.querySelectorAll('.card-item');
  18. cards.forEach(card => {
  19. if(type == 'all'){
  20. card.style.display = 'block';
  21. }
  22. else if(card.dataset.type == type){
  23. card.style.display = 'block';
  24. }
  25. else{
  26. card.style.display = 'none';
  27. }
  28. });
  29. }
  30. </script>
  31. <!-- -->
  32. <nav aria-label="Page navigation example">
  33. <ul class="pagination">
  34. <li class="page-item"><a class="page-link" href="#">Previous</a></li>
  35. <li class="page-item"><a class="page-link" href="#">1</a></li>
  36. <li class="page-item"><a class="page-link" href="#">2</a></li>
  37. <li class="page-item"><a class="page-link" href="#">3</a></li>
  38. <li class="page-item"><a class="page-link" href="#">Next</a></li>
  39. </ul>
  40. </nav>
  41. <button type="button" class="btn btn-primary" id="liveToastBtn">Show live toast</button>
  42. <div class="toast-container position-fixed bottom-0 end-0 p-3">
  43. <div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
  44. <div class="toast-header">
  45. <img src="..." class="rounded me-2" alt="...">
  46. <strong class="me-auto">Bootstrap</strong>
  47. <small>11 mins ago</small>
  48. <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
  49. </div>
  50. <div class="toast-body">
  51. Hello, world! This is a toast message.
  52. </div>
  53. </div>
  54. </div>
  55. <script>const toastTrigger = document.getElementById('liveToastBtn')
  56. const toastLiveExample = document.getElementById('liveToast')
  57. if (toastTrigger) {
  58. const toastBootstrap = bootstrap.Toast.getOrCreateInstance(toastLiveExample)
  59. toastTrigger.addEventListener('click', () => {
  60. toastBootstrap.show()
  61. })
  62. }</script>
  63. </body>
  64. </html>