go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/casviewer/templates/includes/base.html (about)

     1  {{define "base"}}
     2  <!DOCTYPE html>
     3  <!--
     4    Copyright 2020 The LUCI Authors. All rights reserved.
     5    Use of this source code is governed under the Apache License, Version 2.0.
     6    that can be found in the LICENSE file.
     7  -->
     8  <html lang="en">
     9  <meta charset="utf-8">
    10  <meta name="google" value="notranslate">
    11  <title>CAS Viewer</title>
    12  <link type="text/css" rel="stylesheet" href="/static/css/app.css">
    13  
    14  <!-- TODO(crbug.com/1121471): apply style -->
    15  <body>
    16    <header>
    17      <h1>CAS Viewer</h1>
    18    </header>
    19    <section>
    20      <table>
    21        <tbody>
    22          <tr>
    23            <td>AppVersion:</td>
    24            <td><pre class="no-margin">{{ .AppVersion }}</pre></td>
    25          </tr>
    26          <tr>
    27            <td>User:</td>
    28            <td><pre class="no-margin">{{ .User.Email }}</pre></td>
    29          </tr>
    30          {{if .Instance}}
    31            <tr>
    32              <td>Instance:</td>
    33              <td><pre class="no-margin">{{ .Instance }}</pre></td>
    34            </tr>
    35          {{end}}
    36          {{if .Digest}}
    37            <tr>
    38              <td>Digest:</td>
    39              <td><pre class="no-margin">{{ .Digest }}</pre></td>
    40            </tr>
    41          {{end}}
    42        </tbody>
    43      </table>
    44    </section>
    45    <hr>
    46    <main>
    47      {{template "body" .}}
    48    </main>
    49  </body>
    50  </html>
    51  {{end}}