github.com/grafana/pyroscope@v1.18.0/pkg/operations/tool.blocks.index.gohtml (about)

     1  <!DOCTYPE html>
     2  <html class="h-100" data-bs-theme="dark">
     3  <head>
     4      <meta charset="UTF-8">
     5      <meta http-equiv="X-UA-Compatible" content="IE=edge">
     6      <meta name="viewport" content="width=device-width, initial-scale=1">
     7  
     8      <title>Bucket Blocks Explorer: Grafana Pyroscope</title>
     9  
    10      <link rel="stylesheet" href="/static/bootstrap-5.3.3.min.css">
    11      <link rel="stylesheet" href="/static/bootstrap-icons-1.8.1.css">
    12      <link rel="stylesheet" href="/static/pyroscope-styles.css">
    13      <script src="/static/bootstrap-5.3.3.bundle.min.js"></script>
    14  </head>
    15  <body class="d-flex flex-column h-100">
    16  <main class="flex-shrink-0">
    17      <div class="container">
    18          <div class="header row border-bottom py-3 flex-column-reverse flex-sm-row">
    19              <div class="col-12 col-sm-9 text-center text-sm-start">
    20                  <h3>Bucket Blocks Explorer: Grafana Pyroscope</h3>
    21              </div>
    22              <div class="col-12 col-sm-3 text-center text-sm-end mb-3 mb-sm-0">
    23                  <a href="tenants">
    24                      <img alt="Pyroscope logo" class="pyroscope-brand" src="/static/pyroscope-logo.png">
    25                  </a>
    26              </div>
    27          </div>
    28          <div class="row my-3">
    29              <h5>Tenants</h5>
    30              <div class="table-responsive">
    31                  <table class="table table-bordered table-hover table-striped">
    32                      <thead>
    33                      <tr>
    34                          <th>Id</th>
    35                      </tr>
    36                      </thead>
    37  
    38                      <tbody>
    39                      {{ range $i, $ := .Users }}
    40                          <tr>
    41                              <td class="align-middle font-monospace small">
    42                                  <a href='tenants/{{ . }}/blocks'>{{ . }}</a>
    43                              </td>
    44                          </tr>
    45                      {{ end }}
    46                      </tbody>
    47                  </table>
    48              </div>
    49          </div>
    50      </div>
    51  </main>
    52  <footer class="footer mt-auto py-3 bg-light">
    53      <div class="container">
    54          <small class="text-muted">Status @ {{ .Now }}</small>
    55      </div>
    56  </footer>
    57  </body>
    58  </html>