Ver código fonte

Footer plus concis

François Drouhard 3 anos atrás
pai
commit
c5ff70adb8
3 arquivos alterados com 6 adições e 2 exclusões
  1. 4 0
      assets/styles/app.scss
  2. 1 1
      templates/base.html.twig
  3. 1 1
      templates/footer.html.twig

+ 4 - 0
assets/styles/app.scss

@@ -4,3 +4,7 @@ $yellow: #fde16d;
 
 @import "~bootstrap/scss/bootstrap";
 
+body {
+    padding-top:5rem;
+    padding-bottom:4rem;
+}

+ 1 - 1
templates/base.html.twig

@@ -8,7 +8,7 @@
 		{% block stylesheets %}{% endblock %}
         <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
     </head>
-    <body style="padding-top:5rem;padding-bottom:4rem;">
+    <body>
 		<div class="container">
 			<header>
 				{% include 'flashbag.html.twig' %}

+ 1 - 1
templates/footer.html.twig

@@ -1,5 +1,5 @@
 <div class="text-center fixed-bottom bg-white">
-    <span class="text-muted small">Cette application est développée en Symfony 5.3.10 - Code source disponible sur <a target="_blank" href="https://gogs.fdlibre.eu/sangfroid/films-symfony-4-2">Gogs</a><br>Licence <a target="_blank" href="http://www.wtfpl.net">WTFLP</a></span>
+    <span class="text-muted small">Code source disponible sur <a target="_blank" href="https://gogs.fdlibre.eu/sangfroid/films-symfony-4-2">Gogs</a> - Licence <a target="_blank" href="http://www.wtfpl.net">WTFLP</a></span>
 </div>
     
 {% block footer %}{% endblock %}