base.html 6.2 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
123
<section class="container-fluid light-grey-bg">
	<div id="subtitle" class="text-center row justify-content-center">
cynddl's avatar
cynddl committed
124
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
	<div class="row justify-content-left">
		<div class="col-md-6 offset-md-1">
			<h4>Participez à l'aventure !</h4>
			<p>En tant que padawan
				<img class="inline-image" role="img" src="{% static 'img/padawan.svg' %}" />,
				aidez-nous à sélectionner les prochains articles à intégrer dans la
				revue de presse en votant pour les meilleurs. Les jedis
				<img class="inline-image" role="img" src="{% static 'img/jedi.svg' %}" />
				s'occupent ensuite de la relecture et de la mise en page des articles.
			</p>

			<p>Faites-vous connaître sur le
				<a target="_blank" href="https://www.laquadrature.net/wiki/IRC">salon IRC #lqdn-rp</a>
				où il vous sera fait bon accueil, ou en nous
				<a target="_blank" href="https://www.laquadrature.net/fr/contact">contactant par email</a>.
			</p>
cynddl's avatar
cynddl committed
145
		</div>
146
147
148
149
150
151
152
153
		<div class="col-md-4">
			<h4>Comment sélectionner un article ?</h4>
		<ol>
			<li>Il aborde les sujets sur lesquels La Quadrature est engagée (paquet télécom, ACTA, <i>etc.</i>).</li>
			<li>Il reflète ou appuie l'avis de La Quadrature.</li>
			<li>Il provient prioritairement de médias importants (presse nationale, régionale ou internationale).</li>
		</ol>

cynddl's avatar
cynddl committed
154
155
156
157
158
		</div>
	</div>
</section>


159
<section id="main" class="container-fluid light-grey-bg">
cynddl's avatar
cynddl committed
160
161
162
163
164
	{% block content %}
	{% endblock %}
</section>

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