prometheus/web/templates/console.html

20 lines
569 B
HTML
Raw Normal View History

{{define "head"}}
2013-01-15 10:30:55 +00:00
<script src="js/exprBrowser.js"></script>
{{end}}
2013-01-15 10:30:55 +00:00
{{define "content"}}
2013-02-05 23:21:27 +00:00
<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}}