Commit 71a585c6 authored by Philipp's avatar Philipp

added optional rainviewer iframe to index

parent 6a90adc9
......@@ -35,6 +35,13 @@
#end if
</div>
#end if
#if $varExists('Extras.radar_iframe')
<div class="whitebg"><h3>Regenradar</h3><iframe allowfullscreen frameborder="0" src="$Extras.radar_iframe" style="border:0;height:170px;width:100%"></iframe><br>
#if $varExists('Extras.radar_url')
<span>Quelle</span>: <a href="$Extras.radar_url" target="_blank">$Extras.radar_title</a>
#end if
</div>
#end if
#if $varExists('Extras.lapses_url')
<div class="whitebg lapses"><h3>Zeitraffer 24h</h3><video class="img-responsive video" controls="controls" id="daily" poster="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.png')" preload="none"><source id="dailymp4" src="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.mp4')" type="video/mp4"></video><div class="date input-group day"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div><div class="whitebg lapses"><h3>Zeitraffer 365d</h3><video class="img-responsive video" controls="controls" id="yearly" poster="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.png')" preload="none"><source id="yearlymp4" src="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.mp4')" type="video/mp4"></video><div class="date input-group year"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div>
#end if
......
......@@ -35,6 +35,13 @@
#end if
</div>
#end if
#if $varExists('Extras.radar_iframe')
<div class="whitebg"><h3>Rain radar</h3><iframe allowfullscreen frameborder="0" src="$Extras.radar_iframe" style="border:0;height:170px;width:100%"></iframe><br>
#if $varExists('Extras.radar_url')
<span>Source</span>: <a href="$Extras.radar_url" target="_blank">$Extras.radar_title</a>
#end if
</div>
#end if
#if $varExists('Extras.lapses_url')
<div class="whitebg lapses"><h3>Timelapse 24h</h3><video class="img-responsive video" controls="controls" id="daily" poster="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.png')" preload="none"><source id="dailymp4" src="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.mp4')" type="video/mp4"></video><div class="date input-group day"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div><div class="whitebg lapses"><h3>Timelapse 365d</h3><video class="img-responsive video" controls="controls" id="yearly" poster="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.png')" preload="none"><source id="yearlymp4" src="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.mp4')" type="video/mp4"></video><div class="date input-group year"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div>
#end if
......
......@@ -35,6 +35,13 @@
#end if
</div>
#end if
#if $varExists('Extras.radar_iframe')
<div class="whitebg"><h3>Radar pluie</h3><iframe allowfullscreen frameborder="0" src="$Extras.radar_iframe" style="border:0;height:170px;width:100%"></iframe><br>
#if $varExists('Extras.radar_url')
<span>Source</span>: <a href="$Extras.radar_url" target="_blank">$Extras.radar_title</a>
#end if
</div>
#end if
#if $varExists('Extras.lapses_url')
<div class="whitebg lapses"><h3>Timelapse 24h</h3><video class="img-responsive video" controls="controls" id="daily" poster="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.png')" preload="none"><source id="dailymp4" src="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.mp4')" type="video/mp4"></video><div class="date input-group day"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div><div class="whitebg lapses"><h3>Timelapse 365d</h3><video class="img-responsive video" controls="controls" id="yearly" poster="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.png')" preload="none"><source id="yearlymp4" src="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.mp4')" type="video/mp4"></video><div class="date input-group year"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div>
#end if
......
......@@ -35,6 +35,13 @@
#end if
</div>
#end if
#if $varExists('Extras.radar_iframe')
<div class="whitebg"><h3>Regn radar</h3><iframe allowfullscreen frameborder="0" src="$Extras.radar_iframe" style="border:0;height:170px;width:100%"></iframe><br>
#if $varExists('Extras.radar_url')
<span>Kilde</span>: <a href="$Extras.radar_url" target="_blank">$Extras.radar_title</a>
#end if
</div>
#end if
#if $varExists('Extras.lapses_url')
<div class="whitebg lapses"><h3>Timelapse 24h</h3><video class="img-responsive video" controls="controls" id="daily" poster="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.png')" preload="none"><source id="dailymp4" src="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.mp4')" type="video/mp4"></video><div class="date input-group day"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div><div class="whitebg lapses"><h3>Timelapse 365d</h3><video class="img-responsive video" controls="controls" id="yearly" poster="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.png')" preload="none"><source id="yearlymp4" src="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.mp4')" type="video/mp4"></video><div class="date input-group year"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div>
#end if
......
......@@ -35,6 +35,13 @@
#end if
</div>
#end if
#if $varExists('Extras.radar_iframe')
<div class="whitebg"><h3>Rain radar</h3><iframe allowfullscreen frameborder="0" src="$Extras.radar_iframe" style="border:0;height:170px;width:100%"></iframe><br>
#if $varExists('Extras.radar_url')
<span>Source</span>: <a href="$Extras.radar_url" target="_blank">$Extras.radar_title</a>
#end if
</div>
#end if
#if $varExists('Extras.lapses_url')
<div class="whitebg lapses"><h3>Timelapse 24h</h3><video class="img-responsive video" controls="controls" id="daily" poster="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.png')" preload="none"><source id="dailymp4" src="$Extras.lapses_url/lapse-$yesterday.dateTime.format('%y%m%d.mp4')" type="video/mp4"></video><div class="date input-group day"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div><div class="whitebg lapses"><h3>Timelapse 365d</h3><video class="img-responsive video" controls="controls" id="yearly" poster="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.png')" preload="none"><source id="yearlymp4" src="$Extras.lapses_url/lapse-$year($years_ago=1).dateTime.format('%Y.mp4')" type="video/mp4"></video><div class="date input-group year"><input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span></div></div>
#end if
......
......@@ -26,11 +26,12 @@
# e.G: "# radar_img = " instead of: "radar_img = # "..
# Radar image to display in sidebar
radar_img = https://www.austrocontrol.at/jart/met/radar/satloop.gif
#radar_img = https://www.austrocontrol.at/jart/met/radar/satloop.gif
radar_iframe = 'https://www.rainviewer.com/map.html?loc=50.384,8.9937,11&oFa=0&oC=0&oU=0&oCS=1&oF=1&oAP=0&rmt=4&c=1&o=83&lm=0&th=0'
# Site URL for source link below radar image.
radar_url = https://www.austrocontrol.at/wetter/wetter_fuer_alle/satellitenbild
radar_url = https://www.rainviewer.com/map.html?loc=50.384,8.9937,11
# Site title for use with source link below radar image
radar_title = 'austrocontrol.at'
radar_title = 'rainviewer.com'
# Theme color (light)
#theme_color_light = '#ff8f00'
......
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/W:/template_rabenwetter/src/info.html</file>
</group>
</open-files>
</project-private>
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/Volumes/www/template_rabenwetter/Gruntfile.js</file>
</group>
</open-files>
</project-private>
......@@ -24,7 +24,7 @@ file.reference.website_rabenwetter-src=src
file.reference.website_rabenwetter-test=test
files.encoding=UTF-8
project.license=default
site.root.folder=${file.reference.template_rabenwetter-dist.de}
site.root.folder=${file.reference.template_rabenwetter-dist}
source.folder=${file.reference.template_rabenwetter-src}
start.file=index.html
test.folder=${file.reference.template_rabenwetter-test}
......
......@@ -335,6 +335,21 @@
</div>
<!-- htmlmin:ignore -->
#end if
#if $varExists('Extras.radar_iframe')
<!-- htmlmin:ignore -->
<div class="whitebg">
<h3 data-t="amb.rainradar">Rain radar</h3>
<iframe src="$Extras.radar_iframe" frameborder="0" style="border:0;height:170px;width:100%;" allowfullscreen></iframe><br />
<!-- htmlmin:ignore -->
#if $varExists('Extras.radar_url')
<!-- htmlmin:ignore -->
<span data-t="amb.source">Source</span>: <a href="$Extras.radar_url" target="_blank">$Extras.radar_title</a>
<!-- htmlmin:ignore -->
#end if
<!-- htmlmin:ignore -->
</div>
<!-- htmlmin:ignore -->
#end if
#if $varExists('Extras.lapses_url')
<!-- htmlmin:ignore -->
<div class="whitebg lapses">
......
......@@ -26,11 +26,12 @@
# e.G: "# radar_img = " instead of: "radar_img = # "..
# Radar image to display in sidebar
radar_img = https://www.austrocontrol.at/jart/met/radar/satloop.gif
#radar_img = https://www.austrocontrol.at/jart/met/radar/satloop.gif
radar_iframe = 'https://www.rainviewer.com/map.html?loc=50.384,8.9937,11&oFa=0&oC=0&oU=0&oCS=1&oF=1&oAP=0&rmt=4&c=1&o=83&lm=0&th=0'
# Site URL for source link below radar image.
radar_url = https://www.austrocontrol.at/wetter/wetter_fuer_alle/satellitenbild
radar_url = https://www.rainviewer.com/map.html?loc=50.384,8.9937,11
# Site title for use with source link below radar image
radar_title = 'austrocontrol.at'
radar_title = 'rainviewer.com'
# Theme color (light)
#theme_color_light = '#ff8f00'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment