mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 08:36:54 -04:00
Use StringIO to initialize configuration. Change skin name from 'basic' to 'Basic'. Use .long_form for elapsed times.
54 lines
1.6 KiB
Cheetah
54 lines
1.6 KiB
Cheetah
## basic skin for weewx - Copyright 2014 Matthew Wall
|
|
#errorCatcher Echo
|
|
#encoding UTF-8
|
|
##
|
|
<!DOCTYPE html>
|
|
<html lang="$lang">
|
|
<head>
|
|
## Specifying an encoding of UTF-8 is usually safe:
|
|
<meta charset="UTF-8">
|
|
<title>$station.location $gettext("Current Weather Conditions")</title>
|
|
<link rel="stylesheet" type="text/css" href="basic.css"/>
|
|
<link rel="icon" type="image/png" href="favicon.ico" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id='header'>
|
|
<div id='station_info'>
|
|
<span class='station_title'>$station.location</span><br/>
|
|
<span class='station_time'>$current.dateTime</span>
|
|
</div>
|
|
</div>
|
|
<div id='content'>
|
|
<div id='data_table'>
|
|
#include "current.inc"
|
|
<p> </p>
|
|
#include "hilo.inc"
|
|
</div>
|
|
<div id='data_graphs'>
|
|
<img src="dayinouttempdew.png" alt="temperatures" />
|
|
<img src="dayinouthum.png" alt="humidity" />
|
|
<img src="daybarometer.png" alt="barometer"/>
|
|
<img src="daytempchill.png" alt="heatchill" />
|
|
<img src="daywind.png" alt="wind" />
|
|
<img src="daywinddir.png" alt="wind direction" />
|
|
<img src="daywindvec.png" alt="wind vectors" />
|
|
<img src="dayrain.png" alt="rain" />
|
|
#if $day.radiation.has_data
|
|
<img src="dayradiation.png" alt="radiation" />
|
|
#end if
|
|
#if $day.UV.has_data
|
|
<img src="dayuv.png" alt="uv" />
|
|
#end if
|
|
</div>
|
|
</div>
|
|
<div id='footer'>
|
|
<p>
|
|
weewx: $station.uptime.long_form<br/>
|
|
server: $station.os_uptime.long_form<br/>
|
|
weewx $station.version with $station.hardware<br/>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|