Added weather api preparations and entrypoint for dockerfile
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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) }}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user