|
57 | 57 | font-size: 18px; |
58 | 58 | } |
59 | 59 |
|
| 60 | +#jobs { |
| 61 | + display: inline flex; |
| 62 | +} |
| 63 | + |
| 64 | +#show-jobs { |
| 65 | + float: inline-start; |
| 66 | +} |
| 67 | + |
60 | 68 | .padded-page { |
61 | 69 | padding: 20px 27px 20px 27px; |
62 | 70 | } |
|
397 | 405 | content-visibility: hidden; |
398 | 406 | } |
399 | 407 | </style> |
| 408 | +<style id="hide-running"> |
| 409 | +.log-container:not( |
| 410 | + :has(.job-info-done), |
| 411 | + :has(.job-info-fatal), |
| 412 | + :has(.job-info-aborted) |
| 413 | +) { |
| 414 | + display: none; |
| 415 | + content-visibility: hidden; |
| 416 | +} |
| 417 | +</style> |
| 418 | +<style id="hide-done"> |
| 419 | +.log-container:has(.job-info-done) { |
| 420 | + display: none; |
| 421 | + content-visibility: hidden; |
| 422 | +} |
| 423 | +</style> |
| 424 | +<style id="hide-fatal"> |
| 425 | +.log-container:has(.job-info-fatal) { |
| 426 | + display: none; |
| 427 | + content-visibility: hidden; |
| 428 | +} |
| 429 | +</style> |
| 430 | +<style id="hide-aborted"> |
| 431 | +.log-container:has(.job-info-aborted) { |
| 432 | + display: none; |
| 433 | + content-visibility: hidden; |
| 434 | +} |
| 435 | +</style> |
400 | 436 | <div id="context-menu"></div> |
401 | 437 | <div class="padded-page"> |
402 | 438 | <div class="header"> |
|
409 | 445 | <input id="set-filter-none" onclick="ds.setFilter('^$');" type="button" value="None" class="button"> |
410 | 446 | <input type="checkbox" id="show-all-headers" onclick="ds.showAllHeaders(this.checked);"> |
411 | 447 | <label for="show-all-headers">All headers</label> |
| 448 | + <details id="jobs"> |
| 449 | + <summary>Jobs</summary> |
| 450 | + <div id="show-jobs"> |
| 451 | + <input type="checkbox" id="show-running-jobs" onclick="ds.showRunningJobs(this.checked);" accesskey="r"> |
| 452 | + <label for="show-running-jobs">Running</label><br> |
| 453 | + <input type="checkbox" id="show-finished-jobs" onclick="ds.showFinishedJobs(this.checked);" accesskey="d"> |
| 454 | + <label class="job-info-done" for="show-finished-jobs">Finished</label><br> |
| 455 | + <input type="checkbox" id="show-fatal-jobs" onclick="ds.showFatalJobs(this.checked);" accesskey="c"> |
| 456 | + <label class="job-info-fatal" for="show-fatal-jobs">Fatal</label><br> |
| 457 | + <input type="checkbox" id="show-aborted-jobs" onclick="ds.showAbortedJobs(this.checked);" accesskey="s"> |
| 458 | + <label class="job-info-aborted" for="show-aborted-jobs">Aborted</label><br> |
| 459 | + </div> |
| 460 | + </details> |
412 | 461 | </div> |
413 | 462 | <div id="header-right"> |
414 | 463 | <div id="meta-info"><span class="adbox">😊</span></div> |
|
458 | 507 | <li><kbd>i</kbd> - use the initial job log filter |
459 | 508 | <li><kbd>v</kbd> - open the job URL of the first-shown job log |
460 | 509 | <li><kbd>h</kbd> - show/hide headers for hidden job logs |
| 510 | + <li><kbd>r</kbd> - show/hide header+log for running jobs |
| 511 | + <li><kbd>d</kbd> - show/hide header+log for finished jobs |
| 512 | + <li><kbd>c</kbd> - show/hide header+log for fatal jobs |
| 513 | + <li><kbd>s</kbd> - show/hide header+log for aborted jobs |
461 | 514 | <li><kbd>?</kbd> - show/hide help text |
462 | 515 | </ul> |
463 | 516 | <p> |
|
475 | 528 | <ul> |
476 | 529 | <li>To specify an initial filter, add <kbd><span class="url-q-or-amp">?</span>initialFilter=TEXT</kbd> to the dashboard URL. The default is <kbd>^$</kbd>.</li> |
477 | 530 | <li>To initially hide headers for hidden job logs, add <kbd><span class="url-q-or-amp">?</span>showAllHeaders=0</kbd> to the dashboard URL. The default is to show them.</li> |
| 531 | + <li>To initially hide different job types, add these to the dashboard URL. The default is to show them. |
| 532 | + <kbd><span class="url-q-or-amp">?</span>showRunningJobs=0</kbd> |
| 533 | + <kbd><span class="url-q-or-amp">?</span>showFinishedJobs=0</kbd> |
| 534 | + <kbd><span class="url-q-or-amp">?</span>showFatalJobs=0</kbd> |
| 535 | + <kbd><span class="url-q-or-amp">?</span>showAbortedJobs=0</kbd> |
| 536 | + </li> |
478 | 537 | <li>To retain more lines in the log windows, add <kbd><span class="url-q-or-amp">?</span>historyLines=1000</kbd> to the dashboard URL. The default is <code>500</code>, or <code>250</code> on mobile.</li> |
479 | 538 | <li>To update the dashboard more frequently, add <kbd><span class="url-q-or-amp">?</span>batchTimeWhenVisible=33</kbd> to the dashboard URL. The default is <code>125</code> (8 Hz).</li> |
480 | 539 | <li>To skip loading of recent (buffered) log data for jobs, add <kbd><span class="url-q-or-amp">?</span>loadRecent=0</kbd> to the dashboard URL. Inactive jobs will not appear.</li> |
|
0 commit comments