base.html 5.12 KB
Newer Older
cynddl's avatar
cynddl committed
1
2
3
4
5
{% load static %}
<!DOCTYPE html>
<!-- Header -->
<html>
	<head>
6
	<title>Revue de presse de La Quadrature du Net</title>
cynddl's avatar
cynddl committed
7
8
9
10
11
	<meta charset="utf-8" />
	<meta name="author" content="La Quadrature du Net" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />

	<!-- Open graph -->
12
13
	<meta property="og:title" content="Revue de presse de La Quadrature du Net" />
	<meta property="og:url" content="https://www.laquadrature.net/rp/" />
cynddl's avatar
cynddl committed
14
	<meta property="og:site_name" content="La Quadrature du Net" />
15
	<meta property="og:description" content="" />
cynddl's avatar
cynddl committed
16

17
	<!-- Styles and scripts -->
18
19
	<script src="{% static 'admin.js' %}" charset="utf-8"></script>
	<link rel="stylesheet" href="{% static 'app.bundle.css' %}">
cynddl's avatar
cynddl committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
</head>
<body>
	<div class="modal-form " id="login">
	<div class="modal-form-title modal-form-only">
		<a class="close modal-form-only" href="/#"><span>Fermer</span></a>
		<h1>Se connecter</h1>
	</div>
	<form method="POST" class="form-inline" action="/login">
		<div class="modal-form-body">
			<input type="hidden" name="csrf" id="csrf" value="f0c2e16b60242fe65b800778d3b90f91" />
			<fieldset class="form-group modal-form-only">
				<div class="modal-row form-group">
					<label for="email">Adresse mail</label>
					<input class="form-control" type="email" name="email" id="email" required>
				</div>
				<div class="modal-row form-group">
					<label for="password">Mot de passe</label>
					<input class="form-control" type="password" name="password" id="password" required>
				</div>
				<div class="modal-row">
					<a href="#password-reset">Réinitialiser votre mot de passe</a>
					<input class="btn btn-lg btn-modal" type="submit" name="submit" id="submit" value="Connexion">
				</div>
			</fieldset>
		</div>
	</form>
</div>

<div class="modal-form" id="add-account">
	<div class="modal-form-title modal-form-only">
		<a class="close modal-form-only" href="#"><span>Fermer</span></a>
		<h1>Créer un compte</h1>
	</div>
	<form method="POST" class="form-inline" action="/login">
		<div class="modal-form-body">
			<input type="hidden" name="csrf" id="csrf" value="f0c2e16b60242fe65b800778d3b90f91" />
			<input type="hidden" name="action" id="action" value="create_account" />
			<fieldset class="form-group modal-form-only">
				<div class="modal-row form-group">
					<label for="email">Adresse mail</label>
					<input class="form-control" type="email" name="email" id="email" required>
				</div>
				<div class="modal-row form-group">
					<label for="password">Mot de passe</label>
					<input class="form-control" type="password" name="password" id="password" required>
				</div>
				<div class="modal-row">
					<input class="btn btn-lg btn-modal" type="submit" name="submit" id="submit" value="Création du compte">
				</div>
			</fieldset>
		</div>
	</form>
</div>
73

cynddl's avatar
cynddl committed
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<div class="modal-form" id="password-reset">
	<div class="modal-form-title modal-form-only">
		<a class="close modal-form-only" href="/#"><span>Fermer</span></a>
		<h1>Réinitialiser votre mot de passe</h1>
	</div>
	<form method="POST" class="form-inline" action="/login">
		<div class="modal-form-body">
			<input type="hidden" name="csrf" id="csrf" value="f0c2e16b60242fe65b800778d3b90f91" />
			<input type="hidden" name="action" id="action" value="renew_password" />
			<fieldset class="form-group modal-form-only">
				<div class="modal-row form-group">
					<label for="email">Adresse mail</label>
					<input class="form-control" type="email" name="email" id="email" required>
				</div>
				<div class="modal-row">
					<input class="btn btn-lg btn-modal" type="submit" name="submit" id="submit" value="Réinitialiser le mot de passe">
				</div>
			</fieldset>
		</div>
	</form>
</div>

<div>
97
	<nav class="navbar navbar-sm sticky-top navbar-toggleable-md dark-blue-bg">
cynddl's avatar
cynddl committed
98
99
100
101
102
103
104
105
106
107
108
109
110
111
		<div class="collapse navbar-collapse" id="navbarSupportedContent">
			<ul class="navbar-nav ml-auto">
				<li class="nav-item"><a class="nav-link" href="#add-account">Créer un compte</a></li>
				<li class="nav-item"><a class="nav-link" href="#login">Se connecter</a></li>
				<li class="nav-item"><a class="nav-link" href="https://soutien.laquadrature.net">[FR]</a></li>
				<li class="nav-item"><a class="nav-link" href="https://support.laquadrature.net">[EN]</a></li>
			</ul>
		</div>
	</nav>

	<nav class="navbar navbar-toggleable-md">
		<div class="collapse navbar-collapse" id="navbarSupportedContent">
			<a class="navbar-brand" href="/"><img class="float-left" src="/static/img/logo.png" alt=""></a>
			<ul class="navbar-nav ml-auto">
cynddl's avatar
cynddl committed
112
113
114
115
116
				<li class="nav-item">
					<a class="nav-link" href="#add-account">
						Vous êtes Padawan<img class="inline-image ml-2" role="img" src="{% static 'img/padawan.svg' %}" />
					</a>
				</li>
cynddl's avatar
cynddl committed
117
118
119
120
121
			</ul>
		</div>
	</nav>
</div>

122
<section class="container-fluid light-grey-bg">
123
124
	{% block content-banner %}
	<div id="main-banner" class="text-center row justify-content-center">
cynddl's avatar
cynddl committed
125
126
127
128
		<div class="page-header col-md-10">
			<h1><span>Bienvenue sur la revue de presse de La Quadrature</span></h1>
		</div>
	</div>
129
	{% endblock %}
cynddl's avatar
cynddl committed
130

131
132
	{% block content-header %}
	{% endblock %}
cynddl's avatar
cynddl committed
133
134
135
</section>


136
<section id="main" class="container-fluid light-grey-bg">
cynddl's avatar
cynddl committed
137
138
139
140
141
	{% block content %}
	{% endblock %}
</section>

</body>
luxcem's avatar
luxcem committed
142
</html>