-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
5,776 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#encoding UTF-8 | ||
## +-------------------------------------------------------------------------+ | ||
## | archive.html.tmpl Template file for archive overview page | | ||
## +-------------------------------------------------------------------------+ | ||
<!DOCTYPE html> | ||
<html lang="$Extras.language"> | ||
<head> | ||
<title>$Extras.Translations[$Extras.language].archive | $station.location</title> | ||
#include "head.inc" | ||
</head> | ||
<body class="${Extras.Appearance.mode}-theme main-bg" ontouchstart=""> | ||
|
||
#attr $active_nav = 'archive' | ||
#include "header.inc" | ||
|
||
<main> | ||
|
||
<div class="container"> | ||
|
||
<div class="row my-4 align-content-start"> | ||
|
||
#for $yr in $SummaryByYear | ||
<div class="col-12 col-lg-6 mb-4 text-center"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<h3 class="h3-responsive $Extras.color-text">${yr}</h3> | ||
<div class="row d-flex align-items-center"> | ||
<div class="col-6"> | ||
<a href="year-${yr}.html" class="btn btn-$Extras.color btn-block"> | ||
$Extras.Translations[$Extras.language].more | ||
</a> | ||
</div> | ||
<div class="col-6"> | ||
<a href="archive/NOAA-${yr}.txt" class="btn btn-primary btn-block"> | ||
$Extras.Translations[$Extras.language].noaa_export | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
#end for | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</main> | ||
|
||
#include "footer.inc" | ||
#include "js.inc" | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
#encoding UTF-8 | ||
## +-------------------------------------------------------------------------+ | ||
## | footer.inc Footer section for all templates | | ||
## +-------------------------------------------------------------------------+ | ||
|
||
<footer class="page-footer font-small $Extras.color pt-4"> | ||
|
||
## Footer Links | ||
<div class="container-fluid text-center text-md-left mb-4"> | ||
|
||
## Grid row | ||
<div class="row"> | ||
|
||
## Grid column | ||
<div class="col-md-6 mt-md-0 mt-3"> | ||
|
||
## Content | ||
<h5 class="text-uppercase">$Extras.Translations[$Extras.language].about</h5> | ||
|
||
<table class="d-inline"> | ||
<tr> | ||
<td>$Extras.Translations[$Extras.language].hardware:</td> | ||
<td>$station.hardware</td> | ||
</tr> | ||
<tr> | ||
<td>$Extras.Translations[$Extras.language].altitude:</td> | ||
<td>$station.altitude</td> | ||
</tr> | ||
#if $Extras.Footer.show_telemetry == "yes" | ||
<tr> | ||
<td> | ||
<a href="telemetry.html"> | ||
$Extras.Translations[$Extras.language].telemetry | ||
</a> | ||
</td> | ||
<td></td> | ||
</tr> | ||
#end if | ||
</table> | ||
|
||
#if $Extras.Footer.about is not "" | ||
<p>$Extras.Footer.about</p> | ||
#end if | ||
|
||
</div> | ||
## Grid column | ||
|
||
<hr class="clearfix w-100 d-md-none pb-3"> | ||
|
||
## Grid column | ||
<div class="col-md-3 mb-md-0 mb-3"> | ||
|
||
#if $Extras.Footer.box_title is not "" | ||
<h5 class="text-uppercase">$Extras.Footer.box_title</h5> | ||
#end if | ||
|
||
#if $Extras.Footer.box_content is not "" | ||
<p>$Extras.Footer.box_content</p> | ||
#end if | ||
</div> | ||
## Grid column | ||
|
||
## Grid column | ||
<div class="col-md-3 mb-md-0 mb-3"> | ||
|
||
## Links | ||
<h5 class="text-uppercase">$Extras.Translations[$Extras.language].links</h5> | ||
|
||
<ul class="list-unstyled"> | ||
#if $Extras.Footer.link1_url is not "" | ||
<li> | ||
<a href="$Extras.Footer.link1_url" target="_blank" rel="noopener">$Extras.Footer.link1_label</a> | ||
</li> | ||
#end if | ||
#if $Extras.Footer.link2_url is not "" | ||
<li> | ||
<a href="$Extras.Footer.link2_url" target="_blank" rel="noopener">$Extras.Footer.link2_label</a> | ||
</li> | ||
#end if | ||
#if $Extras.Footer.link3_url is not "" | ||
<li> | ||
<a href="$Extras.Footer.link3_url" target="_blank" rel="noopener">$Extras.Footer.link3_label</a> | ||
</li> | ||
#end if | ||
#if $Extras.Footer.link4_url is not "" | ||
<li> | ||
<a href="$Extras.Footer.link4_url" target="_blank" rel="noopener">$Extras.Footer.link4_label</a> | ||
</li> | ||
#end if | ||
</ul> | ||
|
||
</div> | ||
## Grid column | ||
|
||
</div> | ||
## Grid row | ||
|
||
</div> | ||
## Footer Links | ||
|
||
## Copyright | ||
<div class="footer-copyright text-center py-3"> | ||
© $current.dateTime.format("%Y") $Extras.Footer.name | ||
|
||
#if $Extras.Footer.support_weewx == "yes" | ||
<span class="mx-2">•</span> | ||
Powered by <a href="https://weewx.com" target="_blank">weewx</a> | ||
#if $Extras.Footer.show_version == "yes" | ||
v$station.version | ||
#end if | ||
#end if | ||
|
||
#if $Extras.Footer.support_skin == "yes" | ||
<span class="mx-2">•</span> | ||
<a href="https://neoground.com/projects/neowx-material" target="_blank">NeoWX Material</a> skin | ||
#if $Extras.Footer.show_version == "yes" | ||
v$Extras.version | ||
#end if | ||
#end if | ||
|
||
#if $Extras.Footer.imprint_url is not "" | ||
<span class="mx-2">•</span> | ||
<a href="$Extras.Footer.imprint_url" target="_blank">$Extras.Footer.imprint_label</a> | ||
#end if | ||
#if $Extras.Footer.privacy_url is not "" | ||
<span class="mx-2">•</span> | ||
<a href="$Extras.Footer.privacy_url" target="_blank">$Extras.Footer.privacy_label</a> | ||
#end if | ||
</div> | ||
## Copyright | ||
|
||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#encoding UTF-8 | ||
## +-------------------------------------------------------------------------+ | ||
## | graph_area_archive_config.inc JS config for area charts in archive | | ||
## +-------------------------------------------------------------------------+ | ||
|
||
chart: { | ||
type: 'area' | ||
}, | ||
fill: { | ||
type: 'gradient', | ||
gradient: { | ||
shadeIntensity: 1, | ||
inverseColors: false, | ||
opacityFrom: 0.6, | ||
opacityTo: 0, | ||
stops: [0, 75, 100] | ||
}, | ||
}, | ||
xaxis: { | ||
type: 'datetime', | ||
hideOverlappingLabels: true, | ||
tickAmount: 8, | ||
labels: { | ||
formatter: function(val, timestamp) { | ||
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_archive"); | ||
} | ||
} | ||
}, | ||
tooltip: { | ||
x: { | ||
format: "$Extras.Formatting.datetime_graph_tooltip" | ||
} | ||
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#encoding UTF-8 | ||
## +-------------------------------------------------------------------------+ | ||
## | graph_area_config.inc JS config for default area charts | | ||
## +-------------------------------------------------------------------------+ | ||
|
||
chart: { | ||
type: 'area' | ||
}, | ||
fill: { | ||
type: 'gradient', | ||
gradient: { | ||
shadeIntensity: 1, | ||
inverseColors: false, | ||
opacityFrom: 0.6, | ||
opacityTo: 0, | ||
stops: [0, 75, 100] | ||
}, | ||
}, | ||
xaxis: { | ||
type: 'datetime', | ||
hideOverlappingLabels: true, | ||
tickAmount: 8, | ||
labels: { | ||
formatter: function(val, timestamp) { | ||
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_label"); | ||
} | ||
} | ||
}, | ||
tooltip: { | ||
x: { | ||
format: "$Extras.Formatting.datetime_graph_tooltip" | ||
} | ||
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#encoding UTF-8 | ||
## +-------------------------------------------------------------------------+ | ||
## | graph_bar_archive_config.inc JS config for bar charts in archive | | ||
## +-------------------------------------------------------------------------+ | ||
|
||
chart: { | ||
type: 'bar' | ||
}, | ||
fill: { | ||
opacity: 0.1 | ||
}, | ||
xaxis: { | ||
type: 'datetime', | ||
hideOverlappingLabels: true, | ||
tickAmount: 8, | ||
labels: { | ||
formatter: function(val, timestamp) { | ||
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_archive"); | ||
} | ||
} | ||
}, | ||
tooltip: { | ||
x: { | ||
format: "$Extras.Formatting.datetime_graph_tooltip" | ||
} | ||
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#encoding UTF-8 | ||
## +-------------------------------------------------------------------------+ | ||
## | graph_bar_config.inc JS config for default bar charts | | ||
## +-------------------------------------------------------------------------+ | ||
|
||
chart: { | ||
type: 'bar' | ||
}, | ||
fill: { | ||
opacity: 0.1 | ||
}, | ||
xaxis: { | ||
type: 'datetime', | ||
hideOverlappingLabels: true, | ||
tickAmount: 8, | ||
labels: { | ||
formatter: function(val, timestamp) { | ||
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_label"); | ||
} | ||
} | ||
}, | ||
tooltip: { | ||
x: { | ||
format: "$Extras.Formatting.datetime_graph_tooltip" | ||
} | ||
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#encoding UTF-8 | ||
## +-------------------------------------------------------------------------+ | ||
## | graph_radar_config.inc JS config for default radar charts | | ||
## +-------------------------------------------------------------------------+ | ||
|
||
chart: { | ||
type: 'radar', | ||
}, | ||
fill: { | ||
opacity: 0.1 | ||
}, | ||
xaxis: { | ||
categories: [ | ||
'$Extras.Translations[$Extras.language]["hemispheres"][0]', | ||
'$Extras.Translations[$Extras.language]["hemispheres"][1]', | ||
'$Extras.Translations[$Extras.language]["hemispheres"][2]', | ||
'$Extras.Translations[$Extras.language]["hemispheres"][3]', | ||
'$Extras.Translations[$Extras.language]["hemispheres"][4]', | ||
'$Extras.Translations[$Extras.language]["hemispheres"][5]', | ||
'$Extras.Translations[$Extras.language]["hemispheres"][6]', | ||
'$Extras.Translations[$Extras.language]["hemispheres"][7]' | ||
] | ||
}, | ||
tooltip: { | ||
x: { | ||
formatter: function(value, { series, seriesIndex, dataPointIndex, w }) { | ||
return value | ||
} | ||
} | ||
}, |
Oops, something went wrong.