- Added support for authenticating via access tokens

- update symfony to 6.4.*
- some other minor stuff
This commit is contained in:
2024-02-12 23:37:24 -07:00
parent 4a1c6e1a72
commit 7c45f64a73
21 changed files with 5022 additions and 8217 deletions
+1 -5
View File
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html data-bs-theme="dark">
<html data-bs-theme="dark" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -28,10 +28,6 @@
<i class="fas fa-tachometer-alt fa-fw me-3"></i>
<span>Dashboard</span>
</a>
<a href="#" class="list-group-item list-group-item-action py-2 ripple">
<i class="fas fa-comments fa-fw me-3"></i>
<span>Comments</span>
</a>
<a href="{{ path('app_domain_index') }}" class="list-group-item list-group-item-action py-2 ripple{{ app.request.pathInfo starts with path('app_domain_index') ? ' active' : ''}}">
<i class="fas fa-globe fa-fw me-3"></i>
<span>Domains</span>
+1
View File
@@ -27,6 +27,7 @@
<td>{{ domain.updatedAt ? domain.updatedAt|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ domain.createdAt ? domain.createdAt|date('Y-m-d H:i:s') : '' }}</td>
<td>
<a href="{{ path('app_domain_comments', {'id': domain.id}) }}">comments</a>
<a href="{{ path('app_domain_show', {'id': domain.id}) }}">show</a>
<a href="{{ path('app_domain_edit', {'id': domain.id}) }}">edit</a>
</td>
+44
View File
@@ -0,0 +1,44 @@
{% extends 'base.html.twig' %}
{% block title %}Comment List{% endblock %}
{% block body %}
<h1>{{ domain.domain }} Comment List</h1>
<table class="table">
<thead>
<tr>
<th>Domain</th>
<th>Name</th>
<th>Enabled</th>
<th>DefaultSortPolicy</th>
<th>UpdatedAt</th>
<th>CreatedAt</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for comment in [] %}
<tr>
<td>{{ domain.domain }}</td>
<td>{{ domain.name }}</td>
<td>{{ domain.enabled ? 'Yes' : 'No' }}</td>
<td>{{ domain.getDefaultSortPolicyName }}</td>
<td>{{ domain.updatedAt ? domain.updatedAt|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ domain.createdAt ? domain.createdAt|date('Y-m-d H:i:s') : '' }}</td>
<td>
<a href="{{ path('app_domain_comments', {'id': domain.id}) }}">comments</a>
<a href="{{ path('app_domain_show', {'id': domain.id}) }}">show</a>
<a href="{{ path('app_domain_edit', {'id': domain.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="9">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_domain_new') }}">Create new</a>
{% endblock %}