Compare commits

...

2 Commits

Author SHA1 Message Date
a17c21d424 remove footer block 2024-10-25 16:59:43 +02:00
9ba40ae6c9 change button names 2024-10-25 16:55:13 +02:00
4 changed files with 4 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
<body> <body>
<header> <header>
<nav class="navbar navbar-expand-lg navbar-light bg-light"> <nav class="navbar navbar-expand-lg navbar-light bg-dark-subtle">
<a class="navbar-brand" href="/tpCrudTwig/public/index.php">TP Crud <a class="navbar-brand" href="/tpCrudTwig/public/index.php">TP Crud
<img src="/tpCrudTwig/public/images/suisse.png" alt="suisse" width="30" height="30" <img src="/tpCrudTwig/public/images/suisse.png" alt="suisse" width="30" height="30"
class="d-inline-block align-text-top"> class="d-inline-block align-text-top">
@@ -75,9 +75,7 @@
{% endif %} {% endif %}
</div> </div>
<footer class="footer fixed-bottom text-center m-1 bg-dark-subtle"> <footer class="footer fixed-bottom text-center m-1 bg-dark-subtle">
{% block footer %}
&copy; Copyright {{ "now"|date('Y') }} de Simon Pribylski. &copy; Copyright {{ "now"|date('Y') }} de Simon Pribylski.
{% endblock %}
</footer> </footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"

View File

@@ -10,7 +10,7 @@
<form class="form-group" role="search" method="post"> <form class="form-group" role="search" method="post">
<label for="name">Nom du rôle</label> <label for="name">Nom du rôle</label>
<input type="text" class="form-control" name="name" id="name"> <input type="text" class="form-control" name="name" id="name">
<input type="submit" class="btn btn-success" name="Ajouter" /> <input type="submit" class="btn btn-success" value="Ajouter" name="Ajouter" />
</form> </form>
{% endblock %} {% endblock %}

View File

@@ -29,7 +29,7 @@
<label for="description">Description</label> <label for="description">Description</label>
<textarea name="description" class="form-control"></textarea> <textarea name="description" class="form-control"></textarea>
<input type="submit" class="btn btn-success" name="Ajouter" /> <input type="submit" class="btn btn-success" value="Ajouter" name="Ajouter" />
</form> </form>
{% endblock %} {% endblock %}

View File

@@ -21,7 +21,7 @@
{% endfor %} {% endfor %}
</select> </select>
<input type="submit" class="btn btn-success m-2" name="Enregistrer" /> <input type="submit" class="btn btn-success m-2" name="Enregistrer" value="Enregistrer" />
<input type="hidden" name="id" value="{{ user.id }}"> <input type="hidden" name="id" value="{{ user.id }}">
</form> </form>