WIP: weather integration

This commit is contained in:
Joren de Graaf
2026-08-11 21:11:31 +02:00
parent f63134d00f
commit 6a20cb80ca
30 changed files with 1054 additions and 31 deletions
@@ -9,10 +9,11 @@
<section class="social-battery" aria-labelledby="social-battery-title">
<div>
<h2 id="social-battery-title">Social battery</h2>
<p>Choose today’s energy. We’ll put tasks that fit your {{ battery_budget }}-minute budget first.</p>
<p>Choose your energy. We’ll put tasks that fit your {{ battery_budget }}-minute budget first.</p>
</div>
<form class="social-battery__levels">
<input type="hidden" name="_token" value="{{ csrf_token('social_battery') }}">
<input type="hidden" name="date" value="{{ selected_date|default('now')|date('Y-m-d') }}">
{% for level, option in battery_levels %}
<input
id="social-battery-{{ level }}"