test2
This commit is contained in:
@@ -10,6 +10,23 @@
|
||||
<script src="/static/js/max_time_diff.js" defer></script>
|
||||
<script src="/static/js/fuenf_minuten.js" defer></script>
|
||||
</head>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const startDateInput = document.getElementById('startDate');
|
||||
const endDateInput = document.getElementById('endDate');
|
||||
const startTimeInput = document.getElementById('startTime');
|
||||
const endTimeInput = document.getElementById('endTime');
|
||||
|
||||
const now = new Date();
|
||||
const yesterday = new Date(now);
|
||||
yesterday.setDate(now.getDate() - 1);
|
||||
|
||||
startDateInput.value = yesterday.toISOString().split('T')[0];
|
||||
endDateInput.value = now.toISOString().split('T')[0];
|
||||
startTimeInput.value = '00:00';
|
||||
endTimeInput.value = '23:59';
|
||||
});
|
||||
</script>
|
||||
<body>
|
||||
<h1>Webservice Monitoring</h1>
|
||||
<div>
|
||||
@@ -39,13 +56,6 @@
|
||||
<input type="time" id="startTime" value="00:00">
|
||||
<label for="endTime">End-Zeit:</label>
|
||||
<input type="time" id="endTime" value="23:59">
|
||||
<select id="timeFilter">
|
||||
<option value="24h">Letzte 24 Stunden</option>
|
||||
<option value="7d">Letzte 7 Tage</option>
|
||||
<option value="1m">Letzter Monat</option>
|
||||
<option value="1y">Letztes Jahr</option>
|
||||
<option value="all">Gesamt</option>
|
||||
</select>
|
||||
<canvas id="fuenfMinutenChart" width="400" height="200"></canvas>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user