mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 23:19:41 -08:00
20 lines
577 B
HTML
20 lines
577 B
HTML
{{define "head"}}
|
|
<script src="/static/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}}
|