Basis Implementierung der Formulare

Bisher kein Design, nur '@chaospott.de' Adresse, Model WIP entworfen
This commit is contained in:
m0veax
2023-04-14 23:35:18 +02:00
parent 81f612c7d0
commit f29c895afd
14 changed files with 1049 additions and 1 deletions

19
templates/base.html.twig Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>

3
templates/fail.html.twig Normal file
View File

@ -0,0 +1,3 @@
<h1>Fehler</h1>
<p>Das automatisierte Erstellen einer Wireguard Config ist nur mit einer '@chaospott.de' Adresse möglich</p>

View File

@ -0,0 +1,7 @@
<h1>Erfolgreich</h1>
<p>Du hast eine E-Mail auf deine '@chaospott.de' E-Mail Adresse erhalten. In dieser klicke auf den Authentifizierungslink und du erhältst eine gültige Wireguard Konfiguration für deinen Rechner</p>
<p>DEBUG: Link da E-Mail noch nicht implementiert:</p>
<p>htttp://</p>

View File

@ -0,0 +1,2 @@
{# templates/wireguardRequest.html.twig #}
{{ form(form) }}