modified: __pycache__/app.cpython-310.pyc

modified:   app.py
	modified:   static/css/style.css
	modified:   templates/weather.html
This commit is contained in:
SimolZimol
2026-04-21 09:39:05 +02:00
parent fc456ae2ac
commit 71337bb552
4 changed files with 15 additions and 4 deletions

View File

@@ -21,6 +21,7 @@
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>
{{ display_name.split(',')[0] }}
<span class="hero-meta-sub">{{ display_name.split(',')[1:3]|join(',') if ',' in display_name else '' }}</span>
<span class="hero-meta-time">{{ now_local }} Uhr</span>
</div>
<div class="hero-main">
@@ -70,7 +71,8 @@
{% for h in forecast %}
<div class="hcard {% if loop.first %}hcard--now{% endif %}">
<div class="hcard-time">
{% if h.datetime is string %}{{ h.datetime[11:16] }}
{% if loop.first %}Jetzt
{% elif h.datetime is string %}{{ h.datetime[11:16] }}
{% else %}{{ h.datetime.strftime('%H:%M') }}{% endif %}
</div>
<div class="hcard-date">