mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 23:54:05 -08:00
1a3fb459e0
To achieve that, this PR - converts static/index.html ("console") and graph to templates - moved the handlebars template to separated file to avoid escaping issues Route changes: /status -> / /static -> /console /static/graph.html -> /graph
20 lines
538 B
HTML
20 lines
538 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Prometheus</title>
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
|
<link type="text/css" rel="stylesheet" href="/static/css/prometheus.css">
|
|
{{template "head" .}}
|
|
</head>
|
|
|
|
<body>
|
|
<div id="navigation">
|
|
<a href="/console">Console</a>
|
|
<a href="/graph">Graph</a>
|
|
<a href="/">Status</a>
|
|
</div>
|
|
{{template "content" .}}
|
|
</body>
|
|
</html>
|