github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/backend/http/test/index_files/caddy.html (about) 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>/</title> 5 <meta charset="utf-8"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <style> 8 * { padding: 0; margin: 0; } 9 10 body { 11 font-family: sans-serif; 12 text-rendering: optimizespeed; 13 } 14 15 a { 16 color: #006ed3; 17 text-decoration: none; 18 } 19 20 a:hover, 21 h1 a:hover { 22 color: #319cff; 23 } 24 25 header, 26 #summary { 27 padding-left: 5%; 28 padding-right: 5%; 29 } 30 31 th:first-child, 32 td:first-child { 33 padding-left: 5%; 34 } 35 36 th:last-child, 37 td:last-child { 38 padding-right: 5%; 39 } 40 41 header { 42 padding-top: 25px; 43 padding-bottom: 15px; 44 background-color: #f2f2f2; 45 } 46 47 h1 { 48 font-size: 20px; 49 font-weight: normal; 50 white-space: nowrap; 51 overflow-x: hidden; 52 text-overflow: ellipsis; 53 } 54 55 h1 a { 56 color: inherit; 57 } 58 59 h1 a:hover { 60 text-decoration: underline; 61 } 62 63 main { 64 display: block; 65 } 66 67 .meta { 68 font-size: 12px; 69 font-family: Verdana, sans-serif; 70 border-bottom: 1px solid #9C9C9C; 71 padding-top: 10px; 72 padding-bottom: 10px; 73 } 74 75 .meta-item { 76 margin-right: 1em; 77 } 78 79 #filter { 80 padding: 4px; 81 border: 1px solid #CCC; 82 } 83 84 table { 85 width: 100%; 86 border-collapse: collapse; 87 } 88 89 tr { 90 border-bottom: 1px dashed #dadada; 91 } 92 93 tbody tr:hover { 94 background-color: #ffffec; 95 } 96 97 th, 98 td { 99 text-align: left; 100 padding: 10px 0; 101 } 102 103 th { 104 padding-top: 15px; 105 padding-bottom: 15px; 106 font-size: 16px; 107 white-space: nowrap; 108 } 109 110 th a { 111 color: black; 112 } 113 114 th svg { 115 vertical-align: middle; 116 } 117 118 td { 119 font-size: 14px; 120 } 121 122 td:first-child { 123 width: 50%; 124 } 125 126 th:last-child, 127 td:last-child { 128 text-align: right; 129 } 130 131 td:first-child svg { 132 position: absolute; 133 } 134 135 td .name, 136 td .goup { 137 margin-left: 1.75em; 138 word-break: break-all; 139 overflow-wrap: break-word; 140 white-space: pre-wrap; 141 } 142 143 footer { 144 padding: 40px 20px; 145 font-size: 12px; 146 text-align: center; 147 } 148 149 @media (max-width: 600px) { 150 .hideable { 151 display: none; 152 } 153 154 td:first-child { 155 width: auto; 156 } 157 158 th:nth-child(2), 159 td:nth-child(2) { 160 padding-right: 5%; 161 text-align: right; 162 } 163 } 164 </style> 165 </head> 166 <body> 167 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="0" width="0" style="position: absolute;"> 168 <defs> 169 <!-- Folder --> 170 <linearGradient id="f" y2="640" gradientUnits="userSpaceOnUse" x2="244.84" gradientTransform="matrix(.97319 0 0 1.0135 -.50695 -13.679)" y1="415.75" x1="244.84"> 171 <stop stop-color="#b3ddfd" offset="0"/> 172 <stop stop-color="#69c" offset="1"/> 173 </linearGradient> 174 <linearGradient id="e" y2="571.06" gradientUnits="userSpaceOnUse" x2="238.03" gradientTransform="translate(0,2)" y1="346.05" x1="236.26"> 175 <stop stop-color="#ace" offset="0"/> 176 <stop stop-color="#369" offset="1"/> 177 </linearGradient> 178 <g id="folder" transform="translate(-266.06 -193.36)"> 179 <g transform="matrix(.066019 0 0 .066019 264.2 170.93)"> 180 <g transform="matrix(1.4738 0 0 1.4738 -52.053 -166.93)"> 181 <path fill="#69c" d="m98.424 343.78c-11.08 0-20 8.92-20 20v48.5 33.719 105.06c0 11.08 8.92 20 20 20h279.22c11.08 0 20-8.92 20-20v-138.78c0-11.08-8.92-20-20-20h-117.12c-7.5478-1.1844-9.7958-6.8483-10.375-11.312v-5.625-11.562c0-11.08-8.92-20-20-20h-131.72z"/> 182 <rect rx="12.885" ry="12.199" height="227.28" width="366.69" y="409.69" x="54.428" fill="#369"/> 183 <path fill="url(#e)" d="m98.424 345.78c-11.08 0-20 8.92-20 20v48.5 33.719 105.06c0 11.08 8.92 20 20 20h279.22c11.08 0 20-8.92 20-20v-138.78c0-11.08-8.92-20-20-20h-117.12c-7.5478-1.1844-9.7958-6.8483-10.375-11.312v-5.625-11.562c0-11.08-8.92-20-20-20h-131.72z"/> 184 <rect rx="12.885" ry="12.199" height="227.28" width="366.69" y="407.69" x="54.428" fill="url(#f)"/> 185 </g> 186 </g> 187 </g> 188 189 <!-- File --> 190 <linearGradient id="a"> 191 <stop stop-color="#cbcbcb" offset="0"/> 192 <stop stop-color="#f0f0f0" offset=".34923"/> 193 <stop stop-color="#e2e2e2" offset="1"/> 194 </linearGradient> 195 <linearGradient id="d" y2="686.15" xlink:href="#a" gradientUnits="userSpaceOnUse" y1="207.83" gradientTransform="matrix(.28346 0 0 .31053 -608.52 485.11)" x2="380.1" x1="749.25"/> 196 <linearGradient id="c" y2="287.74" xlink:href="#a" gradientUnits="userSpaceOnUse" y1="169.44" gradientTransform="matrix(.28342 0 0 .31057 -608.52 485.11)" x2="622.33" x1="741.64"/> 197 <linearGradient id="b" y2="418.54" gradientUnits="userSpaceOnUse" y1="236.13" gradientTransform="matrix(.29343 0 0 .29999 -608.52 485.11)" x2="330.88" x1="687.96"> 198 <stop stop-color="#fff" offset="0"/> 199 <stop stop-color="#fff" stop-opacity="0" offset="1"/> 200 </linearGradient> 201 <g id="file" transform="translate(-278.15 -216.59)"> 202 <g fill-rule="evenodd" transform="matrix(.19775 0 0 .19775 381.05 112.68)"> 203 <path d="m-520.17 525.5v36.739 36.739 36.739 36.739h33.528 33.528 33.528 33.528v-36.739-36.739-36.739l-33.528-36.739h-33.528-33.528-33.528z" stroke-opacity=".36478" stroke-width=".42649" fill="#fff"/> 204 <g> 205 <path d="m-520.11 525.68v36.739 36.739 36.739 36.739h33.528 33.528 33.528 33.528v-36.739-36.739-36.739l-33.528-36.739h-33.528-33.528-33.528z" stroke-opacity=".36478" stroke="#000" stroke-width=".42649" fill="url(#d)"/> 206 <path d="m-386 562.42c-10.108-2.9925-23.206-2.5682-33.101-0.86253 1.7084-10.962 1.922-24.701-0.4271-35.877l33.528 36.739z" stroke-width=".95407pt" fill="url(#c)"/> 207 <path d="m-519.13 537-0.60402 134.7h131.68l0.0755-33.296c-2.9446 1.1325-32.692-40.998-70.141-39.186-37.483 1.8137-27.785-56.777-61.006-62.214z" stroke-width="1pt" fill="url(#b)"/> 208 </g> 209 </g> 210 </g> 211 212 <!-- Up arrow --> 213 <g id="up-arrow" transform="translate(-279.22 -208.12)"> 214 <path transform="matrix(.22413 0 0 .12089 335.67 164.35)" stroke-width="0" d="m-194.17 412.01h-28.827-28.827l14.414-24.965 14.414-24.965 14.414 24.965z"/> 215 </g> 216 217 <!-- Down arrow --> 218 <g id="down-arrow" transform="translate(-279.22 -208.12)"> 219 <path transform="matrix(.22413 0 0 -.12089 335.67 257.93)" stroke-width="0" d="m-194.17 412.01h-28.827-28.827l14.414-24.965 14.414-24.965 14.414 24.965z"/> 220 </g> 221 </defs> 222 </svg> 223 224 <header> 225 <h1> 226 <a href="/">/</a> 227 </h1> 228 </header> 229 <main> 230 <div class="meta"> 231 <div id="summary"> 232 <span class="meta-item"><b>4</b> directories</span> 233 <span class="meta-item"><b>4</b> files</span> 234 <span class="meta-item"><input type="text" placeholder="filter" id="filter" onkeyup='filter()'></span> 235 </div> 236 </div> 237 <div class="listing"> 238 <table aria-describedby="summary"> 239 <thead> 240 <tr> 241 <th> 242 <a href="?sort=name&order=desc">Name <svg width="1em" height=".4em" version="1.1" viewBox="0 0 12.922194 6.0358899"><use xlink:href="#up-arrow"></use></svg></a> 243 </th> 244 <th> 245 <a href="?sort=size&order=asc">Size</a> 246 </th> 247 <th class="hideable"> 248 <a href="?sort=time&order=asc">Modified</a> 249 </th> 250 </tr> 251 </thead> 252 <tbody> 253 <tr class="file"> 254 <td> 255 <a href="./mimetype.zip"> 256 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 26.604381 29.144726"><use xlink:href="#file"></use></svg> 257 <span class="name">mimetype.zip</span> 258 </a> 259 </td> 260 <td data-order="783696">765 KiB</td> 261 <td class="hideable"><time datetime="2016-04-04T15:36:49Z">04/04/2016 03:36:49 PM +00:00</time></td> 262 </tr> 263 <tr class="file"> 264 <td> 265 <a href="./rclone-delete-empty-dirs.py"> 266 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 26.604381 29.144726"><use xlink:href="#file"></use></svg> 267 <span class="name">rclone-delete-empty-dirs.py</span> 268 </a> 269 </td> 270 <td data-order="1271">1.2 KiB</td> 271 <td class="hideable"><time datetime="2016-10-26T16:05:08Z">10/26/2016 04:05:08 PM +00:00</time></td> 272 </tr> 273 <tr class="file"> 274 <td> 275 <a href="./rclone-show-empty-dirs.py"> 276 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 26.604381 29.144726"><use xlink:href="#file"></use></svg> 277 <span class="name">rclone-show-empty-dirs.py</span> 278 </a> 279 </td> 280 <td data-order="868">868 B</td> 281 <td class="hideable"><time datetime="2016-10-26T09:29:34Z">10/26/2016 09:29:34 AM +00:00</time></td> 282 </tr> 283 <tr class="file"> 284 <td> 285 <a href="./stat-windows-386.zip"> 286 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 26.604381 29.144726"><use xlink:href="#file"></use></svg> 287 <span class="name">stat-windows-386.zip</span> 288 </a> 289 </td> 290 <td data-order="704960">688 KiB</td> 291 <td class="hideable"><time datetime="2016-08-14T20:44:58Z">08/14/2016 08:44:58 PM +00:00</time></td> 292 </tr> 293 <tr class="file"> 294 <td> 295 <a href="./v1.36-155-gcf29ee8b-team-drive%CE%B2/"> 296 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 35.678803 28.527945"><use xlink:href="#folder"></use></svg> 297 <span class="name">v1.36-155-gcf29ee8b-team-driveβ</span> 298 </a> 299 </td> 300 <td data-order="-1">—</td> 301 <td class="hideable"><time datetime="2017-06-01T21:28:09Z">06/01/2017 09:28:09 PM +00:00</time></td> 302 </tr> 303 <tr class="file"> 304 <td> 305 <a href="./v1.36-156-gca76b3fb-team-drive%CE%B2/"> 306 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 35.678803 28.527945"><use xlink:href="#folder"></use></svg> 307 <span class="name">v1.36-156-gca76b3fb-team-driveβ</span> 308 </a> 309 </td> 310 <td data-order="-1">—</td> 311 <td class="hideable"><time datetime="2017-06-04T08:53:04Z">06/04/2017 08:53:04 AM +00:00</time></td> 312 </tr> 313 <tr class="file"> 314 <td> 315 <a href="./v1.36-156-ge1f0e0f5-team-drive%CE%B2/"> 316 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 35.678803 28.527945"><use xlink:href="#folder"></use></svg> 317 <span class="name">v1.36-156-ge1f0e0f5-team-driveβ</span> 318 </a> 319 </td> 320 <td data-order="-1">—</td> 321 <td class="hideable"><time datetime="2017-06-02T10:38:05Z">06/02/2017 10:38:05 AM +00:00</time></td> 322 </tr> 323 <tr class="file"> 324 <td> 325 <a href="./v1.36-22-g06ea13a-ssh-agent%CE%B2/"> 326 <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 35.678803 28.527945"><use xlink:href="#folder"></use></svg> 327 <span class="name">v1.36-22-g06ea13a-ssh-agentβ</span> 328 </a> 329 </td> 330 <td data-order="-1">—</td> 331 <td class="hideable"><time datetime="2017-04-10T13:58:02Z">04/10/2017 01:58:02 PM +00:00</time></td> 332 </tr> 333 </tbody> 334 </table> 335 </div> 336 </main> 337 <footer> 338 Served with <a rel="noopener noreferrer" href="https://caddyserver.com">Caddy</a> 339 </footer> 340 <script> 341 var filterEl = document.getElementById('filter'); 342 function filter() { 343 var q = filterEl.value.trim().toLowerCase(); 344 var elems = document.querySelectorAll('tr.file'); 345 elems.forEach(function(el) { 346 if (!q) { 347 el.style.display = ''; 348 return; 349 } 350 var nameEl = el.querySelector('.name'); 351 var nameVal = nameEl.textContent.trim().toLowerCase(); 352 if (nameVal.indexOf(q) !== -1) { 353 el.style.display = ''; 354 } else { 355 el.style.display = 'none'; 356 } 357 }); 358 } 359 360 function localizeDatetime(e, index, ar) { 361 if (e.textContent === undefined) { 362 return; 363 } 364 var d = new Date(e.getAttribute('datetime')); 365 if (isNaN(d)) { 366 d = new Date(e.textContent); 367 if (isNaN(d)) { 368 return; 369 } 370 } 371 e.textContent = d.toLocaleString(); 372 } 373 var timeList = Array.prototype.slice.call(document.getElementsByTagName("time")); 374 timeList.forEach(localizeDatetime); 375 </script> 376 </body> 377 </html> 378