WIP WIP WIP *** Now with tabs

This commit is contained in:
rxf
2023-03-15 16:08:33 +01:00
parent b270370105
commit 0a89e05329
9 changed files with 88 additions and 10 deletions
+32 -2
View File
@@ -3,8 +3,38 @@ extends layout
block content
header
#hline1
#h1name Lärm-Messung
#h1name Noise Measurement
#h1datum
#fenster
#navi
ul.nav.nav-tabs#tablist
li.nav-item(role='presentation')
button.nav-link.active#kartentab(data-bs-toggle="tab" data-bs-target="#t_map" type="button" role="tab" aria-controls="map" aria-selected="true") Map
li.nav-item(role='presentation')
button.nav-link.active#livetab(data-bs-toggle="tab" data-bs-target="#t_live" type="button" role="tab" aria-controls="live" aria-selected="true") Live
li.nav-item(role='presentation')
button.nav-link.active#houravgtab(data-bs-toggle="tab" data-bs-target="#t_houravg" type="button" role="tab" aria-controls="houravg" aria-selected="true") Hour_AVG
li.nav-item(role='presentation')
button.nav-link.active#dayavgtab(data-bs-toggle="tab" data-bs-target="#t_dayavg" type="button" role="tab" aria-controls="dayavg" aria-selected="true") Day_AVG
li.nav-item(role='presentation')
button.nav-link.active#daynightab(data-bs-toggle="tab" data-bs-target="#t_daynight" type="button" role="tab" aria-controls="daynight" aria-selected="true") Day_Night
li.nav-item(role='presentation')
button.nav-link.active#ldenab(data-bs-toggle="tab" data-bs-target="#t_lden" type="button" role="tab" aria-controls="lden" aria-selected="true") L<sub>DEN</sub>-Index
#buttonsRight
button.btn.btn-primary#btnSet(value='set') Settings
button.btn.btn-primary#btnHelp(value='help') Info
#map
.tab-content#thetabs
.tab-pane.fade.show.active#t_map(role="tabpanel" aria-labelledby="map-tab")
#map MapTAB
.tab-pane.fade.show.active#t_live(role="tabpanel" aria-labelledby="map-tab")
#placeholderNOI1 LiveTAB
.tab-pane.fade.show.active#t_houravg(role="tabpanel" aria-labelledby="map-tab")
#placeholderNOI2 HourTAB
.tab-pane.fade.show.active#t_dayavg(role="tabpanel" aria-labelledby="map-tab")
#placeholderNOI3 DayTAB
.tab-pane.fade.show.active#t_daynight(role="tabpanel" aria-labelledby="map-tab")
#placeholderNOI4 DayNightTAB
.tab-pane.fade.show.active#t_lden(role="tabpanel" aria-labelledby="map-tab")
#placeholderNOI5 LdenTAB
-2
View File
@@ -39,8 +39,6 @@ html
script(src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous")
script(src="https://code.jquery.com/jquery-3.6.4.min.js"
integrity="sha256-oP6HI9z1XaZNBrJURtCoUT5SUnxFr8s3BzRl+cbzUq8=" crossorigin="anonymous")
script(src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js"
integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM="
crossorigin="")