Initial commit

This commit is contained in:
2025-07-15 23:39:10 +02:00
parent 1d3986a901
commit fb14214612
181 changed files with 31070 additions and 50 deletions

View File

@ -0,0 +1,46 @@
{% extends 'base.html.twig' %}
{% block title %}Node index{% endblock %}
{% block body %}
<h1>Node index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Quantity</th>
<th>Coordinate</th>
<th>Youtube</th>
<th>CreateAt</th>
<th>ModifiedAt</th>
<th>Version</th>
<th>IsDeleted</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for node in nodes %}
<tr>
<td>{{ node.id }}</td>
<td>{{ node.quantity }}</td>
<td>{{ node.coordinate ? node.coordinate|json_encode : '' }}</td>
<td>{{ node.youtube }}</td>
<td>{{ node.createAt ? node.createAt|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ node.modifiedAt ? node.modifiedAt|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ node.version }}</td>
<td>{{ node.isDeleted ? 'Yes' : 'No' }}</td>
<td>
<a href="{{ path('bo_node_edit', {'id': node.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="9">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
{#<a href="{{ path('bo_node_new') }}">Create new</a>#}
{% endblock %}