base.html 5.84 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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
</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>
<div class="modal-form" id="merci">
	<div class="modal-form-title modal-form-only">
		<a class="close modal-form-only" href="/#"><span>Fermer</span></a>
		<h1>Merci &lt;3</h1>
	</div>
	<div class="modal-form-body modal-form-only">
		<div class="modal-row">
			<p>Merci de votre soutien</p>
		</div>
	</div>
</div>
<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>
	<nav class="navbar sticky-top navbar-toggleable-md dark-blue">
		<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">
				<li class="nav-item"><a class="nav-link" href="#add-account">Vous êtes Padawan</a></li>
			</ul>
		</div>
	</nav>
</div>

<section class="text-center container-fluid white">
	<div id="subtitle" class="row justify-content-center">
		<div class="page-header col-md-10">
			<h1><span>Bienvenue sur la revue de presse de La Quadrature</span></h1>
		</div>
	</div>

	<div class="row justify-content-center">
		<div id="video" class="col-md-6">
			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Corporis repellendus voluptates est nesciunt eum recusandae, quisquam reprehenderit impedit iusto, quo sint. Odio voluptatem odit voluptate, facilis esse dolores animi repellendus?</p>
		</div>
		<div id="donation" class="col-md-4">
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Delectus voluptas earum assumenda, perspiciatis dicta maxime quo illum repudiandae itaque omnis fuga explicabo magni minus maiores laboriosam voluptatibus doloremque. Nostrum, corrupti.</p>
		</div>
	</div>
</section>


<section id="main" class="container-fluid white">
	{% block content %}
	{% endblock %}
</section>

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