login consent app sql

This commit is contained in:
2022-05-03 08:54:45 +02:00
parent e7253acfd8
commit f9a6535906
1652 changed files with 187600 additions and 45 deletions

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

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<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>

44
templates/login.html.twig Normal file
View File

@ -0,0 +1,44 @@
{% extends "base.html.twig" %}
{% block stylesheets %}
<style>
body{
min-height: 50vh;
display: flex;
justify-content: center;
align-items: center;
}
.wrapper{
display :flex;
justify-content: center;
align-items: center;
height: 100%;
}
form{
border: 1px solid grey;
border-radius: 5px;
padding: 15px;
box-shadow: 3px 3px 2px grey, -3px -3px 2px grey;
display:flex;
flex-direction: column;
}
.form-errors{
color: red;
}
</style>
{% endblock %}
{% block body %}
<div class="wrapper">
{{ form_start(form)}}
<div class="form-errors">
{% if error is defined %}{{ error }}{% endif %}
</div>
{{ form_widget(form)}}
<button type="submit" class="btn btn-success">valider</button>
{{ form_end(form)}}
</div>
{% endblock %}