Skip to content

Commit

Permalink
Webcam link
Browse files Browse the repository at this point in the history
  • Loading branch information
instantlinux committed Feb 2, 2015
1 parent 706eaba commit 3e448ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/forecast_table.inc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function toggle(control, id) {
#set $num_hours = $hour_periods
#set $skip_first = 0
#if $current_hour + $hour_periods > 23 and $current_hour % 2 == 0
set $skip_first = 1
#set $skip_first = 1
#end if

#for $period in $periods
Expand Down
3 changes: 3 additions & 0 deletions include/masthead.inc
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
#if $Extras.has_key('wundergroundLink')
<input type="button" value=" Wunderground " onclick="window.open('$Extras.wundergroundLink', '_blank')" />
#end if
#if $Extras.has_key('webcamLink')
<input type="button" value=" Webcam " onclick="window.open('$Extras.webcamLink', '_blank')" />
#end if
<input type="button" value=" About " onclick="openURL('about.html')" />
</div>
3 changes: 2 additions & 1 deletion skin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@
# Computer running weewx
computerType = Raspberry Pi

# Link to Wunderground
# Links to Wunderground, webcam
wundergroundLink = http://www.wunderground.com/personal-weather-station/dashboard?ID=KCASANFR366
webcamLink = http://www.wunderground.com/webcams/RichCastroWX/1/show.html

# Use the forecast_table_settings to override default forecast parameters
[[forecast_table_settings]]
Expand Down

0 comments on commit 3e448ab

Please sign in to comment.