|
6 | 6 | <title>Gitxray Report</title> |
7 | 7 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> |
8 | 8 |
|
9 | | - |
10 | 9 | <style> |
11 | | - body { |
12 | | - padding-top: 20px; |
13 | | - padding-bottom: 20px; |
14 | | - } |
15 | | - .sidebar { |
16 | | - position: fixed; |
17 | | - top: 0; |
18 | | - left: 0; |
19 | | - height: 100%; |
20 | | - width: 260px; |
21 | | - background-color: #f8f9fa; |
22 | | - padding-top: 20px; |
23 | | - box-shadow: 2px 0 5px rgba(0,0,0,0.1); |
24 | | - overflow-y: auto; |
25 | | - } |
26 | | - .sidebar a { |
27 | | - display: block; |
28 | | - padding: 10px 20px; |
29 | | - color: #333; |
30 | | - text-decoration: none; |
31 | | - } |
32 | | - .sidebar a:hover { |
33 | | - background-color: #e9ecef; |
34 | | - color: #000; |
35 | | - } |
36 | | - |
37 | | - .sidebar-header { |
38 | | - font-weight: bold; |
39 | | - padding: 0.5rem 1rem; |
40 | | - color: #ffffff; |
41 | | - background-color: #007bff; |
42 | | - border-radius: 0.25rem; |
43 | | - } |
44 | | - @media (max-width: 768px) { |
45 | | - .sidebar { |
46 | | - width: 100%; |
47 | | - height: auto; |
48 | | - position: relative; |
49 | | - } |
50 | | - .content { |
51 | | - margin-left: 0; |
52 | | - } |
53 | | - } |
54 | | - .highlight-warning { |
55 | | - background-color: yellow !important; |
| 10 | + body { padding-top: 20px; padding-bottom: 20px; } |
| 11 | + .sidebar { position: fixed; top: 0; left: 0; height: 100%; width: 260px; background-color: #f8f9fa; padding-top: 20px; box-shadow: 2px 0 5px rgba(0,0,0,0.1); overflow-y: auto; } |
| 12 | + .sidebar a { display: block; padding: 10px 20px; color: #333; text-decoration: none; } |
| 13 | + .sidebar a:hover { background-color: #e9ecef; color: #000; } |
| 14 | + .sidebar-header { font-weight: bold; padding: 0.5rem 1rem; color: #ffffff; background-color: #007bff; border-radius: 0.25rem; } |
| 15 | + @media (max-width: 768px) { |
| 16 | + .sidebar { width: 100%; height: auto; position: relative; } |
| 17 | + .content { margin-left: 0; } |
56 | 18 | } |
| 19 | + .highlight-warning { background-color: yellow !important; } |
57 | 20 | </style> |
58 | 21 | </head> |
59 | 22 | <body> |
@@ -169,10 +132,26 @@ <h5 class="card-title">Terms of Use</h5> |
169 | 132 | </div> |
170 | 133 | </div> |
171 | 134 |
|
172 | | - <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script> |
173 | | - |
174 | | - |
175 | 135 | <script> |
| 136 | + document.addEventListener('DOMContentLoaded', function() { |
| 137 | + document.querySelectorAll('[data-bs-toggle="collapse"]').forEach(function(trigger) { |
| 138 | + trigger.addEventListener('click', function(event) { |
| 139 | + const selector = this.getAttribute('data-bs-target') || this.getAttribute('href'); |
| 140 | + if (!selector) return; |
| 141 | + const target = document.querySelector(selector); |
| 142 | + if (target) { |
| 143 | + if (target.classList.contains('show')) { |
| 144 | + target.classList.remove('show'); |
| 145 | + target.style.display = 'none'; |
| 146 | + } else { |
| 147 | + target.classList.add('show'); |
| 148 | + target.style.display = 'block'; |
| 149 | + } |
| 150 | + } |
| 151 | + }); |
| 152 | + }); |
| 153 | + }); |
| 154 | + |
176 | 155 | document.addEventListener('DOMContentLoaded', function () { |
177 | 156 | document.querySelectorAll('table').forEach((table) => { |
178 | 157 | const searchContainer = document.createElement('div'); |
|
0 commit comments