Sorry I only just read this.
need the historygenerator.py from bootstrap v3 skin
can you found on Github:
Here is bootstrap 3 used
skin.conf from Seasons skin:
[BootstrapLabels]
#
# Labels specific to the Bootstrap template
#
title = "The weather, in ...."
location_href = "
http://en.wikipedia.org/wiki/Royston,_Hertfordshire"
footer = "© xx 20xx"
[[headings]]
front_page = The Weather
stats = Stats
history = History
news = News
about = About
last_update = Last updated
[[timespans]]
day = Last 24 hours
today = Today # today = any time since midnight
week = This week
month = This Month
year = This Year
ever = Since ever
[[status]]
latitude = Latitude:
longitude = Longitude:
altitude = Altitude:
station_uptime = Station uptime:
server_uptime = Server uptime:
[[history_tables]]
min_temp = Minimum Temperature
max_temp = Maximum Temperature
avg_temp = Average Temperature
rain = Rainfall
rain_days = Days of rain
NOAA = NOAA Data
max_windGust = Maximum Gust
max_radiation = Maximum Radiation
max_UV
= Maximum UV radiation
max_pressure
= Maximum Barometer
min_pressure = Minimum Barometer
avg_pressure = Average Barometer
max_barometer = Maximum Barometer
min_barometer = Minimum Barometer
avg_barometer = Average Barometer
windGust
= Windgust
UV = UV radiation
pressure = Barometer
radiation = Solar Radiation
outTemp_days = Number of summer days (maximum temperature ≥25°C)
outTemp20_days = Number of warm days (minimum temperature ≥20°C)
outTemp20x_days = Number of days (minimum temperature ≥17°C)
outTemp0_days = Number of frost days (minimum temperature ≤0°C)
outTemp00_days = Number of ice days (maximum temperature ≤0°C)
vegetations_days = Vegetation days (average temperature ≥5°C)
sunshineDur = Sunshine duration
rainDur = Precipitation duration
hailDur = Precipitation duration Piezo
rainDur_2 = Precipitation duration VUE
[[minmax]]
min = Low
max = High
############################################################################################
[HistoryReport]
[[sunshineDur]]
obs_type = sunshineDur
aggregate_type = sum
units = hours
startdate = 1672531200
minvalues = 0, 50, 100, 150, 200, 250
maxvalues = 50, 100, 150, 200, 250, 500
colors = "#f4f7e1", "#ebf79b", "#f7f74c", "#f9f904", "#f9e468", "#f9d713"
fontColors = "#000000", "#000000", "#000000", "#000000", "#000000", "#000000"
summary_column = true
[[rainDur]]
obs_type = rainDur
aggregate_type = sum
units = hours
startdate = 1672531200
minvalues = 0, 25, 50, 75, 100, 150, 200, 250, 300, 350
maxvalues = 25, 50, 75, 100, 150, 200, 250, 300, 350, 500
colors = "#efefff", "#07f1ff", "#07d1ff", "#07a1ff", "#0788ff", "#076dff", "#0751ff", "#0737ff", "#0722ff", "#070cff"
fontColors = "#000000", "#000000", "#ffffff", "#ffffff", "#bbbbbb", "#bbbbbb", "#ffffff", "#ffffff", "#bbbbbb", "#bbbbbb"
summary_column = true
[CheetahGenerator]
search_list_extensions = user.historygenerator3.MyXSearch
## historygenerator has been renamed to historygenerator3 because I am also using bootstrap 4.4.
in index.html.tmpl:
<style type="text/css">
.col-md-8 {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
.col-md-8 table th {
font-weight: bold;
font-size: 14px;
text-align: center;
border-bottom: 1px solid;
}
.col-md-8 table td {
font-weight: normal;
text-align: right;
font-size: 11px;
padding-right: 5px;
padding-left: 5px;
border-bottom: 1px solid;
}
.history {
#font-size: calc(8px + 0.5vw);
font-size: 1.1vw;
margin-bottom: 30px;
overflow: auto;
float: left;
}
</style>
## after the year graphics
<div id="history_chronicle" class="history" style="display:none">
<div class="col-md-8">
<h4>$BootstrapLabels.history_tables.sunshineDur</h4>
$sunshineDur_table
<h4>$BootstrapLabels.history_tables.rainDur</h4>
$rainDur_table
</div>
</div>