chore: initial import for test contour with k3s CI

This commit is contained in:
sova-bootstrap
2026-05-28 12:09:28 +03:00
commit d77d0a872f
423 changed files with 35401 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
{% form_theme form 'bootstrap_4_layout.html.twig' %}
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}
+11
View File
@@ -0,0 +1,11 @@
{% extends 'admin_base.html.twig' %}
{% block title %}Edit Department{% endblock %}
{% block body %}
<h1>Edit Department</h1>
{{ include('department/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('department_index') }}">back to list</a>
{% endblock %}
+38
View File
@@ -0,0 +1,38 @@
{% extends 'admin_base.html.twig' %}
{% block title %}Department index{% endblock %}
{% block body %}
<h1>Department index</h1>
<table class="table">
<thead>
<tr>
<th>Dcode</th>
<th>Name</th>
<th>Alias</th>
<th>Active</th>
<th>MiddleName</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for department in departments %}
<tr>
<td>{{ department.did }}</td>
<td>{{ department.name }}</td>
<td>{{ department.alias }}</td>
<td>{{ department.active ? 'Yes' : 'No' }}</td>
<td>{{ department.middleName }}</td>
<td>
<a href="{{ path('department_edit', {'id': department.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="9">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}