forked from lbernau/smartvisuPages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·39 lines (26 loc) · 1.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "base.html" %}
{% block sidebar %}
{% import "lib.html" as lib %}
{{ lib.updatecheck() }}
{% import "clock.html" as clock %}
{{ clock.digiclock('clock') }}
<div class="center">
{{ now|smartdate('l') }}, {{ now|smartdate() }}<br/>
<img src="lib/weather/pics/sun_up.png" class="sunIcon"/> {{ basic.formula('sunrise', 'env.location.sunrise', 'time') }} <img src="lib/weather/pics/sun_down.png" class="sunIcon"/> {{ basic.formula('sunset', 'env.location.sunset', 'time') }}
<img src="lib/weather/pics/moon_up.png" class="moonIcon" /> {{ basic.formula('moonrise', 'env.location.moonrise', 'time') }} <img src="lib/weather/pics/moon_down.png" class="moonIcon"/> {{ basic.formula('moonset', 'env.location.moonset', 'time') }}<br/>
</div>
<hr>
{% import "weather.html" as weather %}
{{ weather.current('weather') }}
<hr>
{{ weather.forecastweek('weather_forecast') }}
<hr>
{% import "calendar.html" as calendar %}
{{ calendar.list('calendarlist', 'Müllabfuhr', 5, 'green') }}
<hr>
{% import "phone.html" as phone %}
{{ phone.list('phonelist', 'Telefonliste', 5) }}
{% endblock %}
{% block content %}
{% include 'navigation.html' %}
{% endblock %}