Commit a5ceb560 authored by Okhin's avatar Okhin

90

parent 755d53ab
......@@ -5,6 +5,5 @@
<include href="toolbar.html" />
<include href="{{ @block_content }}" />
<include href="footer.html" />
</check>
</body>
</html>
<head>
<title>{{ _("Soutenez La Quadrature du Net !") }}</title>
<meta charset="utf-8" />
<meta name="author" content="La Quadrature du Net" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="favicon.png" />
<title>{{ _("Soutenez La Quadrature du Net !") }}</title>
<meta charset="utf-8" />
<meta name="author" content="La Quadrature du Net" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="favicon.png" />
<!-- Open graph -->
<meta property="og:title" content="{{ _('Soutenez La Quadrature du Net !') }}" />
<meta property="og:url" content="https://soutien.laquadrature.net/" />
<!-- FIXME: Change the OG image -->
<meta property="og:image" content="https://soutien.laquadrature.net/static/img/anim_3.gif" />
<meta property="og:site_name" content="La Quadrature du Net" />
<meta property="og:description" content="{{ _("Depuis sa création, La Quadrature du Net agit sans relâche pour qu'Internet demeure un outil de partage, de libre expression, d'émancipation et permette la participation de tous au débat démocratique.") }}" />
<!-- Open graph -->
<meta property="og:title" content="{{ _('Soutenez La Quadrature du Net !') }}" />
<meta property="og:url" content="https://soutien.laquadrature.net/" />
<!-- FIXME: Change the OG image -->
<meta property="og:image" content="https://soutien.laquadrature.net/static/img/anim_3.gif" />
<meta property="og:site_name" content="La Quadrature du Net" />
<meta property="og:description" content="{{ _("Depuis sa création, La Quadrature du Net agit sans relâche pour qu'Internet demeure un outil de partage, de libre expression, d'émancipation et permette la participation de tous au débat démocratique.") }}" />
<!-- Twitter cards -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@laquadrature" />
<meta name="twitter:title" content="{{ _("Soutenez la Quadrature du Net&nbsp!") }}">
<meta name="twitter:image" content="https://soutien.laquadrature.net/static/img/anim_3.gif">
<meta name="twitter:description" content="{{ _("Depuis sa création, La Quadrature du Net agit sans relâche pour qu'Internet demeure un outil de partage, de libre expression, d'émancipation et permette la participation de tous au débat démocratique.") }}">
<!-- Twitter cards -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@laquadrature" />
<meta name="twitter:title" content="{{ _("Soutenez la Quadrature du Net&nbsp!") }}">
<meta name="twitter:image" content="https://soutien.laquadrature.net/static/img/anim_3.gif">
<meta name="twitter:description" content="{{ _("Depuis sa création, La Quadrature du Net agit sans relâche pour qu'Internet demeure un outil de partage, de libre expression, d'émancipation et permette la participation de tous au débat démocratique.") }}">
<!-- Styles -->
<link rel="stylesheet" href="/static/css/bootstrap.css" media="all">
<link rel="stylesheet" href="/static/css/fonts.css" media="all">
<link rel="stylesheet" href="/static/css/forms.css" media="all">
<link rel="stylesheet" href="/static/css/modals.css" media="all">
<link rel="stylesheet" href="/static/css/collapsibles.css" media="all">
<link rel="stylesheet" href="/static/css/layouts.css" media="all">
<!-- Custom Styles pour la version 2018 -->
<link rel="stylesheet" href="./static/css/custom.css" media="all">
<!-- Styles -->
<link rel="stylesheet" href="/static/css/bootstrap.css" media="all">
<link rel="stylesheet" href="/static/css/fonts.css" media="all">
<link rel="stylesheet" href="/static/css/forms.css" media="all">
<link rel="stylesheet" href="/static/css/modals.css" media="all">
<link rel="stylesheet" href="/static/css/collapsibles.css" media="all">
<link rel="stylesheet" href="/static/css/layouts.css" media="all">
<!-- Custom Styles pour la version 2018 -->
<link rel="stylesheet" href="./static/css/custom.css" media="all">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
-->
<!-- Latest compiled and minified JavaScript -->
<!--
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
-->
</head>
<div id="subtitle" class="row fluid">
<div class="page-header">
<h1 class="text-left">{{ _("Merci de soutenir La Quadrature du Net &lt;3&nbsp;!")}}</h1>
</div>
<div id="subtitle" class="row fluid">
<div class="page-header">
<h1 class="text-left">{{ _("Merci de soutenir La Quadrature du Net &lt;3&nbsp;!")}}</h1>
</div>
<div id="perso" class="row fluid">
<div class="col-md-4"><!-- Form infos du compte -->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingInfos">
<div class="panel-title col-xs text-left">
{{ _("Compte")}}
<div class="panel-title col-xs-2 text-right">
</div>
</div>
</label>
<div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos">
<div class="panel-body text-left">
<form method="POST" action="{{ 'infos' | alias }}">
<input type="hidden" name="csrf" value="{{ @CSRF }}" />
<div class="form-group">
<label for="pseudo">{{ _("Pseudo") }}</label>
<input type="text" class="form-control" id="pseudo" name="pseudo" value="{{ @infos.pseudo }}">
</div>
<div class="form-group">
<label for="email">{{ _("Adresse mail")}}</label>
<input type="email" class="form-control" name="email" id="email" value="{{ @infos.email }}">
</div>
<div class="form-group">
<label for="password">{{ _("Mot de passe")}}</label>
<input type="password" class="form-control" name="password" id="password">
</div>
<div class="form-group">
<label for="password_confirmation">{{ _("Confirmation de mot de passe")}}</label>
<input type="password" class="form-control" name="password_confirmation" id="password_confirmation">
</div>
<input type="submit" class="btn btn-lg btn-primary c-boutonslongs" value="{{ _("Mettre à jour") }}">
</form>
</div>
<div id="perso" class="row fluid">
<div class="col-md-4"><!-- Form infos du compte -->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingInfos">
<div class="panel-title col-xs text-left">
{{ _("Compte")}}
<div class="panel-title col-xs-2 text-right">
</div>
</div>
</div>
</div><!-- /Form infos du compte -->
<div class="col-md-4"><!-- Form addresses -->
<div class="panel panel-default">
<input id="adresses" type="checkbox">
<label for="adresses" class="panel-heading" role="tab" id="headingInfos">
<div class="panel-title col-xs text-left">
{{ _("Adresses")}}
<div class="panel-title col-xs-2 text-right">
<div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos">
<div class="panel-body text-left">
<form method="POST" action="{{ 'infos' | alias }}">
<input type="hidden" name="csrf" value="{{ @CSRF }}" />
<div class="form-group">
<label for="pseudo">{{ _("Pseudo") }}</label>
<input type="text" class="form-control" id="pseudo" name="pseudo" value="{{ @infos.pseudo }}">
</div>
<div class="form-group">
<label for="email">{{ _("Adresse mail")}}</label>
<input type="email" class="form-control" name="email" id="email" value="{{ @infos.email }}">
</div>
<div class="form-group">
<label for="password">{{ _("Mot de passe")}}</label>
<input type="password" class="form-control" name="password" id="password">
</div>
<div class="form-group">
<label for="password_confirmation">{{ _("Confirmation de mot de passe")}}</label>
<input type="password" class="form-control" name="password_confirmation" id="password_confirmation">
</div>
<input type="submit" class="btn btn-lg btn-primary c-boutonslongs" value="{{ _("Mettre à jour") }}">
</form>
</div>
</div>
</div>
</div><!-- /Form infos du compte -->
<div class="col-md-4"><!-- Form addresses -->
<div class="panel panel-default">
<input id="adresses" type="checkbox">
<label for="adresses" class="panel-heading" role="tab" id="headingInfos">
<div class="panel-title col-xs text-left">
{{ _("Adresses")}}
<div class="panel-title col-xs-2 text-right">
</div>
</label>
<div id="collapseAdresses" class="panel-collapse collapse" href="#collapseAdresses" aria-expanded="false" aria-controls="collapseAdresses">
<div class="panel-body text-left">
<check if="{{ count(@adresses) > 0 }}">
<h3>{{ _("Modifier une adresse")}}</h3>
<form>
<div class="form-group">
<label for="">{{ _("Modifier une adresse")}}</label>
<select class="form-control">
<repeat group="{{ @adresses }}" value="{{ @adresse }}">
<option value="{{ @adresse.id }}">{{ @adresse.alias }}</option>
</repeat>
</select>
</div>
</form>
<h3>{{ _("Ajouter une nouvelle adresse")}}</h3>
<form method="POST" action="{{ 'adresses' | alias }}" id="create-adress-form">
<input type="hidden" name="csrf" value="{{ @CSRF }}" />
<input type="hidden" name="action" value="ADD" />
<input type="hidden" name="id" value="" />
<div class="form-group">
</div>
</label>
<div id="collapseAdresses" class="panel-collapse collapse" href="#collapseAdresses" aria-expanded="false" aria-controls="collapseAdresses">
<div class="panel-body text-left">
<check if="{{ count(@adresses) > 0 }}">
<h3>{{ _("Modifier une adresse")}}</h3>
<form>
<div class="form-group">
<label for="">{{ _("Modifier une adresse")}}</label>
<select class="form-control">
<repeat group="{{ @adresses }}" value="{{ @adresse }}">
<option value="{{ @adresse.id }}">{{ @adresse.alias }}</option>
</repeat>
</select>
</div>
</form>
<h3>{{ _("Ajouter une nouvelle adresse.")}}</h3>
<form method="POST" action="{{ 'adresses' | alias }}" id="create-adress-form">
<input type="hidden" name="csrf" value="{{ @CSRF }}" />
<input type="hidden" name="action" value="ADD" />
<input type="hidden" name="id" value="" />
<div class="form-group">
<label for="alias">{{ _("Nom de l'adresse")}}</label>
<input type="text" class="form-control" name="alias" value="">
</div>
<div class="form-group">
<label for="nom">{{ _("Destinataire") }}</label>
<input type="text" class="form-control" name="nom" value="">
</div>
<div class="form-group">
<label for="adresse">{{ _("Adresse")}}</label>
<input type="text" class="form-control" name="adresse" value="">
</div>
<div class="form-group">
<label for="adresse2">{{ _("Complément d'adresse")}}</label>
<input type="text" class="form-control" name="adresse2" value="">
</div>
<div class="form-group">
<label for="codepostal">{{ _("Code Postal")}}</label>
<input type="text" class="form-control" name="codepostal" value="">
</div>
<div class="form-group">
<label for="ville">{{ _("Ville")}}</label>
<input type="text" class="form-control" name="ville" value="">
</div>
<div class="form-group">
<label for="state">{{ _("Province / État")}}</label>
<input type="text" class="form-control" name="state" value="">
</div>
<div class="form-group">
<label for="pays">{{ _("Pays")}}</label>
<input type="text" class="form-control" name="pays" value="">
</div>
<div class="form-group">
<label for="default">
<input type="checkbox" name="defaut" value="true" >{{ _("Utiliser comme adresse par défaut.") }}
</label>
</div>
<input type="submit" class="btn btn-lg c-boutonslongs" value="{{ _("Créer cette adresse")}}">
</form>
</div>
<input type="text" class="form-control" name="alias" value="">
</div>
<div class="form-group">
<label for="nom">{{ _("Destinataire") }}</label>
<input type="text" class="form-control" name="nom" value="">
</div>
<div class="form-group">
<label for="adresse">{{ _("Adresse")}}</label>
<input type="text" class="form-control" name="adresse" value="">
</div>
<div class="form-group">
<label for="adresse2">{{ _("Complément d'adresse")}}</label>
<input type="text" class="form-control" name="adresse2" value="">
</div>
<div class="form-group">
<label for="codepostal">{{ _("Code Postal")}}</label>
<input type="text" class="form-control" name="codepostal" value="">
</div>
<div class="form-group">
<label for="ville">{{ _("Ville")}}</label>
<input type="text" class="form-control" name="ville" value="">
</div>
<div class="form-group">
<label for="state">{{ _("Province / État")}}</label>
<input type="text" class="form-control" name="state" value="">
</div>
<div class="form-group">
<label for="pays">{{ _("Pays")}}</label>
<input type="text" class="form-control" name="pays" value="">
</div>
<div class="form-group">
<label for="default">
<input type="checkbox" name="defaut" value="true" >{{ _("Utiliser comme adresse par défaut.") }}
</label>
</div>
<input type="submit" class="btn btn-lg c-boutonslongs" value="{{ _("Créer cette adresse")}}">
</form>
</div>
</div>
</div><!-- / Form Adresses -->
<div class="col-md-4"><!-- Form historique -->
<div class="panel panel-default">
<input id="histo" type="checkbox">
<label for="histo" class="panel-heading" role="tab" id="headingInfos">
<div class="panel-title col-xs text-left">
{{ _("Historique")}}
<div class="panel-title col-xs-2 text-right">
</div>
</div>
</label>
<div id="collapseHistorique" class="panel-collapse collapse" aria-labelledby="headingHistorique">
<div class="panel-body text-left">
<table class="table text-left">
<tr>
<th>{{ _("Date") }}</th>
<th>{{ _("Dons") }}</th>
<th>{{ _("Récurent") }}</th>
<th>{{ _("Contreparties") }}</th>
</tr>
<repeat group="{{ @dons_recurrents }}" value="{{ @don }}">
<tr>
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ _("Oui")}}</td>
<td></td>
</tr>
</repeat>
<repeat group="{{ @dons }}" value="{{ @don }}">
<tr>
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ _("Non")}}</td>
<td></td>
</tr>
</repeat>
<repeat group="{{ @contreparties }}" value="{{ @contrepartie }}">
<tr>
<td>{{ @contrepartie.datec }}</td>
<td></td>
<td></td>
<td>{{ @contrepartie.quoi }}</td>
</tr>
</repeat>
</table>
</div>
</div><!-- / Form Adresses -->
<div class="col-md-4"><!-- Form historique -->
<div class="panel panel-default">
<input id="histo" type="checkbox">
<label for="histo" class="panel-heading" role="tab" id="headingInfos">
<div class="panel-title col-xs text-left">
{{ _("Historique")}}
<div class="panel-title col-xs-2 text-right">
</div>
</div>
</label>
<div id="collapseHistorique" class="panel-collapse collapse" aria-labelledby="headingHistorique">
<div class="panel-body text-left">
<table class="table text-left">
<tr>
<th>{{ _("Date") }}</th>
<th>{{ _("Dons") }}</th>
<th>{{ _("Récurent") }}</th>
<th>{{ _("Contreparties") }}</th>
</tr>
<repeat group="{{ @dons_recurrents }}" value="{{ @don }}">
<tr>
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ _("Oui")}}</td>
<td></td>
</tr>
</repeat>
<repeat group="{{ @dons }}" value="{{ @don }}">
<tr>
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ _("Non")}}</td>
<td></td>
</tr>
</repeat>
<repeat group="{{ @contreparties }}" value="{{ @contrepartie }}">
<tr>
<td>{{ @contrepartie.datec }}</td>
<td></td>
<td></td>
<td>{{ @contrepartie.quoi }}</td>
</tr>
</repeat>
</table>
</div>
</div>
</div><!-- / Form historique -->
</div>
</div>
</div><!-- / Form historique -->
</div>
</section>
<section id="wrapper" class="text-center fluid">
<div id="subtitle" class="row">
......@@ -221,119 +220,120 @@
<div class="col-md-3 text-center">
<p>
<img class="" src="/static/img/piplome.svg" alt="">
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi1">
<h3 class="text-left">{{ _("Piplôme")}}</h3>
</label>
<form class="text-left">
<label for="piplome_id">{{ _("Titulaire du Piplôme")}}</label>
<input type="text" class="form-control" id="piplome_id" name="piplome_id" value="" placeholder="Nom, prénom, pseudonyme, etc …">
</form>
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi1">
<h3 class="text-left">{{ _("Piplôme")}}</h3>
</label>
<div class="text-left">
<label for="piplome_id">{{ _("Titulaire du Piplôme")}}</label>
<input type="text" class="form-control" id="piplome_id" name="piplome_id" value="" placeholder="Nom, prénom, pseudonyme, etc …">
</div>
</div>
</div>
<div class="c-prixcontrepartie">
<p>30&nbsp;</p>
</div>
</div>
<div class="c-prixcontrepartie">
<p>30&nbsp;</p>
</div>
</div>
</div>
</div><!-- piplome -->
</check>
<check if="{{ @infos.cumul >= 50 }}">
<div class="col-md-8 col-md-offset-2"><!-- Pibag -->
<div class="panel panel-default">
<div class="panel-body c-panelcontrepartie">
<div class="col-md-1">
<input type="checkbox" class="" id="quoi2" name="quoi" <check if="{{ @infos.cumul < 50 }}">disabled</check> value="pibag">
</div>
<div class="col-md-3 text-center">
<p>
</div><!-- piplome -->
</check>
<check if="{{ @infos.cumul >= 50 }}">
<div class="col-md-8 col-md-offset-2"><!-- Pibag -->
<div class="panel panel-default">
<div class="panel-body c-panelcontrepartie">
<div class="col-md-1">
<input type="checkbox" class="" id="quoi2" name="quoi" <check if="{{ @infos.cumul < 50 }}">disabled</check> value="pibag">
</div>
<div class="col-md-3 text-center">
<p>
<img class="" src="/static/img/pibag.svg" alt="">
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi2">
<h3 class="text-left">{{ _("Pibag")}}</h3>
</label>
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi2">
<h3 class="text-left">{{ _("Pibag")}}</h3>
</label>
</div>
</div>
<div class="c-prixcontrepartie">
<p>50&nbsp;</p>
</div>
</div>
<div class="c-prixcontrepartie">
<p>50&nbsp;</p>
</div>
</div>
</div>
</div><!-- / Pibag -->
</check>
<check if="{{ @infos.cumul >= 100 }}">
<div class="col-md-8 col-md-offset-2"><!-- Pishirt -->
<div class="panel panel-default">
<div class="panel-body c-panelcontrepartie">
<div class="col-md-1">
<input type="checkbox" class="" id="quoi3" name="quoi"<check if="{{ @infos.cumul < 100 }}">disabled</check> value="pishirt">
</div>
<div class="col-md-3 text-center">
<p>
</div><!-- / Pibag -->
</check>
<check if="{{ @infos.cumul >= 100 }}">
<div class="col-md-8 col-md-offset-2"><!-- Pishirt -->
<div class="panel panel-default">
<div class="panel-body c-panelcontrepartie">
<div class="col-md-1">
<input type="checkbox" class="" id="quoi3" name="quoi"<check if="{{ @infos.cumul < 100 }}">disabled</check> value="pishirt">
</div>
<div class="col-md-3 text-center">
<p>
<img class="" src="/static/img/pishirt.svg" alt="">
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi3">
<h3 class="text-left">{{ _("Pi-Shirt")}}</h3>
</label>
<form class="text-left">
<div class="form-group text-left">
<label for="taille">{{ _("Taille") }}</label>
<select class="form-control" name="taille">
<repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
<option value="{{ @key }}">{{ @value }}</option>
</repeat>
</select>
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi3">
<h3 class="text-left">{{ _("Pi-Shirt")}}</h3>
</label>
<div class="text-left">
<div class="form-group text-left">
<label for="taille">{{ _("Taille") }}</label>
<select class="form-control" name="taille">
<repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
<option value="{{ @key }}">{{ @value }}</option>
</repeat>
</select>
</div>
</div>
</form>
</div>
</div>
<div class="c-prixcontrepartie">
<p>100&nbsp;</p>
</div>
</div>
<div class="c-prixcontrepartie">
<p>100&nbsp;</p>
</div>
</div>
</div>
</div><!-- / Pishirt -->
</check>
<check if="{{ @infos.cumul >= 250 }}">
<div class="col-md-8 col-md-offset-2"><!-- Hoopi -->
<div class="panel panel-default">
<div class="panel-body c-panelcontrepartie">
<div class="col-md-1">
<input type="checkbox" class="" id="quoi4" name="quoi"<check if="{{ @infos.cumul < 250 }}">disabled</check> value="hoopie">
</div>
<div class="col-md-3 text-center">
<p>
</div><!-- / Pishirt -->
</check>
<check if="{{ @infos.cumul >= 250 }}">
<div class="col-md-8 col-md-offset-2"><!-- Hoopi -->
<div class="panel panel-default">
<div class="panel-body c-panelcontrepartie">
<div class="col-md-1">
<input type="checkbox" class="" id="quoi4" name="quoi"<check if="{{ @infos.cumul < 250 }}">disabled</check> value="hoopie">
</div>
<div class="col-md-3 text-center">
<p>
<img class="media-object" src="/static/img/hoopie.svg" alt="">
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi4">
<h3 class="text-left">{{ _("Hoodie")}}</h3>
</label>
<form class="text-left">
<div class="form-group text-left">
<label for="taille">{{ _("Taille") }}</label>
<select name="taille_h" class="form-control">
<repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
<option value="{{ @key }}">{{ @value }}</option>
</repeat>
</select>
</p>
</div>
<div class="col-md-8">
<div class="form-group text-left">
<label for="quoi4">
<h3 class="text-left">{{ _("Hoodie")}}</h3>
</label>
<div class="text-left">
<div class="form-group text-left">
<label for="taille">{{ _("Taille") }}</label>
<select name="taille_h" class="form-control">
<repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
<option value="{{ @key }}">{{ @value }}</option>
</repeat>
</select>
</div>