mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 08:33:06 +00:00
328d81999a
* added `Copy to clipboard` button Signed-off-by: Stafford Williams <stafford.williams@gmail.com> * generate vsfdata Signed-off-by: Stafford Williams <stafford.williams@gmail.com> * new lines Signed-off-by: Stafford Williams <stafford.williams@gmail.com> * single newline Signed-off-by: Stafford Williams <stafford.williams@gmail.com>
12 lines
472 B
HTML
12 lines
472 B
HTML
{{define "head"}}
|
|
<link type="text/css" rel="stylesheet" href="{{ pathPrefix }}/static/css/config.css?v={{ buildVersion }}">
|
|
<script src="{{ pathPrefix }}/static/js/config.js?v={{ buildVersion }}"></script>
|
|
{{end}}
|
|
|
|
{{define "content"}}
|
|
<div class="container-fluid">
|
|
<h2 id="configuration">Configuration <button type="button" class="btn btn-primary" id="copyToClipboard">Copy to clipboard</button></h2>
|
|
<pre id="config_yaml">{{.}}</pre>
|
|
</div>
|
|
{{end}}
|