File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ const tpl = `
21
21
<head>
22
22
<meta charset="UTF-8">
23
23
<title>Cortex Ring Status</title>
24
+ <script>
25
+ function showIngesterTokens() {
26
+ document.getElementById('ingesterTokens').style.display = "block";
27
+ document.getElementById('showTokensButton').style.display = "none";
28
+ }
29
+ </script>
24
30
</head>
25
31
<body>
26
32
<h1>Cortex Ring Status</h1>
@@ -57,7 +63,11 @@ const tpl = `
57
63
{{ end }}
58
64
</tbody>
59
65
</table>
66
+ <br>
67
+ <input id="showTokensButton" type="button" name="showTokens" style="display:block" value="Show Ingester Tokens" onclick="showIngesterTokens()" />
68
+ <div id="ingesterTokens" style="display:none;">
60
69
<pre>{{ .Ring }}</pre>
70
+ </div>
61
71
</form>
62
72
</body>
63
73
</html>`
You can’t perform that action at this time.
0 commit comments