github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/cmd/deck/template/index.html (about)

     1  {{define "title"}}Prow Status{{end}}
     2  
     3  {{define "scripts"}}
     4  <script type="text/javascript" src="/static/prow_bundle.min.js?v={{deckVersion}}"></script>
     5  <script type="text/javascript" src="prowjobs.js?var=allBuilds&omit=annotations,labels,decoration_config,pod_spec"></script>
     6  <script type="text/javascript">
     7    var spyglass = {{.SpyglassEnabled}};
     8    var rerunCreatesJob = {{.ReRunCreatesJob}};
     9  </script>
    10  {{end}}
    11  
    12  {{define "content"}}
    13  <button id="top-navigator" class="mdl-button mdl-js-button mdl-button--fab hidden">
    14    <i class="material-icons">arrow_upward</i>
    15  </button>
    16  <div class="page-content">
    17    <aside>
    18      <div id="filter-box" class="card-box">
    19        <ul id="filter-list" class="noBullets">
    20          <li>Filter</li>
    21          <li><select id="type"><option>all job types</option></select></li>
    22          <li><select id="repo"><option>all repositories</option></select></li>
    23          &gt;&gt;
    24          <li><select id="pull"><option>all pull requests</option></select></li>
    25          <li><select id="author"><option>all authors</option></select></li>
    26          <li>
    27            <div class="fuzzy-search" id="job">
    28              <input class="fuzzy-search-input" placeholder="Search job name, accepts '*' wildcards" type="text" id="job-input">
    29              <ul id="job-list" class="fuzzy-search-list"></ul>
    30            </div>
    31          </li>
    32          <li><select id="state"><option>all states</option></select></li>
    33          <li><select id="cluster"><option>all clusters</option></select></li>
    34          <li id="job-count"></li>
    35        </ul>
    36      </div>
    37      <div id="job-bar">
    38      <div id="job-bar-success" class="job-bar-state"></div>
    39      <div id="success-tooltip" class="mdl-tooltip" for="job-bar-success"></div>
    40      <div id="job-bar-pending" class="job-bar-state"></div>
    41      <div id="pending-tooltip" class="mdl-tooltip" for="job-bar-pending"></div>
    42      <div id="job-bar-triggered" class="job-bar-state"></div>
    43      <div id="triggered-tooltip" class="mdl-tooltip" for="job-bar-triggered"></div>
    44      <div id="job-bar-error" class="job-bar-state"></div>
    45  
    46      <div id="error-tooltip" class="mdl-tooltip" for="job-bar-error"></div>
    47      <div id="job-bar-failure" class="job-bar-state"></div>
    48      <div id="failure-tooltip" class="mdl-tooltip" for="job-bar-failure"></div>
    49      <div id="job-bar-aborted" class="job-bar-state"></div>
    50      <div id="aborted-tooltip" class="mdl-tooltip" for="job-bar-aborted"></div>
    51      <div id="job-bar-unknown" class="job-bar-state"></div>
    52      <div id="unknown-tooltip" class="mdl-tooltip" for="job-bar-unknown"></div>
    53      </div>
    54      <div id="job-histogram-container">
    55        <span id="job-histogram-labels-y-max"></span>
    56        <span id="job-histogram-labels-y-mid"></span>
    57        <table id="job-histogram"><tbody id="job-histogram-content"></tbody></table>
    58      </div>
    59      <div id="job-histogram-labels"><span id="job-histogram-end">Now</span><span id="job-histogram-start"></span><span id="job-histogram-summary"></span></div>
    60    </aside>
    61    <article>
    62      <div class="table-container">
    63        <table id="builds">
    64          <thead>
    65          <tr>
    66            <th class="icon-cell-32">State</th>
    67            <th class="icon-cell-32">Log</th>
    68            <th class="icon-cell-32">Rerun</th>
    69            <th class="icon-cell-32">Abort</th>
    70            <th>Job YML</th>
    71            <th>Repository</th>
    72            <th>Revision</th>
    73            <th>Spyglass</th>
    74            <th>Job</th>
    75            <th>Scheduled</th>
    76            <th>Duration</th>
    77          </tr>
    78          </thead>
    79          <tbody>
    80          </tbody>
    81        </table>
    82      </div>
    83    </article>
    84    <div id="rerun">
    85      <div class="modal-content"></div>
    86    </div>
    87  </div>
    88  {{end}}
    89  
    90  {{template "page" (settings mobileUnfriendly lightMode "index" .)}}