add main routes and templates

This commit is contained in:
Tykayn 2025-02-09 16:10:35 +01:00 committed by tykayn
parent 6df4488b5c
commit 71bce538af
56 changed files with 2288 additions and 24 deletions

18
templates/default/index.html.twig Normal file → Executable file
View file

@ -1,20 +1,6 @@
{% extends 'base.html.twig' %}
{% block bigMain %}
{% block title %}Hello DefaultController!{% endblock %}
{% include 'default/main-screen.html.twig' %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code>/home/poule/encrypted/stockage-syncable/www/development/html/caisse-bliss/v2/caisse_bliss/src/Controller/DefaultController.php</code></li>
<li>Your template at <code>/home/poule/encrypted/stockage-syncable/www/development/html/caisse-bliss/v2/caisse_bliss/templates/default/index.html.twig</code></li>
</ul>
</div>
{% endblock %}