]> git.ipfire.org Git - ipfire.org.git/commitdiff
error: Refactor page
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jul 2023 09:02:27 +0000 (09:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jul 2023 09:02:27 +0000 (09:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/error.html

index 02cc4fa19851bc67e8ce9cd11c7beeddc9332f18..c5c10be2a06123886b2cd9fdf5c39f3d17be1c2b 100644 (file)
@@ -3,16 +3,20 @@
 {% block title %}{{ message or status_code }}{% end block %}
 
 {% block container %}
-       <div class="container">
-               <div class="row justify-content-center mt-5">
-                       <div class="col col-md-5">
-                               <h5 class="mb-0">{% block message %}{{ _("Error %s") % status_code }}{% end block %}</h5>
-                               <h1>{{ _("oops, something went wrong") }}</h1>
+       <section class="hero is-primary is-fullheight-with-navbar">
+               <div class="hero-body">
+                       <div class="">
+                               <p class="title">
+                                       {{ _("Oops - We Are Sorry, But Something Went Wrong")}}
+                               </p>
+                               <p class="subtitle">
+                                       {% block message %}{{ _("Error %s") % status_code }}{% end block %}
+                               </p>
 
                                {% block main %}{% end block %}
                        </div>
                </div>
-       </div>
+       </section>
 {% end block %}
 
 {% block footer %}{% end block %}