Skip to content

Commit 1a95081

Browse files
authored
Merge pull request #1 from swfrx/addingfiles
More files uploaded
2 parents d534d99 + 3a85b3a commit 1a95081

21 files changed

+5776
-1
lines changed

skins/NewNeoWx/almanac.html.tmpl

+319
Large diffs are not rendered by default.

skins/NewNeoWx/archive.html.tmpl

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#encoding UTF-8
2+
## +-------------------------------------------------------------------------+
3+
## | archive.html.tmpl Template file for archive overview page |
4+
## +-------------------------------------------------------------------------+
5+
<!DOCTYPE html>
6+
<html lang="$Extras.language">
7+
<head>
8+
<title>$Extras.Translations[$Extras.language].archive | $station.location</title>
9+
#include "head.inc"
10+
</head>
11+
<body class="${Extras.Appearance.mode}-theme main-bg" ontouchstart="">
12+
13+
#attr $active_nav = 'archive'
14+
#include "header.inc"
15+
16+
<main>
17+
18+
<div class="container">
19+
20+
<div class="row my-4 align-content-start">
21+
22+
#for $yr in $SummaryByYear
23+
<div class="col-12 col-lg-6 mb-4 text-center">
24+
<div class="card">
25+
<div class="card-body">
26+
<h3 class="h3-responsive $Extras.color-text">${yr}</h3>
27+
<div class="row d-flex align-items-center">
28+
<div class="col-6">
29+
<a href="year-${yr}.html" class="btn btn-$Extras.color btn-block">
30+
$Extras.Translations[$Extras.language].more
31+
</a>
32+
</div>
33+
<div class="col-6">
34+
<a href="archive/NOAA-${yr}.txt" class="btn btn-primary btn-block">
35+
$Extras.Translations[$Extras.language].noaa_export
36+
</a>
37+
</div>
38+
</div>
39+
</div>
40+
</div>
41+
</div>
42+
#end for
43+
44+
</div>
45+
46+
</div>
47+
48+
</main>
49+
50+
#include "footer.inc"
51+
#include "js.inc"
52+
53+
</body>
54+
</html>

skins/NewNeoWx/footer.inc

+132
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
#encoding UTF-8
2+
## +-------------------------------------------------------------------------+
3+
## | footer.inc Footer section for all templates |
4+
## +-------------------------------------------------------------------------+
5+
6+
<footer class="page-footer font-small $Extras.color pt-4">
7+
8+
## Footer Links
9+
<div class="container-fluid text-center text-md-left mb-4">
10+
11+
## Grid row
12+
<div class="row">
13+
14+
## Grid column
15+
<div class="col-md-6 mt-md-0 mt-3">
16+
17+
## Content
18+
<h5 class="text-uppercase">$Extras.Translations[$Extras.language].about</h5>
19+
20+
<table class="d-inline">
21+
<tr>
22+
<td>$Extras.Translations[$Extras.language].hardware:</td>
23+
<td>$station.hardware</td>
24+
</tr>
25+
<tr>
26+
<td>$Extras.Translations[$Extras.language].altitude:</td>
27+
<td>$station.altitude</td>
28+
</tr>
29+
#if $Extras.Footer.show_telemetry == "yes"
30+
<tr>
31+
<td>
32+
<a href="telemetry.html">
33+
$Extras.Translations[$Extras.language].telemetry
34+
</a>
35+
</td>
36+
<td></td>
37+
</tr>
38+
#end if
39+
</table>
40+
41+
#if $Extras.Footer.about is not ""
42+
<p>$Extras.Footer.about</p>
43+
#end if
44+
45+
</div>
46+
## Grid column
47+
48+
<hr class="clearfix w-100 d-md-none pb-3">
49+
50+
## Grid column
51+
<div class="col-md-3 mb-md-0 mb-3">
52+
53+
#if $Extras.Footer.box_title is not ""
54+
<h5 class="text-uppercase">$Extras.Footer.box_title</h5>
55+
#end if
56+
57+
#if $Extras.Footer.box_content is not ""
58+
<p>$Extras.Footer.box_content</p>
59+
#end if
60+
</div>
61+
## Grid column
62+
63+
## Grid column
64+
<div class="col-md-3 mb-md-0 mb-3">
65+
66+
## Links
67+
<h5 class="text-uppercase">$Extras.Translations[$Extras.language].links</h5>
68+
69+
<ul class="list-unstyled">
70+
#if $Extras.Footer.link1_url is not ""
71+
<li>
72+
<a href="$Extras.Footer.link1_url" target="_blank" rel="noopener">$Extras.Footer.link1_label</a>
73+
</li>
74+
#end if
75+
#if $Extras.Footer.link2_url is not ""
76+
<li>
77+
<a href="$Extras.Footer.link2_url" target="_blank" rel="noopener">$Extras.Footer.link2_label</a>
78+
</li>
79+
#end if
80+
#if $Extras.Footer.link3_url is not ""
81+
<li>
82+
<a href="$Extras.Footer.link3_url" target="_blank" rel="noopener">$Extras.Footer.link3_label</a>
83+
</li>
84+
#end if
85+
#if $Extras.Footer.link4_url is not ""
86+
<li>
87+
<a href="$Extras.Footer.link4_url" target="_blank" rel="noopener">$Extras.Footer.link4_label</a>
88+
</li>
89+
#end if
90+
</ul>
91+
92+
</div>
93+
## Grid column
94+
95+
</div>
96+
## Grid row
97+
98+
</div>
99+
## Footer Links
100+
101+
## Copyright
102+
<div class="footer-copyright text-center py-3">
103+
&copy; $current.dateTime.format("%Y") $Extras.Footer.name
104+
105+
#if $Extras.Footer.support_weewx == "yes"
106+
<span class="mx-2">&bull;</span>
107+
Powered by <a href="https://weewx.com" target="_blank">weewx</a>
108+
#if $Extras.Footer.show_version == "yes"
109+
v$station.version
110+
#end if
111+
#end if
112+
113+
#if $Extras.Footer.support_skin == "yes"
114+
<span class="mx-2">&bull;</span>
115+
<a href="https://neoground.com/projects/neowx-material" target="_blank">NeoWX Material</a> skin
116+
#if $Extras.Footer.show_version == "yes"
117+
v$Extras.version
118+
#end if
119+
#end if
120+
121+
#if $Extras.Footer.imprint_url is not ""
122+
<span class="mx-2">&bull;</span>
123+
<a href="$Extras.Footer.imprint_url" target="_blank">$Extras.Footer.imprint_label</a>
124+
#end if
125+
#if $Extras.Footer.privacy_url is not ""
126+
<span class="mx-2">&bull;</span>
127+
<a href="$Extras.Footer.privacy_url" target="_blank">$Extras.Footer.privacy_label</a>
128+
#end if
129+
</div>
130+
## Copyright
131+
132+
</footer>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#encoding UTF-8
2+
## +-------------------------------------------------------------------------+
3+
## | graph_area_archive_config.inc JS config for area charts in archive |
4+
## +-------------------------------------------------------------------------+
5+
6+
chart: {
7+
type: 'area'
8+
},
9+
fill: {
10+
type: 'gradient',
11+
gradient: {
12+
shadeIntensity: 1,
13+
inverseColors: false,
14+
opacityFrom: 0.6,
15+
opacityTo: 0,
16+
stops: [0, 75, 100]
17+
},
18+
},
19+
xaxis: {
20+
type: 'datetime',
21+
hideOverlappingLabels: true,
22+
tickAmount: 8,
23+
labels: {
24+
formatter: function(val, timestamp) {
25+
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_archive");
26+
}
27+
}
28+
},
29+
tooltip: {
30+
x: {
31+
format: "$Extras.Formatting.datetime_graph_tooltip"
32+
}
33+
},

skins/NewNeoWx/graph_area_config.inc

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#encoding UTF-8
2+
## +-------------------------------------------------------------------------+
3+
## | graph_area_config.inc JS config for default area charts |
4+
## +-------------------------------------------------------------------------+
5+
6+
chart: {
7+
type: 'area'
8+
},
9+
fill: {
10+
type: 'gradient',
11+
gradient: {
12+
shadeIntensity: 1,
13+
inverseColors: false,
14+
opacityFrom: 0.6,
15+
opacityTo: 0,
16+
stops: [0, 75, 100]
17+
},
18+
},
19+
xaxis: {
20+
type: 'datetime',
21+
hideOverlappingLabels: true,
22+
tickAmount: 8,
23+
labels: {
24+
formatter: function(val, timestamp) {
25+
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_label");
26+
}
27+
}
28+
},
29+
tooltip: {
30+
x: {
31+
format: "$Extras.Formatting.datetime_graph_tooltip"
32+
}
33+
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#encoding UTF-8
2+
## +-------------------------------------------------------------------------+
3+
## | graph_bar_archive_config.inc JS config for bar charts in archive |
4+
## +-------------------------------------------------------------------------+
5+
6+
chart: {
7+
type: 'bar'
8+
},
9+
fill: {
10+
opacity: 0.1
11+
},
12+
xaxis: {
13+
type: 'datetime',
14+
hideOverlappingLabels: true,
15+
tickAmount: 8,
16+
labels: {
17+
formatter: function(val, timestamp) {
18+
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_archive");
19+
}
20+
}
21+
},
22+
tooltip: {
23+
x: {
24+
format: "$Extras.Formatting.datetime_graph_tooltip"
25+
}
26+
},

skins/NewNeoWx/graph_bar_config.inc

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#encoding UTF-8
2+
## +-------------------------------------------------------------------------+
3+
## | graph_bar_config.inc JS config for default bar charts |
4+
## +-------------------------------------------------------------------------+
5+
6+
chart: {
7+
type: 'bar'
8+
},
9+
fill: {
10+
opacity: 0.1
11+
},
12+
xaxis: {
13+
type: 'datetime',
14+
hideOverlappingLabels: true,
15+
tickAmount: 8,
16+
labels: {
17+
formatter: function(val, timestamp) {
18+
return moment.unix(timestamp).format("$Extras.Formatting.datetime_graph_label");
19+
}
20+
}
21+
},
22+
tooltip: {
23+
x: {
24+
format: "$Extras.Formatting.datetime_graph_tooltip"
25+
}
26+
},

skins/NewNeoWx/graph_radar_config.inc

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#encoding UTF-8
2+
## +-------------------------------------------------------------------------+
3+
## | graph_radar_config.inc JS config for default radar charts |
4+
## +-------------------------------------------------------------------------+
5+
6+
chart: {
7+
type: 'radar',
8+
},
9+
fill: {
10+
opacity: 0.1
11+
},
12+
xaxis: {
13+
categories: [
14+
'$Extras.Translations[$Extras.language]["hemispheres"][0]',
15+
'$Extras.Translations[$Extras.language]["hemispheres"][1]',
16+
'$Extras.Translations[$Extras.language]["hemispheres"][2]',
17+
'$Extras.Translations[$Extras.language]["hemispheres"][3]',
18+
'$Extras.Translations[$Extras.language]["hemispheres"][4]',
19+
'$Extras.Translations[$Extras.language]["hemispheres"][5]',
20+
'$Extras.Translations[$Extras.language]["hemispheres"][6]',
21+
'$Extras.Translations[$Extras.language]["hemispheres"][7]'
22+
]
23+
},
24+
tooltip: {
25+
x: {
26+
formatter: function(value, { series, seriesIndex, dataPointIndex, w }) {
27+
return value
28+
}
29+
}
30+
},

0 commit comments

Comments
 (0)