| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="assets/css/bootstrap.min.css">
- <link rel="stylesheet" href="assets/css/style.css">
- <script src="assets/js/bootstrap.min.js"></script>
- <link rel="icon" href="assets/img/favicon.ico">
- <title>Водить.РФ</title>
- </head>
- <body>
- <?php include "assets/includes/header.php" ?>
- <button class="btn btn-dark">VIP</button>
- <script>
- function filterCards(type){
- const cards = document.querySelectorAll('.card-item');
- cards.forEach(card => {
- if(type == 'all'){
- card.style.display = 'block';
- }
- else if(card.dataset.type == type){
- card.style.display = 'block';
- }
- else{
- card.style.display = 'none';
- }
- });
- }
- </script>
- <!-- -->
- <nav aria-label="Page navigation example">
- <ul class="pagination">
- <li class="page-item"><a class="page-link" href="#">Previous</a></li>
- <li class="page-item"><a class="page-link" href="#">1</a></li>
- <li class="page-item"><a class="page-link" href="#">2</a></li>
- <li class="page-item"><a class="page-link" href="#">3</a></li>
- <li class="page-item"><a class="page-link" href="#">Next</a></li>
- </ul>
- </nav>
- <button type="button" class="btn btn-primary" id="liveToastBtn">Show live toast</button>
- <div class="toast-container position-fixed bottom-0 end-0 p-3">
- <div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
- <div class="toast-header">
- <img src="..." class="rounded me-2" alt="...">
- <strong class="me-auto">Bootstrap</strong>
- <small>11 mins ago</small>
- <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
- </div>
- <div class="toast-body">
- Hello, world! This is a toast message.
- </div>
- </div>
- </div>
- <script>const toastTrigger = document.getElementById('liveToastBtn')
- const toastLiveExample = document.getElementById('liveToast')
- if (toastTrigger) {
- const toastBootstrap = bootstrap.Toast.getOrCreateInstance(toastLiveExample)
- toastTrigger.addEventListener('click', () => {
- toastBootstrap.show()
- })
- }</script>
- </body>
- </html>
|