-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
740 additions
and
492 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
twig: | ||
file_name_pattern: '*.twig' | ||
paths: ['%kernel.project_dir%/templates'] | ||
|
||
when@test: | ||
twig: | ||
strict_variables: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
api_controllers: | ||
resource: | ||
path: ../src/Controller/Api/ | ||
namespace: App\Controller\Api | ||
type: attribute | ||
resource: | ||
path: ../src/Controller/Api/ | ||
namespace: App\Controller\Api | ||
type: attribute | ||
|
||
controllers: | ||
resource: | ||
path: ../src/Controller/ | ||
namespace: App\Controller | ||
type: annotation | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace App\Controller; | ||
|
||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; | ||
use Symfony\Component\HttpFoundation\JsonResponse; | ||
use Symfony\Component\Routing\Attribute\Route; | ||
|
||
class PolicyController extends AbstractController | ||
{ | ||
#[Route('/policy', name: 'app_policy')] | ||
public function index(): \Symfony\Component\HttpFoundation\Response | ||
{ | ||
return $this->render('policy/index.html.twig'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!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><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>"> | ||
{% block stylesheets %} | ||
{% endblock %} | ||
|
||
{% block javascripts %} | ||
{% endblock %} | ||
</head> | ||
<body> | ||
{% block body %}{% endblock %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{# templates/policy/index.html.twig #} | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block title %}CGU{% endblock %} | ||
|
||
{% block body %} | ||
<h1>Politique de confidentialité pour My3IL</h1> | ||
<h3>My3IL ("nous", "notre" ou "l'application") est une application mobile développée de manière indépendante par des | ||
développeurs tiers et n'est pas affiliée à l'école 3il Ingénieurs ou au groupe | ||
3il. | ||
</h3> | ||
<br> | ||
Notre application permet aux utilisateurs de visualiser l'emploi du temps pour une classe donnée. | ||
Cette politique de confidentialité décrit comment My3IL traite les informations collectées lors de l'utilisation de notre application.<br> | ||
<br> | ||
<strong>Collecte et utilisation des informations | ||
:</strong> My3IL ne collecte aucune donnée utilisateur à des fins de suivi ou de profilage. La seule donnée récupérée est le nom de l'utilisateur, qui est utilisé uniquement à des fins d'affichage dans l'application. Partage des informations : My3IL ne partage pas les données personnelles ou confidentielles des utilisateurs avec des tiers. | ||
<br> | ||
<strong>Sécurité des données | ||
:</strong> Nous mettons en place des procédures de sécurité pour protéger les informations collectées par My3IL. Cela inclut des mesures techniques et organisationnelles pour prévenir tout accès non autorisé, toute divulgation, toute altération ou toute destruction des données. | ||
<br> | ||
<strong>Conservation des données | ||
:</strong> My3IL ne conserve aucune donnée utilisateur au-delà de ce qui est nécessaire pour assurer le bon fonctionnement de l'application. Les données utilisateur sont supprimées dès qu'elles ne sont plus nécessaires. | ||
{% endblock %} |