github.com/grafana/pyroscope@v1.18.0/pkg/api/index.gohtml (about)

     1  {{- /*gotype: github.com/grafana/pyroscope/pkg/api.indexPageContents */ -}}
     2  <!DOCTYPE html>
     3  <html data-bs-theme="dark">
     4  <head>
     5      <meta charset="UTF-8">
     6      <meta http-equiv="X-UA-Compatible" content="IE=edge">
     7      <meta name="viewport" content="width=device-width, initial-scale=1">
     8  
     9      <title>Grafana Pyroscope</title>
    10  
    11      <link rel="stylesheet" href="{{ AddPathPrefix "/static/bootstrap-5.3.3.min.css" }}">
    12      <link rel="stylesheet" href="{{ AddPathPrefix "/static/pyroscope-styles.css" }}">
    13      <script src="{{ AddPathPrefix "/static/bootstrap-5.3.3.bundle.min.js" }}"></script>
    14  </head>
    15  <body>
    16  <div class="d-flex flex-column container py-3">
    17      <div class="header row border-bottom py-3 flex-column-reverse flex-sm-row">
    18          <div class="col-12 col-sm-9 text-center text-sm-start">
    19              <h1>Grafana Pyroscope Admin</h1>
    20          </div>
    21          <div class="col-12 col-sm-3 text-center text-sm-end mb-3 mb-sm-0">
    22              <a href="{{AddPathPrefix "/"}}">
    23                   <img alt="pyroscope logo" class="pyroscope-brand" src="{{ AddPathPrefix "/static/pyroscope-logo.png" }}">
    24              </a>
    25          </div>
    26      </div>
    27      {{ range $i, $ := .LinkGroups }}
    28          <div class="row service-row border-bottom py-3">
    29              <div class="col-sm-3 text-start text-sm-end"><h2>{{ $.Desc }}</h2></div>
    30              <div class="col-sm-9">
    31                  <ul class="my-0 list-unstyled">
    32                      {{ range $.Links }}
    33                          <li><a href="{{ AddPathPrefix .Path }}">{{ .Desc }}</a>
    34                              {{ if .Dangerous }}<span
    35                                      class="badge bg-danger rounded-pill align-middle">Dangerous</span>{{ end }}</li>
    36                      {{ end }}
    37                  </ul>
    38              </div>
    39          </div>
    40      {{ end }}
    41  </div>
    42  </body>
    43  </html>