]> git.ipfire.org Git - people/ric9/ipfire.org.git/commitdiff
docs/confirm-restore: removed comment & added missing container
authorRico Hoppe <rico.hoppe@ipfire.org>
Thu, 25 Jan 2024 19:46:33 +0000 (19:46 +0000)
committerRico Hoppe <rico.hoppe@ipfire.org>
Thu, 25 Jan 2024 19:46:33 +0000 (19:46 +0000)
Signed-off-by: Rico Hoppe <rico.hoppe@ipfire.org>
src/templates/docs/confirm-restore.html

index 1ea6635174b6502ca2c645a56b3c494911341190..7df1a4b020a04c94d8d5d159311c25385796bbb7 100644 (file)
@@ -3,36 +3,6 @@
 {% block title %}{{ _("Restore %s") % page.page }}{% end block %}
 
 {% block content %}
-       <!--<div class="row justify-content-center my-5">
-               <div class="col col-md-6">
-                       <div class="card card-body">
-                               <h5 class=" mb-4">{{ _("Restore %s") % page.page }}</h5>
-
-                               <p>
-                                       {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
-                               </p>
-
-                               <form action="/docs/_restore" method="POST">
-                                       {% raw xsrf_form_html() %}
-
-                                       <input type="hidden" name="path" value="{{ page.page }}">
-                                       <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
-
-                                       <div class="mb-3">
-                                               <input class="form-control" type="text" name="comment"
-                                                       placeholder="{{ _("Comment") }}">
-                                       </div>
-
-                                       <div class="d-grid">
-                                               <button type="submit" class="btn btn-warning">
-                                                       {{ _("Restore") }}
-                                               </button>
-                                       </div>
-                               </form>
-                       </div>
-               </div>
-       </div>-->
-
        <section class="hero is-light">
                <div class="hero-body">
                        <div class="container">
                </div>
        </section>
 
-       <section class="section">
-               <p>
-                       {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
-               </p>
-
-               <form action="/docs/_restore" method="POST">
-                       {% raw xsrf_form_html() %}
-
-                       <input type="hidden" name="path" value="{{ page.page }}">
-                       <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
-
-                       <div class="control">
-                               <input class="input" type="text" name="comment"
-                                       placeholder="{{ _("Comment") }}">
-                       </div>
-
-                       <button type="submit" class="button is-warning">
-                               {{ _("Restore") }}
-                       </button>
-               </form>
-       </section>
-
+       <div class="container">
+               <section class="section">
+                       <p>
+                               {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
+                       </p>
+
+                       <form action="/docs/_restore" method="POST">
+                               {% raw xsrf_form_html() %}
+
+                               <input type="hidden" name="path" value="{{ page.page }}">
+                               <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
+
+                               <div class="control">
+                                       <input class="input" type="text" name="comment"
+                                               placeholder="{{ _("Comment") }}">
+                               </div>
+
+                               <button type="submit" class="button is-warning">
+                                       {{ _("Restore") }}
+                               </button>
+                       </form>
+               </section>
+       </div>
 {% end block %}