initial
This commit is contained in:
20
app/templates/index.html
Normal file
20
app/templates/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% if site_refresh > 0 %}
|
||||
<meta http-equiv="refresh" content="{{ site_refresh }}">
|
||||
{% endif %}
|
||||
<title>Docker Container CPU-Nutzung</title>
|
||||
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
|
||||
</head>
|
||||
<body style="background-color:#64a0d6">
|
||||
<h1>Docker Container CPU/MEM from netdata: <a href="{{ netdata_host }}" target="_blank">{{ netdata_host }}</a></h1>
|
||||
<div id="plot"></div>
|
||||
<script>
|
||||
var graphs = {{ plot | safe }};
|
||||
Plotly.plot('plot', graphs, {});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user