Added weather api preparations and entrypoint for dockerfile

This commit is contained in:
Joren de Graaf
2026-08-12 14:46:12 +02:00
parent 6a20cb80ca
commit 4aaafa7493
14 changed files with 319 additions and 14 deletions
+1
View File
@@ -20,6 +20,7 @@
{% endif %}
</head>
<body>
<header><img src="{{ asset('build/images/logo.png') }}" class="logo" alt="Logo">TaskNest <img src="{{ asset('build/images/TaskNestMascots.png') }}" class="mascots" alt="Mascots"></header>
{% block body %}{% endblock %}
</body>
</html>
-2
View File
@@ -26,8 +26,6 @@
<div>{{ form_row(form.scheduledFor) }}</div>
<div>{{ form_row(form.isOutdoor) }}</div>
<div>{{ form_row(form.weatherProfile) }}</div>
<div>{{ form_row(form.isOutdoor) }}</div>
<div>{{ form_row(form.weatherProfile) }}</div>
<div class="task-composer__repeat">
{{ form_widget(form.isRecurring, {attr: {class: 'task-composer__repeat-input'}}) }}
{{ form_label(form.isRecurring) }}
+2 -1
View File
@@ -25,10 +25,11 @@
{{ has_saved_location ? 'Update weather location' : 'Use my location for weather' }}
</button>
<p class="weather-location__status" data-weather-location-status aria-live="polite"></p>
{% if weather_forecast %}
{{ include('task/_weather_forecast.html.twig', {forecast: weather_forecast}) }}
{{ include('task/_task_composer.html.twig', {form: form}) }}
{% endif %}
{{ include('task/_task_composer.html.twig', {form: form}) }}
{{ include('task/_task_recommendations.html.twig', {
tasks: tasks,