| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 5 |
<meta name="robots" content="noindex,nofollow"> |
| 6 |
<title>{{ pageTitle }}</title> |
| 7 |
<link rel="shortcut icon" href="{{ pathPrefix }}/classic/static/img/favicon.ico?v={{ buildVersion }}"> |
| 8 |
<script src="{{ pathPrefix }}/classic/static/jquery/jquery.min.js?v={{ buildVersion }}"></script> |
| 9 |
<script src="{{ pathPrefix }}/classic/static/popper.js/popper.min.js?v={{ buildVersion }}"></script> |
| 10 |
<script src="{{ pathPrefix }}/classic/static/bootstrap4/js/bootstrap.min.js?v={{ buildVersion }}"></script> |
| 11 |
|
| 12 |
<link type="text/css" rel="stylesheet" href="{{ pathPrefix }}/classic/static/bootstrap4/css/bootstrap.min.css?v={{ buildVersion }}"> |
| 13 |
<link type="text/css" rel="stylesheet" href="{{ pathPrefix }}/classic/static/css/prometheus.css?v={{ buildVersion }}"> |
| 14 |
<link type="text/css" rel="stylesheet" href="{{ pathPrefix }}/classic/static/vendor/bootstrap4-glyphicons/css/bootstrap-glyphicons.css?v={{ buildVersion }}"> |
| 15 |
|
| 16 |
<script> |
| 17 |
var PATH_PREFIX = "{{ pathPrefix }}"; |
| 18 |
var BUILD_VERSION = "{{ buildVersion }}"; |
| 19 |
$(function () { |
| 20 |
$('[data-toggle="tooltip"]').tooltip() |
| 21 |
}) |
| 22 |
</script> |
| 23 |
|
| 24 |
{{template "head" .}} |
| 25 |
</head> |
| 26 |
|
| 27 |
<body> |
| 28 |
<nav class="navbar fixed-top navbar-expand-sm navbar-dark bg-dark"> |
| 29 |
<div class="container-fluid"> |
| 30 |
|
| 31 |
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#nav-content" aria-expanded="false" aria-controls="nav-content" aria-label="Toggle navigation"> |
| 32 |
<span class="navbar-toggler-icon"></span> |
| 33 |
<!--span class="sr-only">Toggle navigation</span> |
| 34 |
<span class="icon-bar"></span> |
| 35 |
<span class="icon-bar"></span> |
| 36 |
<span class="icon-bar"></span--> |
| 37 |
</button> |
| 38 |
|
| 39 |
<a class="navbar-brand" href="{{ pathPrefix }}/classic/">Prometheus</a> |
| 40 |
|
| 41 |
|
| 42 |
<div id="nav-content" class="navbar-collapse collapse"> |
| 43 |
<ul class="navbar-nav"> |
| 44 |
{{$consoles := consolesPath}} |
| 45 |
{{if $consoles}} |
| 46 |
<li class="nav-item"><a class="nav-link" href="{{$consoles}}">Consoles</a></li> |
| 47 |
{{ end }} |
| 48 |
<li class="nav-item"><a class="nav-link" href="{{ pathPrefix }}/classic/alerts">Alerts</a></li> |
| 49 |
<li class="nav-item"><a class="nav-link" href="{{ pathPrefix }}/classic/graph">Graph</a></li> |
| 50 |
<li class="nav-item dropdown"> |
| 51 |
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Status <span class="caret"></span></a> |
| 52 |
<div class="dropdown-menu"> |
| 53 |
<a class="dropdown-item" href="{{ pathPrefix }}/classic/status">Runtime & Build Information</a> |
| 54 |
<a class="dropdown-item" href="{{ pathPrefix }}/classic/flags">Command-Line Flags</a> |
| 55 |
<a class="dropdown-item" href="{{ pathPrefix }}/classic/config">Configuration</a> |
| 56 |
<a class="dropdown-item" href="{{ pathPrefix }}/classic/rules">Rules</a> |
| 57 |
<a class="dropdown-item" href="{{ pathPrefix }}/classic/targets">Targets</a> |
| 58 |
<a class="dropdown-item" href="{{ pathPrefix }}/classic/service-discovery">Service Discovery</a> |
| 59 |
</div> |
| 60 |
</li> |
| 61 |
<li class="nav-item"> |
| 62 |
<a class ="nav-link" href="https://prometheus.io/docs/prometheus/latest/getting_started/" target="_blank">Help</a> |
| 63 |
</li> |
| 64 |
<li class="nav-item"><a class="nav-link" href="{{ pathPrefix }}/graph">New UI</a></li> |
| 65 |
</ul> |
| 66 |
</div> |
| 67 |
</div> |
| 68 |
</nav> |
| 69 |
|
| 70 |
{{template "content" .}} |
| 71 |
</body> |
| 72 |
</html> |