|
18 | 18 | <!-- Image Viewer Section --> |
19 | 19 | <div class="container mt-2"> |
20 | 20 | <div class="d-flex justify-content-center"> |
21 | | - <div class="input-group" style="max-width: 500px;"> |
22 | | - <input type="text" id="cdn-url" class="form-control" placeholder="Enter CDN URL" aria-label="CDN"> |
23 | | - <button class="btn btn-dark" id="view-image-btn" type="button">Go</button> |
24 | | - </div> |
| 21 | + <div class="input-group" style="max-width: 500px;"> |
| 22 | + <input type="text" id="cdn-url" class="form-control" placeholder="Enter CDN URL" aria-label="CDN"> |
| 23 | + <button class="btn btn-dark" id="view-image-btn" type="button">Go</button> |
| 24 | + </div> |
| 25 | + |
25 | 26 | </div> |
26 | 27 | </div> |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + <!-- Image Display Section --> |
| 32 | + <div class="container mt-2 d-flex justify-content-center px-1"> |
| 33 | + <img id="image-display" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="> |
| 34 | + </div> |
27 | 35 |
|
28 | 36 | <!-- Pagination Section --> |
29 | | - <div class="container mt-2 "> |
| 37 | + <div class="container my-2 "> |
30 | 38 | <div class="d-flex justify-content-center align-items-center"> |
31 | 39 |
|
32 | 40 | <button class="btn btn-dark me-3" id="first-btn"> |
|
51 | 59 | </div> |
52 | 60 | </div> |
53 | 61 |
|
54 | | - |
55 | | - <!-- Image Display Section --> |
56 | | - <div class="container mt-2 d-flex justify-content-center px-1"> |
57 | | - <img id="image-display" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="> |
58 | | - </div> |
59 | | - |
60 | 62 | <script> |
61 | 63 | document.addEventListener('DOMContentLoaded', () => { |
62 | 64 | const cdnUrlInput = document.getElementById('cdn-url'); |
|
138 | 140 | nextBtn.addEventListener('click', () => navigateToPage(currentPage + 1)); |
139 | 141 | lastBtn.addEventListener('click', () => navigateToPage(maxPage)); |
140 | 142 | }); |
141 | | - </script> |
| 143 | + </script> |
142 | 144 |
|
143 | 145 | <script> |
144 | 146 | // Dynamically load the navbar |
|
0 commit comments