]> git.ipfire.org Git - ipfire.org.git/commitdiff
Bootstrap migration: 404 page
authorSven Hoehn <shoehn@ipfire.org>
Wed, 6 Dec 2017 16:08:34 +0000 (17:08 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Apr 2018 10:16:23 +0000 (12:16 +0200)
templates/error.html

index c904267831e03c23d5431a69ea00930c2db0bf9c..2829892d60c9d94dc777cf62b1cc9075b5c179b0 100644 (file)
@@ -3,13 +3,12 @@
 {% block title %}{{ _("Error") }} {{ code }}{% end block %}
 
 {% block container %}
-       <div class="container page-header">
-               <h1>{{ code }} - {{ message }}</h1>
-       </div>
-
-       <section class="container text-center">
+<div class="container">
+       <section class="features-content col-12">
+               <h2 class="display-2 text-center">{{ code }} - {{ message }}</h2>
+               
                <div class="row">
-                       <div class="col-lg-offset-2 col-lg-8 col-md-8">
+                       <div class="col-md-8 offset-md-2">
                                {% if lang == "de" %}
                                        <p class="lead">
                                                Leider ist ein unerwarteter Fehler beim Laden der Seite aufgetreten.
@@ -26,7 +25,7 @@
                                        </p>
                                        <p>
                                                If this is the first occurrence of the error, please wait a little bit
-                                               and try again. If the error occurres anyway the webmaster would be happy
+                                               and try again. If the error occurs anyway the webmaster would be happy
                                                to get a notification about this.
                                        </p>
                                {% end %}
 
                {% if exception %}
                        <div class="row">
-                               <div class="col-lg-offset-2 col-lg-8 col-md-8">
+                               <div class="col-md-8 offset-md-2">
                                        <pre>{{ exception }}</pre>
                                </div>
                        </div>
                {% end %}
        </section>
+</div>
 {% end block %}