prometheus/web/templates/console.html
Johannes 'fish' Ziemke 1a3fb459e0 Add navigation menu to all pages + change routes.
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
2013-04-04 16:36:53 +02:00

20 lines
569 B
HTML

{{define "head"}}
<script src="js/exprBrowser.js"></script>
{{end}}
{{define "content"}}
<div class="grouping_box">
<form action="/api/query" method="GET" id="queryForm">
<label for="expr">Expression:</label>
<input type="text" name="expr" id="expr" size="100">
<input type="checkbox" name="json" id="json" value="JSON"><label for="json">JSON</label>
<input type="submit" value="Evaluate">
</form>
</div>
<div class="grouping_box">
<pre>
<div id="result"></div>
</pre>
</div>
{{end}}