]> git.ipfire.org Git - ipfire.org.git/commitdiff
docs/404: updated the design of the page
authorRico Hoppe <rico.hoppe@ipfire.org>
Wed, 11 Oct 2023 14:50:54 +0000 (14:50 +0000)
committerRico Hoppe <rico.hoppe@ipfire.org>
Wed, 11 Oct 2023 14:50:54 +0000 (14:50 +0000)
src/templates/docs/404.html

index 2a873f13a96286151b4163b214c40dc419402bfd..8860c31b6a67c9c0ba620234add5ad9e99a8eaad 100644 (file)
@@ -5,25 +5,20 @@
 {% block container %}
     {% import os.path %}
 
-    <section>
-        <div class="container">
-            <div class="row justify-content-center mt-5">
-                <div class="col col-md-7">
-                    <h5 class="mb-0">{{ _("Error 404") }}</h5>
+    <section class="hero is-light is-fullheight-with-navbar">
+               <div class="hero-body">
+                       <div class="container">
+                               <h5 class="title is-5">
+                                       {{ _("Error 404") }}
+                </h5>
+                <h2 class="title is-2">
+                    {{ _("This Page Does Not Exist") }}
+                </h2>
 
-                    <h2>{{ _("This Page Does Not Exist") }}</h2>
-
-                    <p>
-                        {{ _("This wiki page does not exist, yet.") }}
-                    </p>
-
-                                       <div class="d-grid">
-                                               <a class="btn btn-primary" href="{{ os.path.join(request.path, "_edit") }}">
-                                                       {{ _("Create Now") }}
-                                               </a>
-                                       </div>
-                </div>
-            </div>
-        </div>
-    </section>
-{% end block %}
+                <a class="button is-primary" href="{{ os.path.join(request.path, "_edit") }}">
+                    {{ _("Create Now") }}
+                </a>
+                       </div>
+               </div>
+       </section>
+{% end block %}
\ No newline at end of file