update theme
This commit is contained in:
@@ -58,4 +58,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<nav class="navbar">
|
||||
<div class="navbar-left">
|
||||
<a href="{{ path('app_homepage') }}" class="navbar-brand">Actorle</a>
|
||||
</div>
|
||||
<div class="navbar-right">
|
||||
<a href="{{ path('app_login') }}" class="btn btn-primary">Se connecter</a>
|
||||
</div>
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
||||
@@ -2,8 +2,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}Welcome!{% endblock %}</title>
|
||||
<title>{% block title %}Actorle{% 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><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;1,9..144,400&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
{% block stylesheets %}
|
||||
{{ vite_entry_link_tags('app') }}
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Log in{% endblock %}
|
||||
{% block title %}Connexion — Actorle{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-container">
|
||||
<h1>Log in</h1>
|
||||
<h1>Se connecter</h1>
|
||||
|
||||
{% if error %}
|
||||
<div class="auth-error">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
||||
@@ -14,14 +14,14 @@
|
||||
<label for="inputEmail">Email</label>
|
||||
<input type="email" value="{{ last_username }}" name="_username" id="inputEmail" autocomplete="email" required autofocus>
|
||||
|
||||
<label for="inputPassword">Password</label>
|
||||
<label for="inputPassword">Mot de passe</label>
|
||||
<input type="password" name="_password" id="inputPassword" autocomplete="current-password" required>
|
||||
|
||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
||||
|
||||
<button type="submit">Sign in</button>
|
||||
<button type="submit">Connexion</button>
|
||||
</form>
|
||||
|
||||
<p class="auth-link">No account yet? <a href="{{ path('app_register') }}">Register</a></p>
|
||||
<p class="auth-link">Pas encore de compte ? <a href="{{ path('app_register') }}">S'inscrire</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Register{% endblock %}
|
||||
{% block title %}Inscription — Actorle{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-container">
|
||||
<h1>Register</h1>
|
||||
<h1>Créer un compte</h1>
|
||||
|
||||
{{ form_start(registrationForm) }}
|
||||
{{ form_row(registrationForm.email) }}
|
||||
{{ form_row(registrationForm.plainPassword.first) }}
|
||||
{{ form_row(registrationForm.plainPassword.second) }}
|
||||
|
||||
<button type="submit">Create account</button>
|
||||
<button type="submit">S'inscrire</button>
|
||||
{{ form_end(registrationForm) }}
|
||||
|
||||
<p class="auth-link">Already have an account? <a href="{{ path('app_login') }}">Log in</a></p>
|
||||
<p class="auth-link">Déjà un compte ? <a href="{{ path('app_login') }}">Se connecter</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user