go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/deploy/service/templates/pages/index.html (about)

     1  {{define "style"}}
     2  #assets-table {
     3    table-layout: fixed;
     4  }
     5  {{end}}
     6  
     7  {{define "content"}}
     8  
     9  {{template "breadcrumbs" .}}
    10  
    11  <div class="container">
    12    <div class="row">
    13      <div class="col">
    14        <table class="table table-borderless" id="assets-table">
    15          <thead>
    16            <tr>
    17              <th class="col-4">Asset</th>
    18              <th class="col-2"
    19                  data-bs-toggle="popover"
    20                  data-bs-placement="top"
    21                  data-bs-trigger="hover"
    22                  data-bs-content="
    23                      The last time the actuator reported the current observed
    24                      state and Infrastructure-as-Code (IaC) configuration of
    25                      this asset.
    26                  ">
    27                Last check in
    28              </th>
    29              <th class="col-2"
    30                  data-bs-toggle="popover"
    31                  data-bs-placement="top"
    32                  data-bs-trigger="hover"
    33                  data-bs-content="
    34                      The last time the actuator tried to update the asset
    35                      to match the Infrastructure-as-Code (IaC) configuration
    36                      (successfully or not).
    37                  ">
    38                Last actuation
    39              </th>
    40              <th class="col-2"
    41                  data-bs-toggle="popover"
    42                  data-bs-placement="top"
    43                  data-bs-trigger="hover"
    44                  data-bs-content="
    45                      The revision of the Infrastructure-as-Code (IaC)
    46                      configuration the actuator successfully applied most
    47                      recently.
    48                  ">
    49                Applied revision
    50              </th>
    51              <th class="col-2">State</th>
    52            </tr>
    53          </thead>
    54          <tbody>
    55          {{range .Assets}}
    56            <tr class="{{.TableClass}}">
    57              <td>
    58                <a href="{{.Ref.Href}}">{{template "assetTitle" .Ref}}</a>
    59              </td>
    60              <td>{{template "linkHref" .LastCheckIn}}</td>
    61              <td>{{template "linkHref" .LastActuation}}</td>
    62              <td>{{template "linkHref" .Revision}}</td>
    63              <td>
    64                <a href="{{.Ref.Href}}">
    65                  <span class="badge {{.BadgeClass}}">{{.State}}</span>
    66                </a>
    67              </td>
    68            </tr>
    69          {{end}}
    70          </tbody>
    71        </table>
    72      </div>
    73    </div>
    74  </div>
    75  
    76  {{end}}