chore: initial import for test contour with k3s CI
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{% extends 'admin_base.html.twig' %}
|
||||
|
||||
{% block title %}Page index{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Page index</h1>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
<th>Active</th>
|
||||
<th>Alias</th>
|
||||
<th>actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for page in pages %}
|
||||
<tr>
|
||||
<td>{{ page.id }}</td>
|
||||
<td>{{ page.name }}</td>
|
||||
<td>{{ page.description }}</td>
|
||||
<td>{{ page.active ? 'Yes' : 'No' }}</td>
|
||||
<td>{{ page.alias }}</td>
|
||||
<td>
|
||||
<a href="{{ path('page_show', {'alias': page.alias}) }}">show</a>
|
||||
<a href="{{ path('page_edit', {'id': page.id}) }}">edit</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="6">no records found</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('page_new') }}">Create new</a>
|
||||
<br>
|
||||
<a href="{{ path('category_page_index') }}">Все категории</a>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user