]> git.ipfire.org Git - ipfire.org.git/commitdiff
docs: Use the full width for the content
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 6 Mar 2026 14:57:25 +0000 (14:57 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 6 Mar 2026 14:57:25 +0000 (14:57 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/docs/page.html

index c1337d31363dabd44fc3bece09d0f0cb47c6c5b3..6dcf393077d41242aaa9a8a9bfbd430eac616c44 100644 (file)
 
        <section class="section">
                <div class="container">
-                       <div class="columns">
-                               <div class="column is-three-quarters-widescreen">
-                                       <div class="content">
-                                               {% raw page.html %}
-                                       </div>
+                       <div class="content">
+                               {% raw page.html %}
+                       </div>
 
-                                       <hr>
+                       <hr>
 
-                                       <div class="block">
-                                               <a class="button is-primary is-fullwidth" href="{{ os.path.join(request.path, "_edit") }}">
-                                                       <span class="icon-text">
-                                                               <span class="icon">
-                                                                       <i class="fas fa-edit"></i>
-                                                               </span>
-                                                               <span>
-                                                                       {{ _("Edit Page") }}
-                                                                       {% if not current_user %}&dash; {{ _("Yes, you can edit!") }}{% end %}
-                                                               </span>
-                                                       </span>
-                                               </a>
-                                       </div>
-
-                                       <div class="block">
-                                               <small>
-                                                       <div class="level">
-                                                               <div class="level-left">
-                                                                       {% if current_user %}
-                                                                               {% if page.is_watched_by(current_user) %}
-                                                                                       <a class="level-item" href="{{ os.path.join(page.url, "_unwatch") }}">
-                                                                                               <i class="fas fa-star" title="{{ _("Stop watching this page") }}"></i>
-                                                                                       </a>
-                                                                               {% else %}
-                                                                                       <a class="level-item" href="{{ os.path.join(page.url, "_watch") }}">
-                                                                                               <i class="far fa-star" title="{{ _("Watch this page") }}"></i>
-                                                                                       </a>
-                                                                               {% end %}
-                                                                       {% end %}
+                       <div class="block">
+                               <a class="button is-primary is-fullwidth" href="{{ os.path.join(request.path, "_edit") }}">
+                                       <span class="icon-text">
+                                               <span class="icon">
+                                                       <i class="fas fa-edit"></i>
+                                               </span>
+                                               <span>
+                                                       {{ _("Edit Page") }}
+                                                       {% if not current_user %}&dash; {{ _("Yes, you can edit!") }}{% end %}
+                                               </span>
+                                       </span>
+                               </a>
+                       </div>
 
-                                                                       <a class="level-item" href="{% if page.author %}/users/{{ page.author.uid }}{% else %}#{% end %}">
-                                                                               {{ _("Last changed by %(author)s, %(when)s") % {
-                                                                                       "author" : page.author or _("an unknown author"),
-                                                                                       "when"   : locale.format_date(page.timestamp, shorter=True),
-                                                                               } }}
+                       <div class="block">
+                               <small>
+                                       <div class="level">
+                                               <div class="level-left">
+                                                       {% if current_user %}
+                                                               {% if page.is_watched_by(current_user) %}
+                                                                       <a class="level-item" href="{{ os.path.join(page.url, "_unwatch") }}">
+                                                                               <i class="fas fa-star" title="{{ _("Stop watching this page") }}"></i>
                                                                        </a>
-
-                                                                       <a class="level-item" href="{{ request.path }}?action=revisions">
-                                                                               {{ _("View Older Revisions") }}
+                                                               {% else %}
+                                                                       <a class="level-item" href="{{ os.path.join(page.url, "_watch") }}">
+                                                                               <i class="far fa-star" title="{{ _("Watch this page") }}"></i>
                                                                        </a>
-                                                               </div>
-                                                       </div>
-                                               </small>
+                                                               {% end %}
+                                                       {% end %}
+
+                                                       <a class="level-item" href="{% if page.author %}/users/{{ page.author.uid }}{% else %}#{% end %}">
+                                                               {{ _("Last changed by %(author)s, %(when)s") % {
+                                                                       "author" : page.author or _("an unknown author"),
+                                                                       "when"   : locale.format_date(page.timestamp, shorter=True),
+                                                               } }}
+                                                       </a>
+
+                                                       <a class="level-item" href="{{ request.path }}?action=revisions">
+                                                               {{ _("View Older Revisions") }}
+                                                       </a>
+                                               </div>
                                        </div>
-                               </div>
+                               </small>
                        </div>
                </div>
        </section>