]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/docs/confirm-restore.html
docs/confirm-restore: restyled the page
[ipfire.org.git] / src / templates / docs / confirm-restore.html
CommitLineData
d4c68c5c
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("Restore %s") % page.page }}{% end block %}
4
5{% block content %}
61697ca0 6 <!--<div class="row justify-content-center my-5">
d4c68c5c
MT
7 <div class="col col-md-6">
8 <div class="card card-body">
9 <h5 class=" mb-4">{{ _("Restore %s") % page.page }}</h5>
10
11 <p>
61697ca0 12 {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
d4c68c5c
MT
13 </p>
14
bb998aca 15 <form action="/docs/_restore" method="POST">
d4c68c5c
MT
16 {% raw xsrf_form_html() %}
17
18 <input type="hidden" name="path" value="{{ page.page }}">
19 <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
20
1f12d610 21 <div class="mb-3">
9f1cfab7
MT
22 <input class="form-control" type="text" name="comment"
23 placeholder="{{ _("Comment") }}">
24 </div>
25
e6b114b8
MT
26 <div class="d-grid">
27 <button type="submit" class="btn btn-warning">
28 {{ _("Restore") }}
29 </button>
30 </div>
d4c68c5c
MT
31 </form>
32 </div>
33 </div>
61697ca0
RH
34 </div>-->
35
36 <section class="hero is-light">
37 <div class="hero-body">
38 <div class="container">
39 <nav class="breadcrumb" aria-label="breadcrumbs">
40 <ul>
41 <li>
42 <a href="/">{{ _("Home") }}</a>
43 </li>
44 <li>
45 <a href="/docs">{{ _("Documentation") }}</a>
46 </li>
47 <li>
48 <a href="">{{ page.page }}</a>
49 </li>
50 <li class="is-active">
51 <a href="#" aria-current="page">{{ _("Restore %s") % page.page }}</a>
52 </li>
53 </ul>
54 </nav>
55
56 <h1 class="title">{{ _("Restore %s") % page.page }}</h1>
57 </div>
58 </div>
59 </section>
60
61 <section class="section">
62 <p>
63 {{ _("Do you really want to restore this page to its revision from %s?") % locale.format_date(page.timestamp) }}
64 </p>
65
66 <form action="/docs/_restore" method="POST">
67 {% raw xsrf_form_html() %}
68
69 <input type="hidden" name="path" value="{{ page.page }}">
70 <input type="hidden" name="revision" value="{{ page.timestamp.isoformat() }}">
71
72 <div class="control">
73 <input class="input" type="text" name="comment"
74 placeholder="{{ _("Comment") }}">
75 </div>
76
77 <button type="submit" class="button is-warning">
78 {{ _("Restore") }}
79 </button>
80 </form>
81 </section>
82
d4c68c5c 83{% end block %}