Commit 7b0399b0 authored by Philipp's avatar Philipp

added optional rainviewer.com iframe to archive

parent 71a585c6
......@@ -16,6 +16,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
......
......@@ -16,6 +16,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
......
......@@ -16,6 +16,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
......
......@@ -16,6 +16,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
......
......@@ -16,6 +16,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
......
......@@ -267,6 +267,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">
......
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