|
25 | 25 | </script>
|
26 | 26 | <style>
|
27 | 27 | body {
|
28 |
| - font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; |
| 28 | + font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; |
29 | 29 | background-color: #0d1117;
|
30 | 30 | color: #c9d1d9;
|
31 | 31 | padding: 16px;
|
32 | 32 | font-size: 14px;
|
33 | 33 | }
|
34 | 34 |
|
35 |
| - .monospace { |
36 |
| - font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; |
37 |
| - margin: 0; |
38 |
| - font-size: 85%; |
39 |
| - color: #fff; |
40 |
| - } |
41 |
| -
|
42 |
| - .test-name { |
43 |
| - font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; |
44 |
| - font-size: 1.15rem |
45 |
| - } |
46 |
| -
|
47 |
| - .metric { |
48 |
| - text-align: center; |
49 |
| - } |
50 |
| - .highlighted { |
51 |
| - background-color: #212c36; |
52 |
| - } |
53 | 35 | a {
|
54 | 36 | color: #4493f8;
|
55 | 37 | text-decoration: underline;
|
56 | 38 | text-underline-offset: .2rem;
|
57 | 39 | }
|
| 40 | +
|
58 | 41 | button {
|
59 | 42 | border: 1px solid #30363d;
|
60 | 43 | background-color: #1a1c26;
|
61 | 44 | padding: 5px;
|
62 | 45 | cursor: pointer;
|
| 46 | + opacity: 0.7; |
| 47 | + border-radius: 5px; |
| 48 | + transition: opacity 0.5s; |
63 | 49 | }
|
64 |
| - |
65 |
| - .container { |
66 |
| - max-width: 1280px; |
67 |
| - margin-right: auto; |
68 |
| - margin-left: auto; |
| 50 | +
|
| 51 | + button:hover { |
| 52 | + opacity: 1; |
69 | 53 | }
|
| 54 | +
|
70 | 55 | section {
|
71 | 56 | margin-bottom: 30px;
|
72 | 57 | border: 1px solid #30363d;
|
73 | 58 | border-radius: 6px;
|
74 | 59 | }
|
75 | 60 |
|
76 |
| - .section_content { |
77 |
| - padding: 15px; |
78 |
| - } |
79 |
| -
|
80 |
| - .no-border { |
81 |
| - border: none; |
82 |
| - } |
83 |
| -
|
84 | 61 | h1 {
|
85 | 62 | font-optical-sizing: auto;
|
86 | 63 | font-weight: 600;
|
87 | 64 | font-size: 2rem;
|
88 | 65 | }
|
| 66 | +
|
89 | 67 | h2 {
|
90 | 68 | font-size: 1.5rem;
|
91 | 69 | font-optical-sizing: auto;
|
|
120 | 98 | list-style: none;
|
121 | 99 | padding: 0;
|
122 | 100 | }
|
| 101 | +
|
123 | 102 | li {
|
124 | 103 | margin-bottom: 15px;
|
125 | 104 | }
|
| 105 | +
|
126 | 106 | table {
|
127 | 107 | border-collapse: collapse;
|
128 | 108 | margin-top: 15px;
|
129 | 109 | width: 100%;
|
130 | 110 | }
|
| 111 | +
|
131 | 112 | th, td {
|
132 | 113 | border: 1px solid #30363d;
|
133 | 114 | padding: 8px;
|
|
137 | 118 | overflow-x: auto;
|
138 | 119 | scrollbar-color: hotpink #0d1116;
|
139 | 120 | }
|
| 121 | +
|
140 | 122 | th {
|
141 | 123 | text-align: center;
|
142 | 124 | }
|
|
148 | 130 | scrollbar-color: hotpink #1a1b26;
|
149 | 131 | white-space: pre-wrap;
|
150 | 132 | }
|
151 |
| - |
| 133 | +
|
| 134 | + .monospace { |
| 135 | + font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; |
| 136 | + margin: 0; |
| 137 | + font-size: 85%; |
| 138 | + color: #fff; |
| 139 | + } |
| 140 | +
|
| 141 | + .test-name { |
| 142 | + font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; |
| 143 | + font-size: 1.15rem |
| 144 | + } |
| 145 | +
|
| 146 | + .metric { |
| 147 | + text-align: center; |
| 148 | + } |
| 149 | +
|
| 150 | + .highlighted { |
| 151 | + background-color: #212c36; |
| 152 | + } |
| 153 | +
|
| 154 | + .container { |
| 155 | + max-width: 1280px; |
| 156 | + margin-right: auto; |
| 157 | + margin-left: auto; |
| 158 | + } |
| 159 | +
|
| 160 | + .section_content { |
| 161 | + padding: 15px; |
| 162 | + } |
| 163 | +
|
| 164 | + .no-border { |
| 165 | + border: none; |
| 166 | + } |
| 167 | +
|
152 | 168 | .full-width {
|
153 | 169 | width: 100%;
|
154 | 170 | }
|
|
169 | 185 | animation: rotation 1s linear infinite;
|
170 | 186 | margin-right: 10px;
|
171 | 187 | }
|
| 188 | +
|
172 | 189 | .loader::after,
|
173 | 190 | .loader::before {
|
174 |
| - content: ''; |
| 191 | + content: ''; |
175 | 192 | box-sizing: border-box;
|
176 | 193 | position: absolute;
|
177 | 194 | left: 0;
|
|
182 | 199 | transform: translate(150%, 150%);
|
183 | 200 | border-radius: 50%;
|
184 | 201 | }
|
| 202 | +
|
185 | 203 | .loader::before {
|
186 | 204 | left: auto;
|
187 | 205 | top: auto;
|
|
199 | 217 | .testDescription {
|
200 | 218 | color: #9c9c9c;
|
201 | 219 | }
|
| 220 | +
|
| 221 | + .secondaryButton { |
| 222 | + font-size: 0.75rem; |
| 223 | + padding: 2px 10px; |
| 224 | + } |
| 225 | +
|
202 | 226 | @keyframes rotation {
|
203 | 227 | 0% {
|
204 | 228 | transform: rotate(0deg);
|
205 | 229 | }
|
206 | 230 | 100% {
|
207 | 231 | transform: rotate(360deg);
|
208 | 232 | }
|
209 |
| - } |
| 233 | + } |
210 | 234 | </style>
|
211 | 235 | </head>
|
212 | 236 | <body>
|
|
288 | 312 | <section>
|
289 | 313 | <h2>Connection objects</h2>
|
290 | 314 | <div class="section_content">
|
291 |
| - <h3>Source configuration <button class="monospace" onclick="copyToClipboard('config')">Copy</button></h3> |
| 315 | + <h3>Source configuration <button class="monospace secondaryButton" onclick="copyToClipboard('config')">📋 copy</button></h3> |
292 | 316 | <pre><code class="language-json" id="config">{{ source_config }}</code></pre>
|
293 | 317 | {% if state %}
|
294 |
| - <h3>State <button class="monospace" onclick="copyToClipboard('state')">Copy</button></h3> |
| 318 | + <h3>State <button class="monospace secondaryButton" onclick="copyToClipboard('state')">📋 copy</button></h3> |
295 | 319 | <pre><code class="language-json" id="state">{{ state }}</code>
|
296 | 320 | </pre>
|
297 | 321 | {% endif %}
|
298 |
| - <h3>Configured catalog <button class="monospace" onclick="copyToClipboard('configured-catalog')">Copy</button></h3> |
| 322 | + <h3>Configured catalog <button class="monospace secondaryButton" onclick="copyToClipboard('configured-catalog')">📋 copy</button></h3> |
299 | 323 | <pre><code class="language-json" id="configured-catalog">{{ configured_catalog }}</code></pre>
|
300 |
| - <h3>Catalog <button class="monospace" onclick="copyToClipboard('catalog')">Copy</button></h3> |
| 324 | + <h3>Catalog <button class="monospace secondaryButton" onclick="copyToClipboard('catalog')">📋 copy</button></h3> |
301 | 325 | <pre><code class="language-json" id="catalog">{{ catalog }}</code></pre>
|
302 | 326 | </div>
|
303 | 327 | </section>
|
|
390 | 414 | <th>duplicate request count</th>
|
391 | 415 | <th>cache hit ratio</th>
|
392 | 416 | <th>request count</th>
|
393 |
| - </tr> |
| 417 | + </tr> |
394 | 418 | <tbody>
|
395 | 419 | {% for command in http_metrics_per_command %}
|
396 | 420 | <tr>
|
|
417 | 441 | <h2><span class="loader"></span>Requested URLs</h2>
|
418 | 442 | {% else%}
|
419 | 443 | <h2>Requested URLs</h2>
|
420 |
| - {% endif %} |
| 444 | + {% endif %} |
421 | 445 | <div class="section_content">
|
422 | 446 | {% for command, flows in requested_urls_per_command.items() %}
|
423 | 447 | <h3>{{ command.value.upper() }}</h3>
|
|
453 | 477 | <h2><span class="loader"></span>Test results</h2>
|
454 | 478 | {% else%}
|
455 | 479 | <h2>Test results</h2>
|
456 |
| - {% endif %} |
| 480 | + {% endif %} |
457 | 481 | <div class="section_content">
|
458 | 482 | {% for test in test_results %}
|
459 | 483 | <div class="test-result">
|
|
0 commit comments