mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
Style expression browser a bit.
This commit is contained in:
parent
c8761f3468
commit
acb45c98f8
|
@ -3,19 +3,24 @@
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<title>Prometheus Expression Browser</title>
|
<title>Prometheus Expression Browser</title>
|
||||||
|
<link type="text/css" rel="stylesheet" href="css/prometheus.css">
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
||||||
<script src="js/exprBrowser.js"></script>
|
<script src="js/exprBrowser.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div class="grouping_box">
|
||||||
<form action="/api/query" method="GET" id="queryForm">
|
<form action="/api/query" method="GET" id="queryForm">
|
||||||
<input type="text" name="expr" size="100">
|
<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="checkbox" name="json" id="json" value="JSON"><label for="json">JSON</label>
|
||||||
<input type="submit" value="Evaluate">
|
<input type="submit" value="Evaluate">
|
||||||
</form>
|
</form>
|
||||||
<hr>
|
</div>
|
||||||
|
<div class="grouping_box">
|
||||||
<pre>
|
<pre>
|
||||||
<div id="result"></div>
|
<div id="result"></div>
|
||||||
</pre>
|
</pre>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue