diff options
author | luxagraf <sng@luxagraf.net> | 2016-01-19 14:40:24 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-01-19 14:40:24 -0500 |
commit | 7622933e291141b5d58293eacb813d0c0635695f (patch) | |
tree | 0fd8afb12c8ff2f18a353104d2fa97be9c07c6fa /design/templates/human_weather.txt | |
parent | 0879504bd5029b2a3b9e937cb4620c4cd3108459 (diff) |
added my daily journal recording app, weather grabbing widget and
checkin model. Still need to add widget to checkin admin to
automatically grab the geodata from device.
Diffstat (limited to 'design/templates/human_weather.txt')
-rw-r--r-- | design/templates/human_weather.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/design/templates/human_weather.txt b/design/templates/human_weather.txt new file mode 100644 index 0000000..677a690 --- /dev/null +++ b/design/templates/human_weather.txt @@ -0,0 +1,7 @@ +{% load f_to_c %} +Today the high temperature was {{object.temp_max}}F/{{object.temp_max|f_to_c}}C and the low was {{object.temp_min}}F/{{object.temp_min|f_to_c}}C. The mean temp was {{object.temp_mean}}F/{{object.temp_mean|f_to_c}}C. The mean wind speed was {{object.wind_mean}}mph with gusts up to {{object.wind_max}}mph. +{%if object.rain%}It rained {{object.rain_amount}} inches.{%endif%} +{%if object.snow%}It snowed {{object.snow_amount}} inches.{%endif%} +{%if object.hail%}It hailed.{%endif%} +{%if object.thunder%}It thundered {%endif%} +{%if object.fog%}There was fog{%endif%} |