adding some plumbing to auto refresh weather, integrated it into local concurrently command

This commit is contained in:
Joren de Graaf
2026-08-25 23:12:01 +02:00
parent 749ca32489
commit 86b74b43be
24 changed files with 776 additions and 11 deletions
@@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_user_settings_delete', {'id': user_setting.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ user_setting.id) }}">
<button class="btn">Delete</button>
</form>
+4
View File
@@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}
+13
View File
@@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit UserSettings{% endblock %}
{% block body %}
<h1>Edit UserSettings</h1>
{{ include('user_settings/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_user_settings_index') }}">back to list</a>
{{ include('user_settings/_delete_form.html.twig') }}
{% endblock %}
+37
View File
@@ -0,0 +1,37 @@
{% extends 'base.html.twig' %}
{% block title %}UserSettings index{% endblock %}
{% block body %}
<h1>UserSettings index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Label</th>
<th>Value</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for user_setting in user_settings %}
<tr>
<td>{{ user_setting.id }}</td>
<td>{{ user_setting.label }}</td>
<td>{{ user_setting.value }}</td>
<td>
<a href="{{ path('app_user_settings_show', {'id': user_setting.id}) }}">show</a>
<a href="{{ path('app_user_settings_edit', {'id': user_setting.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="4">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_user_settings_new') }}">Create new</a>
{% endblock %}
+11
View File
@@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New UserSettings{% endblock %}
{% block body %}
<h1>Create new UserSettings</h1>
{{ include('user_settings/_form.html.twig') }}
<a href="{{ path('app_user_settings_index') }}">back to list</a>
{% endblock %}
+30
View File
@@ -0,0 +1,30 @@
{% extends 'base.html.twig' %}
{% block title %}UserSettings{% endblock %}
{% block body %}
<h1>UserSettings</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ user_setting.id }}</td>
</tr>
<tr>
<th>Label</th>
<td>{{ user_setting.label }}</td>
</tr>
<tr>
<th>Value</th>
<td>{{ user_setting.value }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_user_settings_index') }}">back to list</a>
<a href="{{ path('app_user_settings_edit', {'id': user_setting.id}) }}">edit</a>
{{ include('user_settings/_delete_form.html.twig') }}
{% endblock %}