]> git.ipfire.org Git - pbs.git/commitdiff
web: Move the footer to the bottom
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 May 2023 19:39:38 +0000 (19:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 May 2023 19:39:38 +0000 (19:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 5fc6ae96d44ce0076c31e82018677aa0fe2a65c6..0cb5ee49b7f4ad115ff6040ed6f17a457752137c 100644 (file)
@@ -11,7 +11,7 @@
                <link rel="stylesheet" type="text/css" href="{{ static_url("css/site.css") }}" />
        </head>
 
-       <body>
+       <body class="is-flex is-flex-direction-column">
                <nav class="navbar is-dark" role="navigation" aria-label="main navigation">
                        <div class="container">
                                <div class="navbar-brand">
 
                {# Main Stuff #}
 
-               {% block body %}
-                       <div class="container">
-                               {% block container %}
-                                       NO CONTENT
-                               {% end block %}
-                       </div>
-               {% end block %}
+               <div class="is-flex-grow-1 is-flex-shrink-0">
+                       {% block body %}
+                               <div class="container">
+                                       {% block container %}
+                                               NO CONTENT
+                                       {% end block %}
+                               </div>
+                       {% end block %}
+               </div>
 
                {# Footer #}
 
-               <footer class="footer">
+               <footer class="footer is-flex-shrink-0">
                        <div class="container">
                                <div class="content has-text-centered">
                                        <p>