github.com/google/cloudprober@v0.11.3/web/status_tmpl.go (about)

     1  package web
     2  
     3  var statusTmpl = `
     4  <html>
     5  
     6  <head>
     7  <style type="text/css">
     8  body {
     9    font-family: "Roboto","Helvetica","Arial",sans-serif;
    10  	font-size: 14px;
    11  }
    12  
    13  table.status-list {
    14    border-collapse: collapse;
    15    border-spacing: 0;
    16  	margin-bottom: 40px;
    17  	font-family: monospace;
    18  }
    19  table.status-list td,th {
    20    border: 1px solid gray;
    21    padding: 0.25em 0.5em;
    22  	max-width: 200px;
    23  }
    24  pre {
    25      white-space: pre-wrap;
    26  		word-wrap: break-word;
    27  }
    28  </style>
    29  </head>
    30  
    31  <b>Started</b>: {{.StartTime}} -- up {{.Uptime}}<br/>
    32  <b>Version</b>: {{.Version}}<br>
    33  <b>Config</b>: <a href="/config">/config</a><br>
    34  
    35  <h3>Probes:</h3>
    36  {{.ProbesStatus}}
    37  
    38  <h3>Surfacers:</h3>
    39  {{.SurfacersStatus}}
    40  
    41  <h3>Servers:</h3>
    42  {{.ServersStatus}}
    43  `