Entr'Ouvert pre-commit format (#87268)
gitea/imio-publik-themes/pipeline/head This commit looks good
Details
gitea/imio-publik-themes/pipeline/head This commit looks good
Details
This commit is contained in:
parent
adbf8da812
commit
90e79b11dc
|
@ -5,7 +5,7 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
root_folder = "static"
|
||||
root_folder = 'static'
|
||||
fileSet = set()
|
||||
value = "@import '{}';\n".format(sys.argv[1])
|
||||
for folder, under_folders, files in os.walk(root_folder):
|
||||
|
@ -13,10 +13,10 @@ for folder, under_folders, files in os.walk(root_folder):
|
|||
if filename == 'style.scss' and folder != 'imio':
|
||||
relative_folder = os.path.relpath(folder, root_folder)
|
||||
relative_path_file = os.path.join(relative_folder, filename)
|
||||
with open('{}/{}'.format(root_folder, relative_path_file), "r") as f_in_readonly:
|
||||
with open('{}/{}'.format(root_folder, relative_path_file), 'r') as f_in_readonly:
|
||||
contents = f_in_readonly.readlines()
|
||||
if value not in contents:
|
||||
contents.insert(len(contents) -1, value)
|
||||
with open('{}/{}'.format(root_folder, relative_path_file), "w") as f_in_write:
|
||||
contents = "".join(contents)
|
||||
contents.insert(len(contents) - 1, value)
|
||||
with open('{}/{}'.format(root_folder, relative_path_file), 'w') as f_in_write:
|
||||
contents = ''.join(contents)
|
||||
f_in_write.write(contents)
|
||||
|
|
|
@ -2,13 +2,18 @@ Source: imio-publik-themes
|
|||
Section: web
|
||||
Priority: optional
|
||||
Maintainer: Frédéric Péters <fpeters@entrouvert.com>
|
||||
Build-Depends: debhelper-compat (= 12), sassc (>= 3.4.2), wget(>= 1.16), python3-all
|
||||
Build-Depends: debhelper-compat (= 12),
|
||||
python3-all,
|
||||
sassc (>= 3.4.2),
|
||||
wget(>= 1.16),
|
||||
Standards-Version: 3.9.4
|
||||
Homepage: http://git.entrouvert.org/imio-publik-themes.git
|
||||
|
||||
Package: imio-publik-themes
|
||||
Architecture: all
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, publik-base-theme (>= 6.46)
|
||||
Conflicts: python-authentic2 (< 2.1.20.742.gb6ee096-0)
|
||||
Breaks: combo (< 0.7.1)
|
||||
Depends: publik-base-theme (>= 6.46),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Conflicts: python-authentic2 (< 2.1.20.742.gb6ee096-0),
|
||||
Breaks: combo (< 0.7.1),
|
||||
Description: Publik themes for iMio
|
||||
|
|
|
@ -12,17 +12,17 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<h2>Supprimer votre compte et toutes vos données personnelles ?</h2>
|
||||
<p style="text-align:justify">
|
||||
En cas de suppression de compte tous les documents et démarches seront
|
||||
perdus.
|
||||
Si vous êtes certain de vouloir supprimer votre compte, vous pouvez encoder
|
||||
votre mot de passe et appuyer sur le bouton « supprimer ».
|
||||
</P>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" name="submit" value="{% trans "Delete" %}"/>
|
||||
<input type="submit" name="cancel" value="{% trans "Cancel" %}"/>
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<h2>Supprimer votre compte et toutes vos données personnelles ?</h2>
|
||||
<p style="text-align:justify">
|
||||
En cas de suppression de compte tous les documents et démarches seront
|
||||
perdus.
|
||||
Si vous êtes certain de vouloir supprimer votre compte, vous pouvez encoder
|
||||
votre mot de passe et appuyer sur le bouton « supprimer ».
|
||||
</p>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" name="submit" value="{% trans "Delete" %}"/>
|
||||
<input type="submit" name="cancel" value="{% trans "Cancel" %}"/>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
{% block content %}
|
||||
<div id="header-text">
|
||||
<p>
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents. Vos données seront reprises automatiquement dans les formulaires
|
||||
de commandes.</p>
|
||||
{% if object.has_verified_attributes %}
|
||||
<p>Si une ou plusieurs informations de votre profil sont incorrectes, merci de vous présenter en mairie de quartier afin d'actualiser
|
||||
les informations reprises au Registre national.</p>
|
||||
{% endif %}
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents. Vos données seront reprises automatiquement dans les formulaires
|
||||
de commandes.</p>
|
||||
{% if object.has_verified_attributes %}
|
||||
<p>Si une ou plusieurs informations de votre profil sont incorrectes, merci de vous présenter en mairie de quartier afin d'actualiser
|
||||
les informations reprises au Registre national.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
{% extends "authentic2/login.html" %}
|
||||
|
||||
{% block login-pre %}
|
||||
<div class="login-intro">
|
||||
<p>Pour accéder aux démarches sécurisées, veuillez vous connecter :</p>
|
||||
</div>
|
||||
<div class="login-intro">
|
||||
<p>Pour accéder aux démarches sécurisées, veuillez vous connecter :</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block login-blocks %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}" style="min-height: 400px;">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Connexion</h2>
|
||||
{% elif id == "password" %}
|
||||
<h2>Connexion avec identifiants</h2>
|
||||
{% elif id == "fedict" %}
|
||||
<h2>Connexion eID ou itsme</h2>
|
||||
{% else %}
|
||||
<!-- no title for oidc -->
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}" style="min-height: 400px;">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Connexion</h2>
|
||||
{% elif id == "password" %}
|
||||
<h2>Connexion avec identifiants</h2>
|
||||
{% elif id == "fedict" %}
|
||||
<h2>Connexion eID ou itsme</h2>
|
||||
{% else %}
|
||||
<!-- no title for oidc -->
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
|
@ -9,9 +9,9 @@
|
|||
{% if field.errors %}
|
||||
<ul class="errorlist">
|
||||
{% for error in field.errors %}
|
||||
<li>
|
||||
{% blocktrans with name=field.name %}(Hidden field {{name}}) {{ error }}{% endblocktrans %}
|
||||
</li>
|
||||
<li>
|
||||
{% blocktrans with name=field.name %}(Hidden field {{name}}) {{ error }}{% endblocktrans %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
@ -21,36 +21,36 @@
|
|||
|
||||
{% for field in form %}
|
||||
{% if not field.is_hidden %}
|
||||
<p {% if field.css_classes %}class="{{ field.css_classes }}"{% endif %}>
|
||||
{{ field.label_tag }}
|
||||
{% if field.errors %}
|
||||
<ul class="errorlist">
|
||||
{% for error in field.errors %}
|
||||
<li>{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p {% if field.css_classes %}class="{{ field.css_classes }}"{% endif %}>
|
||||
{{ field.label_tag }}
|
||||
{% if field.errors %}
|
||||
<ul class="errorlist">
|
||||
{% for error in field.errors %}
|
||||
<li>{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{{ field }}
|
||||
{% if field.help_text %}
|
||||
<span class="helptext">{{ field.help_text }}</span>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if field.name == "username" %}
|
||||
{% if registration_authorized %}
|
||||
<p class="text"><span>→</span><a href="{{ registration_url }}">{% trans "Not a member?" %} {% trans "Register!" %}</a></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{{ field }}
|
||||
{% if field.help_text %}
|
||||
<span class="helptext">{{ field.help_text }}</span>
|
||||
{% if field.name == "password" %}
|
||||
{% if can_reset_password %}
|
||||
<p class="text"><span>→</span><a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">{% trans "Forgot password?" %} {% trans "Reset it!" %}</a></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if field.name == "username" %}
|
||||
{% if registration_authorized %}
|
||||
<p class="text"><span>→</span><a href="{{ registration_url }}">{% trans "Not a member?" %} {% trans "Register!" %}</a></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if field.name == "password" %}
|
||||
{% if can_reset_password %}
|
||||
<p class="text"><span>→</span><a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">{% trans "Forgot password?" %} {% trans "Reset it!" %}</a></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<input type="submit" name="{{ submit_name }}" value="{% trans "Log in" %}"/>
|
||||
{% if cancel %}
|
||||
<input type="submit" name="cancel" value="{% trans 'Cancel' %}"/>
|
||||
<input type="submit" name="cancel" value="{% trans 'Cancel' %}"/>
|
||||
{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% load i18n static %}
|
||||
<div>
|
||||
<form method="post" id="csam-login">
|
||||
<p>
|
||||
<p>
|
||||
{% if itsme %}
|
||||
<img src="{% static "/img/eid_itsme.png" %}" alt="Image illustrant la méthode de connexion eID ou itsme" style="cursor: pointer;" />
|
||||
<img src="{% static "/img/eid_itsme.png" %}" alt="Image illustrant la méthode de connexion eID ou itsme" style="cursor: pointer;" />
|
||||
{% else %}
|
||||
<img src="{% static "/img/eid.png" %}" alt="Image illustrant la méthode de connexion eID" style="cursor: pointer;" />
|
||||
<img src="{% static "/img/eid.png" %}" alt="Image illustrant la méthode de connexion eID" style="cursor: pointer;" />
|
||||
{% endif %}
|
||||
</p>
|
||||
<input type="submit" name="{{ submit_name }}" value="{% trans "Login" %}"/>
|
||||
</p>
|
||||
<input type="submit" name="{{ submit_name }}" value="{% trans "Login" %}"/>
|
||||
</form>
|
||||
<script>
|
||||
$(function() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div id="wca-login-box">
|
||||
<h2>Connexion avec <span class="highlight">Wallonie Connect</span></h2>
|
||||
<a href="{{ login_url }}">
|
||||
<h2>Connexion avec <span class="highlight">Wallonie Connect</span></h2>
|
||||
<a href="{{ login_url }}">
|
||||
<picture>
|
||||
<img
|
||||
id="wca-login-img"
|
||||
|
@ -9,6 +9,6 @@
|
|||
style="padding: 0 0 0 2em"
|
||||
/>
|
||||
</picture>
|
||||
</a>
|
||||
<p style="padding-left: 1rem;"><a href="{{ login_url }}" class="pk-button" aria-label="Connexion par Wallonie Connect">Connexion</a></p>
|
||||
</a>
|
||||
<p style="padding-left: 1rem;"><a href="{{ login_url }}" class="pk-button" aria-label="Connexion par Wallonie Connect">Connexion</a></p>
|
||||
</div>
|
|
@ -1,5 +1,5 @@
|
|||
{% load assets %}
|
||||
{% get_asset cell=cell type='picture' as asset %}
|
||||
<div class="page-intertitle" style="background-image: linear-gradient(to right, white 0%, white 20em, rgba(255, 255, 255, 0) 40em), url({% asset_url asset size="1156x130" crop="right" upscale=False %})">
|
||||
{{text}}
|
||||
{{text}}
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load assets %}
|
||||
{% get_asset cell=cell type='picture' as asset %}
|
||||
<div class="page-title" style="background-image: linear-gradient(to right, white 0%, white 20em, rgba(255, 255, 255, 0) 40em), url({% asset_url asset size="1156x260" crop="right" upscale=False %})">
|
||||
{{text}}
|
||||
{{text}}
|
||||
</div>
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
{% extends "combo/dashboardcell.html" %}
|
||||
{% block cell-content %}
|
||||
{% comment %}{% if not tiles|length %}{% endcomment %}
|
||||
<h2>Votre fil d'actu</h2>
|
||||
<p class="empty-dashboard"><a href="/mon-compte/">Personnaliser cet espace depuis la page « Mon compte »</a>.</p>
|
||||
{% comment %}{% endif %}{% endcomment %}
|
||||
{{ block.super }}
|
||||
<script>
|
||||
$('.dashboardcell').on('click', '.newsitem-category', function() {
|
||||
if ($(this).is('.off')) {
|
||||
$(this).removeClass('off');
|
||||
$('.newsitem[data-slug="' + $(this).data('slug') + '"]').show().removeClass('off');
|
||||
} else {
|
||||
$(this).addClass('off');
|
||||
$('.newsitem[data-slug="' + $(this).data('slug') + '"]').hide().addClass('off');
|
||||
}
|
||||
hide_duplicates('.newsitems');
|
||||
});
|
||||
$('.dashboardcell').on('click', '.eventitem-category', function() {
|
||||
if ($(this).is('.off')) {
|
||||
$(this).removeClass('off');
|
||||
$('.eventitem[data-slug="' + $(this).data('slug') + '"]').show().removeClass('off');
|
||||
} else {
|
||||
$(this).addClass('off');
|
||||
$('.eventitem[data-slug="' + $(this).data('slug') + '"]').hide().addClass('off');
|
||||
}
|
||||
hide_duplicates('.eventitems');
|
||||
});
|
||||
</script>
|
||||
{% comment %}{% if not tiles|length %}{% endcomment %}
|
||||
<h2>Votre fil d'actu</h2>
|
||||
<p class="empty-dashboard"><a href="/mon-compte/">Personnaliser cet espace depuis la page « Mon compte »</a>.</p>
|
||||
{% comment %}{% endif %}{% endcomment %}
|
||||
{{ block.super }}
|
||||
<script>
|
||||
$('.dashboardcell').on('click', '.newsitem-category', function() {
|
||||
if ($(this).is('.off')) {
|
||||
$(this).removeClass('off');
|
||||
$('.newsitem[data-slug="' + $(this).data('slug') + '"]').show().removeClass('off');
|
||||
} else {
|
||||
$(this).addClass('off');
|
||||
$('.newsitem[data-slug="' + $(this).data('slug') + '"]').hide().addClass('off');
|
||||
}
|
||||
hide_duplicates('.newsitems');
|
||||
});
|
||||
$('.dashboardcell').on('click', '.eventitem-category', function() {
|
||||
if ($(this).is('.off')) {
|
||||
$(this).removeClass('off');
|
||||
$('.eventitem[data-slug="' + $(this).data('slug') + '"]').show().removeClass('off');
|
||||
} else {
|
||||
$(this).addClass('off');
|
||||
$('.eventitem[data-slug="' + $(this).data('slug') + '"]').hide().addClass('off');
|
||||
}
|
||||
hide_duplicates('.eventitems');
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -42,11 +42,11 @@
|
|||
{% for actu in json.data %}
|
||||
<div class="newsitem" data-slug="{{connector}}-{{query}}" data-date="{{ actu.created }}">
|
||||
{% if not actu.image %}
|
||||
<img src="{% asset_url "actu:placeholder" %}" alt="" height="160" width="160">
|
||||
<img src="{% asset_url "actu:placeholder" %}" alt="" height="160" width="160">
|
||||
{% else %}
|
||||
{% thumbnail actu.image.scales.preview.download "160x160" crop="50% 25%" as im %}
|
||||
<img src="{{ im.url }}" alt="" />
|
||||
{% endthumbnail %}
|
||||
{% thumbnail actu.image.scales.preview.download "160x160" crop="50% 25%" as im %}
|
||||
<img src="{{ im.url }}" alt="" />
|
||||
{% endthumbnail %}
|
||||
{% endif %}
|
||||
<div>
|
||||
<h3><a href="{{actu.smartweb_url|default:actu.PLONE_id}}">{{actu.title}}</a></h3>
|
||||
|
|
|
@ -1,44 +1,44 @@
|
|||
<h2>Mes enfants</h2>
|
||||
<ul>
|
||||
{% if not json.data %}
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
{% else %}
|
||||
{% for child in json.data %}
|
||||
{% if json == False %}
|
||||
<p>erreur</p>
|
||||
{% if not json.data %}
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
{% else %}
|
||||
<li>{{ child.firstname }} {{ child.lastname }} ({{ child.age }} ans)
|
||||
{% if child.activities %}
|
||||
<ul>
|
||||
{% if parameters.print_activities %}
|
||||
<li><a class="activite" chid="{{child.id}}">inscris a {{child.activities|length}} activité(s)</a></li>
|
||||
<ul class="activities" chid="{{child.id}}">
|
||||
{% for child in json.data %}
|
||||
{% if json == False %}
|
||||
<p>erreur</p>
|
||||
{% else %}
|
||||
<li>{{ child.firstname }} {{ child.lastname }} ({{ child.age }} ans)
|
||||
{% if child.activities %}
|
||||
<ul>
|
||||
{% if parameters.print_activities %}
|
||||
<li><a class="activite" chid="{{child.id}}">inscris a {{child.activities|length}} activité(s)</a></li>
|
||||
<ul class="activities" chid="{{child.id}}">
|
||||
{% for activity in child.activities %}
|
||||
<li>{{ activity.text }}</li>
|
||||
<li>{{ activity.text }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<li>inscris a {{child.activities|length}} activité(s)</li>
|
||||
</ul>
|
||||
{% else %}
|
||||
<li>inscris a {{child.activities|length}} activité(s)</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
<script>
|
||||
$(function() {
|
||||
$(function() {
|
||||
$('.activite').click(function() {
|
||||
var childId = $(this).attr("chid");
|
||||
$("ul.activities[chid="+childId+"]").toggle();
|
||||
var childId = $(this).attr("chid");
|
||||
$("ul.activities[chid="+childId+"]").toggle();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
<style>
|
||||
.activities {
|
||||
display: none;
|
||||
}
|
||||
.activities {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
<div class="aes-info-plaines">
|
||||
<h2>Instructions générales pour inscrire un ou des enfant(s) aux plaines : </h2>
|
||||
<h2>Instructions générales pour inscrire un ou des enfant(s) aux plaines : </h2>
|
||||
|
||||
|
||||
{% if "montsaintguibert" in json.0 %}<p>Si vous avez déjà utilisé le Portail Parent pour les plaines de l'été dernier
|
||||
avec votre compte personnel lié à votre eID, effectuez les étapes 1 et 5 uniquement.</p>{% endif %}
|
||||
{% if "montsaintguibert" in json.0 %}<p>Si vous avez déjà utilisé le Portail Parent pour les plaines de l'été dernier
|
||||
avec votre compte personnel lié à votre eID, effectuez les étapes 1 et 5 uniquement.</p>{% endif %}
|
||||
|
||||
<h3>Etapes à suivre :</h3>
|
||||
<ol>
|
||||
<h3>Etapes à suivre :</h3>
|
||||
<ol>
|
||||
<li>{% if "chaudfontaine" in json.0 %}Créer un compte utilisateur (login et mot de passe, bouton "Inscription" en haut à droite de la page)
|
||||
{% else %}Cliquez sur "Connexion" en haut à droite et cliquez sur le bouton "Connexion" dans l'encart sur la gauche lié à la connexion via l'eID.
|
||||
Vous serez alors redirigé vers le CSAM afin de vous connecter au moyen de votre carte d'identité ou l'application It's me.{% endif%}</li>
|
||||
<li>Complétez ensuite un maximum des données de votre compte, afin de ne pas devoir les réintroduire par la suite.
|
||||
Revenez ensuite sur la page "Portail Parent".</li>
|
||||
<li><strong>M'enregistrer en tant que parent.</strong> Attention : Si votre enfant a déjà fréquenté la garderie de son école,
|
||||
seul le parent au nom duquel sont établies les factures de celle-ci peut s'enregistrer sur la plateforme. )</li>
|
||||
{% else %}Cliquez sur "Connexion" en haut à droite et cliquez sur le bouton "Connexion" dans l'encart sur la gauche lié à la connexion via l'eID.
|
||||
Vous serez alors redirigé vers le CSAM afin de vous connecter au moyen de votre carte d'identité ou l'application It's me.{% endif%}</li>
|
||||
<li>Complétez ensuite un maximum des données de votre compte, afin de ne pas devoir les réintroduire par la suite.
|
||||
Revenez ensuite sur la page "Portail Parent".</li>
|
||||
<li><strong>M'enregistrer en tant que parent.</strong> Attention : Si votre enfant a déjà fréquenté la garderie de son école,
|
||||
seul le parent au nom duquel sont établies les factures de celle-ci peut s'enregistrer sur la plateforme. )</li>
|
||||
<li>Enregistrer un enfant</li>
|
||||
<li>Compléter sa <strong>fiche santé</strong></li>
|
||||
<li>L'<strong>inscrire à la ou aux plaine(s)</strong></li>
|
||||
<li>L'<strong>inscrire à la ou aux plaine(s)</strong></li>
|
||||
<li>Refaire les étapes 3, 4 et 5 pour d'autres enfants.</li>
|
||||
{% if "burdinne" in json.0 or "montsaintguibert" in json.0 %} <li>Une fois que tous vos enfants sont inscrits, cliquez sur le bouton "Clôturer mes demandes" puis sur "Régler mon panier".
|
||||
Procédez au paiement en ligne.</li>{% endif %}
|
||||
</ol>
|
||||
<p>Vous êtes perdu ? Vous ne savez pas comment utiliser le Portail Parent ? Vous avez besoin d'aide ?
|
||||
Nous vous invitons avant tout à <a href="{{portal_url}}instructions-plaines" target="_blank">lire le mode d'emploi détaillé du Portail Parent</a> et à suivre pas à pas les instructions.</p>
|
||||
<p><a class="pk-button" href="{{portal_url}}brochure-plaines" target="_blank">Brochure des Plaines</a></p>
|
||||
{% if "burdinne" in json.0 or "montsaintguibert" in json.0 %} <li>Une fois que tous vos enfants sont inscrits, cliquez sur le bouton "Clôturer mes demandes" puis sur "Régler mon panier".
|
||||
Procédez au paiement en ligne.</li>{% endif %}
|
||||
</ol>
|
||||
<p>Vous êtes perdu ? Vous ne savez pas comment utiliser le Portail Parent ? Vous avez besoin d'aide ?
|
||||
Nous vous invitons avant tout à <a href="{{portal_url}}instructions-plaines" target="_blank">lire le mode d'emploi détaillé du Portail Parent</a> et à suivre pas à pas les instructions.</p>
|
||||
<p><a class="pk-button" href="{{portal_url}}brochure-plaines" target="_blank">Brochure des Plaines</a></p>
|
||||
</div>
|
||||
<style>
|
||||
.aes-info-plaines li {
|
||||
.aes-info-plaines li {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -1,50 +1,50 @@
|
|||
{% if "andenne" in portal_url %}
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
</div>{% endif %}
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
</div>{% endif %}
|
||||
{% if "burdinne" in portal_url %}
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
|
||||
<p>Pour toutes demandes concernant l'inscription aux repas, veuillez prendre contact avec Mme Lakaye - Directrice :
|
||||
<a href="mailto:ecole-primaire-marneffe@outlook.be">ecole-primaire-marneffe@outlook.be</a></p>
|
||||
<p>Pour toutes demandes concernant l'inscription aux repas, veuillez prendre contact avec Mme Lakaye - Directrice :
|
||||
<a href="mailto:ecole-primaire-marneffe@outlook.be">ecole-primaire-marneffe@outlook.be</a></p>
|
||||
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
|
||||
</div>{% endif %}
|
||||
</div>{% endif %}
|
||||
{% if "chaudfontaine" in portal_url %}
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
|
||||
<p>Suite aux inondations, pas de possibilité de repas chauds pour les écoles de Vaux et de Chaudfontaine.</p>
|
||||
<p>Suite aux inondations, pas de possibilité de repas chauds pour les écoles de Vaux et de Chaudfontaine.</p>
|
||||
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
</div>{% endif %}
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
</div>{% endif %}
|
||||
{% if "demo" in portal_url %}
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
<div class="aes-info-repas">
|
||||
<h2>Informations concernant les repas</h2>
|
||||
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
<p>Les inscriptions pour les repas du mois suivant se font du 1er au 15 du mois en cours.</p>
|
||||
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
<p>Attention: Si vous souhaitez ajouter des repas à une commande déjà clôturée, vous devez recommencer l'ensemble de la demande.</p>
|
||||
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
</div>{% endif %}
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-courant" target="_blank">Consulter le menu du mois</a></p>
|
||||
<p><a class="pk-button" href="{{portal_url}}menu-mois-prochain" target="_blank">Consulter le menu du mois prochain</a></p>
|
||||
</div>{% endif %}
|
|
@ -1,14 +1,14 @@
|
|||
<h2>Mes enfants</h2>
|
||||
<ul>
|
||||
{% if not json.data %}
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
{% else %}
|
||||
{% for child in json.data %}
|
||||
{% if json == False %}
|
||||
<p>erreur</p>
|
||||
{% if not json.data %}
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
{% else %}
|
||||
<li>{{ child.firstname }} {{ child.lastname }} ({{ child.age }} ans)</li>
|
||||
{% for child in json.data %}
|
||||
{% if json == False %}
|
||||
<p>erreur</p>
|
||||
{% else %}
|
||||
<li>{{ child.firstname }} {{ child.lastname }} ({{ child.age }} ans)</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
|
@ -1,46 +1,46 @@
|
|||
<h2>Les demandes de plaines de mes enfants.</h2>
|
||||
{% if not json %}
|
||||
<p>Aucune demande de plaine.</p>
|
||||
<p>{{ json_error }}</p>
|
||||
<p>Aucune demande de plaine.</p>
|
||||
<p>{{ json_error }}</p>
|
||||
{% else %}
|
||||
<ul>
|
||||
{% for demarche in json.data %}
|
||||
{% if demarche.form_slug == "aes-inscrire-mon-enfant-a-une-plaine" %}
|
||||
<li>
|
||||
{# https://montsaintguibert-formulaires.guichet-citoyen.be/portail-parent/aes-inscrire-mon-enfant-a-une-plaine/249/ #}
|
||||
<span class="plaine_numdemande"><a href="{{ eservices_url }}/portail-parent/aes-inscrire-mon-enfant-a-une-plaine/{{ demarche.form_number_raw }}/">Demande : {{ demarche.form_number_raw }}</a></span>
|
||||
{# items contient les valeurs des identifiants associes aux champs du formulaire (ex : selected_child) #}
|
||||
{% for k, v in demarche.fields.items %}
|
||||
{% if k == "selected_child" %}
|
||||
<span class="plaine_selected_child">({{ v }})</span>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{#8 == inscrire nouvel enfant ou cloturer ma demane , 9 == inscrire un nouvel enfant#}
|
||||
{% if demarche.workflow.status.id == "8" or demarche.workflow.status.id == "9" %}
|
||||
<ul><li>Status : <a href="">Inscrire un nouvel enfant</a> ou <a href="">clôturer ma demande</a></li></ul>
|
||||
{% else %}
|
||||
<ul><li>Status : {{ demarche.status }}</li></ul>
|
||||
{% endif %}
|
||||
<ul><li> <a class="jours_de_plaine" id="{{ demarche.form_number_raw }}" >Voir les jours de plaine</a><br><span class="jours_de_plaine" id="{{ demarche.form_number_raw }}">{{ demarche.workflow.fields.jours_de_plaine }}</span></li></ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul>
|
||||
{% for demarche in json.data %}
|
||||
{% if demarche.form_slug == "aes-inscrire-mon-enfant-a-une-plaine" %}
|
||||
<li>
|
||||
{# https://montsaintguibert-formulaires.guichet-citoyen.be/portail-parent/aes-inscrire-mon-enfant-a-une-plaine/249/ #}
|
||||
<span class="plaine_numdemande"><a href="{{ eservices_url }}/portail-parent/aes-inscrire-mon-enfant-a-une-plaine/{{ demarche.form_number_raw }}/">Demande : {{ demarche.form_number_raw }}</a></span>
|
||||
{# items contient les valeurs des identifiants associes aux champs du formulaire (ex : selected_child) #}
|
||||
{% for k, v in demarche.fields.items %}
|
||||
{% if k == "selected_child" %}
|
||||
<span class="plaine_selected_child">({{ v }})</span>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{#8 == inscrire nouvel enfant ou cloturer ma demane , 9 == inscrire un nouvel enfant#}
|
||||
{% if demarche.workflow.status.id == "8" or demarche.workflow.status.id == "9" %}
|
||||
<ul><li>Status : <a href="">Inscrire un nouvel enfant</a> ou <a href="">clôturer ma demande</a></li></ul>
|
||||
{% else %}
|
||||
<ul><li>Status : {{ demarche.status }}</li></ul>
|
||||
{% endif %}
|
||||
<ul><li> <a class="jours_de_plaine" id="{{ demarche.form_number_raw }}" >Voir les jours de plaine</a><br><span class="jours_de_plaine" id="{{ demarche.form_number_raw }}">{{ demarche.workflow.fields.jours_de_plaine }}</span></li></ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<script>
|
||||
$(function() {
|
||||
$(function() {
|
||||
var jours_de_plaine = $("span.jours_de_plaine");
|
||||
jours_de_plaine.hide();
|
||||
jours_de_plaine.each(function() {
|
||||
var tmp = $(this).html().replace(/,/g,"<br>");
|
||||
$(this).html(tmp);
|
||||
jours_de_plaine.each(function() {
|
||||
var tmp = $(this).html().replace(/,/g,"<br>");
|
||||
$(this).html(tmp);
|
||||
});
|
||||
|
||||
|
||||
$('a.jours_de_plaine').click(function() {
|
||||
var demarche = $(this).attr("id");
|
||||
$("span.jours_de_plaine[id="+demarche+"]").toggle();
|
||||
var demarche = $(this).attr("id");
|
||||
$("span.jours_de_plaine[id="+demarche+"]").toggle();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
<style>
|
||||
|
|
|
@ -67,14 +67,14 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% empty %}
|
||||
{% empty %}
|
||||
<!-- Display message if there are no entries -->
|
||||
<p>Retrouvez ici les délibérations communales de votre administration.<br /> Il n'y a aucune publication actuellement.</p>
|
||||
{% endfor %}
|
||||
<!-- Display button for all deliberations if plone_deliberations_url is available -->
|
||||
{% if plone_deliberations_url %}
|
||||
<!-- Display button for all deliberations if plone_deliberations_url is available -->
|
||||
{% if plone_deliberations_url %}
|
||||
<p>
|
||||
<a class="pk-button" href="{{ plone_deliberations_url }}">Consulter toutes les délibérations</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
@ -42,11 +42,11 @@
|
|||
{% for event in json.data %}
|
||||
<div class="eventitem" data-slug="{{connector}}-{{query}}" data-date="{{ event.created }}">
|
||||
{% if not event.image %}
|
||||
<img src="{% asset_url "events:placeholder" %}" alt="" height="160" width="160">
|
||||
<img src="{% asset_url "events:placeholder" %}" alt="" height="160" width="160">
|
||||
{% else %}
|
||||
{% thumbnail event.image.scales.preview.download "160x160" crop="50% 25%" as im %}
|
||||
<img src="{{ im.url }}" alt="" />
|
||||
{% endthumbnail %}
|
||||
{% thumbnail event.image.scales.preview.download "160x160" crop="50% 25%" as im %}
|
||||
<img src="{{ im.url }}" alt="" />
|
||||
{% endthumbnail %}
|
||||
{% endif %}
|
||||
<div>
|
||||
<h3><a href="{{event.smartweb_url|default:event.PLONE_id}}">{{event.title}}</a></h3>
|
||||
|
|
|
@ -1,164 +1,164 @@
|
|||
<div class="parent_portal">
|
||||
<h2>Bienvenue dans le Portail Parent</h2>
|
||||
<div>
|
||||
{% if json.aes_id %}
|
||||
<ul class="children">
|
||||
{% for child in homepage_data.children %}
|
||||
<li class="child">
|
||||
<div class="child-info">
|
||||
<h4>{{ child.name }}</h4>
|
||||
</div>
|
||||
<ul class="forms">
|
||||
{% for form in child.forms %}
|
||||
<li aria-label="{{ form.title }}" class="form">
|
||||
<a
|
||||
class="{{ form.status }}"
|
||||
href="{% if form.status != 'locked' %}{{ eservices_url }}portail-parent/{{ form.slug }}/?enfant={{ child.id }}
|
||||
{% else %}#{% endif %}"
|
||||
>
|
||||
<img src="{{ portal_url }}{{ form.image }}" />
|
||||
<span class="title"> {{ form.title }} </span>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>Bienvenue dans le Portail Parent</h2>
|
||||
<div>
|
||||
{% if json.aes_id %}
|
||||
<ul class="children">
|
||||
{% for child in homepage_data.children %}
|
||||
<li class="child">
|
||||
<div class="child-info">
|
||||
<h4>{{ child.name }}</h4>
|
||||
</div>
|
||||
<ul class="forms">
|
||||
{% for form in child.forms %}
|
||||
<li aria-label="{{ form.title }}" class="form">
|
||||
<a
|
||||
class="{{ form.status }}"
|
||||
href="{% if form.status != 'locked' %}{{ eservices_url }}portail-parent/{{ form.slug }}/?enfant={{ child.id }}
|
||||
{% else %}#{% endif %}"
|
||||
>
|
||||
<img src="{{ portal_url }}{{ form.image }}" />
|
||||
<span class="title"> {{ form.title }} </span>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{% empty %}
|
||||
<div class="intro">
|
||||
<p>
|
||||
Vous n'avez pas encore d'enfants enregistrés dans notre base de données.
|
||||
</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="buttons">
|
||||
<p>
|
||||
<a class="pk-button" href="{{ eservices_url }}pp-enregistrer-un-enfant"
|
||||
>Enregistrer un enfant</a
|
||||
>
|
||||
</p>
|
||||
{% if homepage_data.has_plain_registrations %}<p>
|
||||
<a
|
||||
class="pk-button"
|
||||
href="{{ eservices_url }}pp-finaliser-les-inscriptions-aux-plaines/"
|
||||
>Finaliser les inscriptions aux plaines</a
|
||||
>
|
||||
</p>{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="intro">
|
||||
<p>
|
||||
Vous n'êtes pas encore enregistré dans notre base de données. Veuillez
|
||||
compléter votre inscription.
|
||||
</p>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<p>
|
||||
<a
|
||||
class="pk-button"
|
||||
href="{{ eservices_url }}pp-m-enregistrer-en-tant-que-parent"
|
||||
>
|
||||
M'inscrire dans le Portail Parent
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% empty %}
|
||||
<div class="intro">
|
||||
<p>
|
||||
Vous n'avez pas encore d'enfants enregistrés dans notre base de données.
|
||||
</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="buttons">
|
||||
<p>
|
||||
<a class="pk-button" href="{{ eservices_url }}pp-enregistrer-un-enfant"
|
||||
>Enregistrer un enfant</a
|
||||
>
|
||||
</p>
|
||||
{% if homepage_data.has_plain_registrations %}<p>
|
||||
<a
|
||||
class="pk-button"
|
||||
href="{{ eservices_url }}pp-finaliser-les-inscriptions-aux-plaines/"
|
||||
>Finaliser les inscriptions aux plaines</a
|
||||
>
|
||||
</p>{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="intro">
|
||||
<p>
|
||||
Vous n'êtes pas encore enregistré dans notre base de données. Veuillez
|
||||
compléter votre inscription.
|
||||
</p>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<p>
|
||||
<a
|
||||
class="pk-button"
|
||||
href="{{ eservices_url }}pp-m-enregistrer-en-tant-que-parent"
|
||||
>
|
||||
M'inscrire dans le Portail Parent
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.parent_portal .children {
|
||||
padding: 0;
|
||||
}
|
||||
.parent_portal li {
|
||||
list-style: none;
|
||||
}
|
||||
.parent_portal li.child {
|
||||
margin: 0 1em 2ex 0;
|
||||
}
|
||||
.parent_portal .child h4 {
|
||||
margin: 0;
|
||||
}
|
||||
.parent_portal .child p {
|
||||
margin: 0 0 1ex 1em;
|
||||
}
|
||||
.parent_portal .child-info {
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
.parent_portal ul.forms {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 0;
|
||||
}
|
||||
.parent_portal li.form {
|
||||
position: relative;
|
||||
}
|
||||
.parent_portal li.form a {
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
width: 11em;
|
||||
height: 8ex;
|
||||
padding: 1ex 0;
|
||||
border: #d3d3d3 solid 1px;
|
||||
margin: 0 0.5em 0.5ex 0;
|
||||
font-weight: bold;
|
||||
align-items: center;
|
||||
border-radius: 15px;
|
||||
background: #f2f2f2;
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
|
||||
transition: box-shadow 0.3s ease-in-out;
|
||||
}
|
||||
.parent_portal li.form a:hover {
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
.parent_portal li.form a:active {
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
|
||||
}
|
||||
.parent_portal li.form a.locked {
|
||||
background: #ccc;
|
||||
box-shadow: none;
|
||||
cursor: not-allowed;
|
||||
filter: saturate(33%);
|
||||
}
|
||||
.parent_portal li.form a.valid {
|
||||
background: #e5ffe5;
|
||||
}
|
||||
.parent_portal li.form a.invalid {
|
||||
background: #ffe5e5;
|
||||
}
|
||||
.parent_portal li.form a img {
|
||||
max-width: 2.5em;
|
||||
margin: 0 0.5em;
|
||||
}
|
||||
.parent_portal li.form a .title {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.parent_portal li.form a.invalid span.img,
|
||||
.parent_portal li.form a.locked span.img {
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.parent_portal li.form a.invalid span.img:after,
|
||||
.parent_portal li.form a.locked span.img:after {
|
||||
visibility: visible;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.parent_portal .form {
|
||||
position: relative; /*les .picto-item deviennent référents*/
|
||||
}
|
||||
@media all and (max-device-width: 480px) {
|
||||
.parent_portal li.form {
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
}
|
||||
.parent_portal div.buttons {
|
||||
display: flex;
|
||||
}
|
||||
.parent_portal div.buttons a.pk-button {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.parent_portal .children {
|
||||
padding: 0;
|
||||
}
|
||||
.parent_portal li {
|
||||
list-style: none;
|
||||
}
|
||||
.parent_portal li.child {
|
||||
margin: 0 1em 2ex 0;
|
||||
}
|
||||
.parent_portal .child h4 {
|
||||
margin: 0;
|
||||
}
|
||||
.parent_portal .child p {
|
||||
margin: 0 0 1ex 1em;
|
||||
}
|
||||
.parent_portal .child-info {
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
.parent_portal ul.forms {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 0;
|
||||
}
|
||||
.parent_portal li.form {
|
||||
position: relative;
|
||||
}
|
||||
.parent_portal li.form a {
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
width: 11em;
|
||||
height: 8ex;
|
||||
padding: 1ex 0;
|
||||
border: #d3d3d3 solid 1px;
|
||||
margin: 0 0.5em 0.5ex 0;
|
||||
font-weight: bold;
|
||||
align-items: center;
|
||||
border-radius: 15px;
|
||||
background: #f2f2f2;
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
|
||||
transition: box-shadow 0.3s ease-in-out;
|
||||
}
|
||||
.parent_portal li.form a:hover {
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
.parent_portal li.form a:active {
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
|
||||
}
|
||||
.parent_portal li.form a.locked {
|
||||
background: #ccc;
|
||||
box-shadow: none;
|
||||
cursor: not-allowed;
|
||||
filter: saturate(33%);
|
||||
}
|
||||
.parent_portal li.form a.valid {
|
||||
background: #e5ffe5;
|
||||
}
|
||||
.parent_portal li.form a.invalid {
|
||||
background: #ffe5e5;
|
||||
}
|
||||
.parent_portal li.form a img {
|
||||
max-width: 2.5em;
|
||||
margin: 0 0.5em;
|
||||
}
|
||||
.parent_portal li.form a .title {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.parent_portal li.form a.invalid span.img,
|
||||
.parent_portal li.form a.locked span.img {
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.parent_portal li.form a.invalid span.img:after,
|
||||
.parent_portal li.form a.locked span.img:after {
|
||||
visibility: visible;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.parent_portal .form {
|
||||
position: relative; /*les .picto-item deviennent référents*/
|
||||
}
|
||||
@media all and (max-device-width: 480px) {
|
||||
.parent_portal li.form {
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
}
|
||||
.parent_portal div.buttons {
|
||||
display: flex;
|
||||
}
|
||||
.parent_portal div.buttons a.pk-button {
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,66 +1,66 @@
|
|||
<h2>Mes démarches</h2>
|
||||
{% if json == False %}
|
||||
<div class="intro">
|
||||
<div class="intro">
|
||||
<p class="no_registration">
|
||||
{{ pp_no_registration_msg }}
|
||||
{{ pp_no_registration_msg }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if not aes_children.data %}
|
||||
<div class="intro">
|
||||
<div class="intro">
|
||||
<p>
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="wcs-forms-of-caterogy-imio links-list">
|
||||
<ul id="pp_forms">
|
||||
<ul id="pp_forms">
|
||||
{% for form in aes_forms.data %}
|
||||
{% if form.slug == 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
<li class="active" id="registration_form">
|
||||
<a href='{{ form.url }}'>{{ form.title }}</a>
|
||||
{% if form.slug == 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
<li class="active" id="registration_form">
|
||||
<a href='{{ form.url }}'>{{ form.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if json == False %}
|
||||
{% if form.slug != 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
<!-- <a style="pointer-events: none" ... but disable js events-->
|
||||
<li class="inactive" style="cursor:not-allowed;">
|
||||
<a msg="Veuillez vous enregistrer d'abord." href='#'>
|
||||
{{ form.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if form.slug != 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
{% if not aes_children.data and form.slug != 'aes-enregistrer-un-nouvel-enfant' %}
|
||||
<li class="inactive" style="cursor:not-allowed;">
|
||||
<a msg="Veuillez enregistrer un enfant d'abord." href='#'>
|
||||
{{ form.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="active">
|
||||
<a href='{{ form.url }}'>
|
||||
{{ form.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if json == False %}
|
||||
{% if form.slug != 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
<!-- <a style="pointer-events: none" ... but disable js events-->
|
||||
<li class="inactive" style="cursor:not-allowed;">
|
||||
<a msg="Veuillez vous enregistrer d'abord." href='#'>
|
||||
{{ form.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if form.slug != 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
{% if not aes_children.data and form.slug != 'aes-enregistrer-un-nouvel-enfant' %}
|
||||
<li class="inactive" style="cursor:not-allowed;">
|
||||
<a msg="Veuillez enregistrer un enfant d'abord." href='#'>
|
||||
{{ form.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="active">
|
||||
<a href='{{ form.url }}'>
|
||||
{{ form.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
$(function(){
|
||||
$("#registration_form").prependTo("#pp_forms");
|
||||
function out(){
|
||||
$(this).text($(this).attr("old_text"));
|
||||
}
|
||||
function over(){
|
||||
var $msg = $(this).attr("msg");
|
||||
$(this).attr("old_text", $(this).text());
|
||||
$(this).text($msg);
|
||||
}
|
||||
$("li.inactive a").hover(over, out);
|
||||
});
|
||||
$(function(){
|
||||
$("#registration_form").prependTo("#pp_forms");
|
||||
function out(){
|
||||
$(this).text($(this).attr("old_text"));
|
||||
}
|
||||
function over(){
|
||||
var $msg = $(this).attr("msg");
|
||||
$(this).attr("old_text", $(this).text());
|
||||
$(this).text($msg);
|
||||
}
|
||||
$("li.inactive a").hover(over, out);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% load assets %}
|
||||
{% get_asset cell=cell type='picture' as asset %}
|
||||
{% block cell-content %}
|
||||
{% if asset %}<a class="asset-link" href="{{url}}">{% include "combo/asset_picture_fragment.html" %}</a>{% endif %}
|
||||
<a href="{{url}}"><span>{{title}}</span></a>
|
||||
{% if description %}
|
||||
<p class="description">{{ description }}</p>
|
||||
{% endif %}
|
||||
{% if asset %}<a class="asset-link" href="{{url}}">{% include "combo/asset_picture_fragment.html" %}</a>{% endif %}
|
||||
<a href="{{url}}"><span>{{title}}</span></a>
|
||||
{% if description %}
|
||||
<p class="description">{{ description }}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
|
||||
{% block header-title %}
|
||||
{% if logo|stringformat:'s' in "True true" %}
|
||||
<h1 id="logo">
|
||||
<a accesskey="1" href="{% firstof logo_link_url portal_url '/' %}">
|
||||
<img src="{{ portal_url }}static/{{ commune_slug }}/images/logo.png" alt="e-guichet {{ commune_name }}" title="e-guichet {{ commune_name }}"/>
|
||||
</a>
|
||||
</h1>
|
||||
{% else %}
|
||||
{{ block.super }}
|
||||
{% endif %}
|
||||
{% if logo|stringformat:'s' in "True true" %}
|
||||
<h1 id="logo">
|
||||
<a accesskey="1" href="{% firstof logo_link_url portal_url '/' %}">
|
||||
<img src="{{ portal_url }}static/{{ commune_slug }}/images/logo.png" alt="e-guichet {{ commune_name }}" title="e-guichet {{ commune_name }}"/>
|
||||
</a>
|
||||
</h1>
|
||||
{% else %}
|
||||
{{ block.super }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
{% block cell-content %}
|
||||
|
||||
|
||||
<h2>{% trans "Profile" %}</h2>
|
||||
<div class="profile">
|
||||
<h2>{% trans "Profile" %}</h2>
|
||||
<div class="profile">
|
||||
<p class="edit-link"><a class="pk-button" href="{{idp_url}}accounts/">Gérer mon profil</a></p>
|
||||
{% for key, details in profile_fields.items %}
|
||||
{% if details.value and details.user_visible %}
|
||||
|
@ -12,8 +12,8 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if error == 'unknown user' %}
|
||||
<p>{% trans 'Unknown User' %}</p>
|
||||
<p>{% trans 'Unknown User' %}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
|
@ -17,7 +17,7 @@
|
|||
{% for form in forms %}
|
||||
<li class="{{ form.css_classes|join:" " }}">{% include "combo/wcs/form_link_fragment.html" %}
|
||||
{% if "fedict" in form.required_authentication_contexts %}
|
||||
<p style="font-size: 0.8em; padding-left: 1em;">Vous devez vous connecter via <abbr title="Lecteur de carte et carte d'identité belge.">eID</abbr> ou <abbr title="Application mobile d'identité.">itsme</abbr> pour compléter cette démarche.</p>
|
||||
<p style="font-size: 0.8em; padding-left: 1em;">Vous devez vous connecter via <abbr title="Lecteur de carte et carte d'identité belge.">eID</abbr> ou <abbr title="Application mobile d'identité.">itsme</abbr> pour compléter cette démarche.</p>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block sidepage %}
|
||||
<div id="sidepage">
|
||||
<span id="applabel">Publik</span>
|
||||
</div>
|
||||
<div id="sidepage">
|
||||
<span id="applabel">Publik</span>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{% extends "includes/nav.html" %}
|
||||
|
||||
{% block menu %}
|
||||
{{ block.super }}
|
||||
{# replace "mon-compte" menu item by user name #}
|
||||
{% if imio_username_in_nav %}
|
||||
{% skeleton_extra_placeholder "user-script-infos" %}
|
||||
<script>
|
||||
var $conn_menu_item = $('#nav > ul > li.menu-connexion');
|
||||
{% if user.is_authenticated %}
|
||||
$conn_menu_item.find('> a span').text("{{ user.first_name|escapejs }} {{ user.last_name|escapejs }}");
|
||||
{% else %}
|
||||
$conn_menu_item.find('> a').attr('href', '/login/');
|
||||
$conn_menu_item.find('ul').remove();
|
||||
{% endif %}
|
||||
$('#nav ul ul').parent('li').addClass('has-submenu');
|
||||
</script>
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{{ block.super }}
|
||||
{# replace "mon-compte" menu item by user name #}
|
||||
{% if imio_username_in_nav %}
|
||||
{% skeleton_extra_placeholder "user-script-infos" %}
|
||||
<script>
|
||||
var $conn_menu_item = $('#nav > ul > li.menu-connexion');
|
||||
{% if user.is_authenticated %}
|
||||
$conn_menu_item.find('> a span').text("{{ user.first_name|escapejs }} {{ user.last_name|escapejs }}");
|
||||
{% else %}
|
||||
$conn_menu_item.find('> a').attr('href', '/login/');
|
||||
$conn_menu_item.find('ul').remove();
|
||||
{% endif %}
|
||||
$('#nav ul ul').parent('li').addClass('has-submenu');
|
||||
</script>
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,80 +1,80 @@
|
|||
{% load i18n %}
|
||||
{% block cell-content %}
|
||||
<style>
|
||||
.regie-name {
|
||||
padding-left: 0.8em;
|
||||
}
|
||||
.basket_ul {
|
||||
padding-left: 1em;
|
||||
}
|
||||
.basket_ul li {
|
||||
list-style-type: none;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.basket_ul li a:not(.pk-button) {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 0.09em;
|
||||
text-decoration-style: dotted;
|
||||
transition: all linear .1s;
|
||||
text-underline-offset: 0.35em;
|
||||
}
|
||||
.basket_ul li a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.lingo_item_price {
|
||||
font-weight: 600;
|
||||
margin: 10px;
|
||||
}
|
||||
.lingo_cancelable {
|
||||
padding: 2px 13px !important;
|
||||
margin-left: 9.5em !important;
|
||||
}
|
||||
#new-command {
|
||||
margin: 0 1em 1em 1em;
|
||||
}
|
||||
.total_price_row {
|
||||
margin-bottom: 1.6em !important;
|
||||
margin-top: 2em;
|
||||
}
|
||||
.total_price {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<div>
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul class="basket_ul">
|
||||
{% for item in regie_info.items %}
|
||||
<li>
|
||||
<a class="lingo_item" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">
|
||||
{{ item.subject }}
|
||||
</a>
|
||||
<p class="lingo_item_price">
|
||||
{{ item.amount }} €
|
||||
</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable pk-button" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">
|
||||
{% trans 'Remove' %}
|
||||
<style>
|
||||
.regie-name {
|
||||
padding-left: 0.8em;
|
||||
}
|
||||
.basket_ul {
|
||||
padding-left: 1em;
|
||||
}
|
||||
.basket_ul li {
|
||||
list-style-type: none;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.basket_ul li a:not(.pk-button) {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 0.09em;
|
||||
text-decoration-style: dotted;
|
||||
transition: all linear .1s;
|
||||
text-underline-offset: 0.35em;
|
||||
}
|
||||
.basket_ul li a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.lingo_item_price {
|
||||
font-weight: 600;
|
||||
margin: 10px;
|
||||
}
|
||||
.lingo_cancelable {
|
||||
padding: 2px 13px !important;
|
||||
margin-left: 9.5em !important;
|
||||
}
|
||||
#new-command {
|
||||
margin: 0 1em 1em 1em;
|
||||
}
|
||||
.total_price_row {
|
||||
margin-bottom: 1.6em !important;
|
||||
margin-top: 2em;
|
||||
}
|
||||
.total_price {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<div>
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul class="basket_ul">
|
||||
{% for item in regie_info.items %}
|
||||
<li>
|
||||
<a class="lingo_item" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">
|
||||
{{ item.subject }}
|
||||
</a>
|
||||
<p class="lingo_item_price">
|
||||
{{ item.amount }} €
|
||||
</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable pk-button" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">
|
||||
{% trans 'Remove' %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li class="total_price_row">
|
||||
<strong>À payer : </strong><span class="total_price">{{ regie_info.total }} €</span>
|
||||
</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="{% trans "Pay" %}" />
|
||||
<a href="{{portal_url}}demarches" id="new-command" class="pk-button">
|
||||
Commander un autre document
|
||||
</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
</form>
|
||||
{% endfor %}
|
||||
<li class="total_price_row">
|
||||
<strong>À payer : </strong><span class="total_price">{{ regie_info.total }} €</span>
|
||||
</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="{% trans "Pay" %}" />
|
||||
<a href="{{portal_url}}demarches" id="new-command" class="pk-button">
|
||||
Commander un autre document
|
||||
</a>
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
<div {% if widget.field.id %}data-field-id="{{ widget.field.id }}"{% endif %}
|
||||
{% if widget.is_hidden %}style="display: none"{% endif %}
|
||||
class="comment-field {{widget.extra_css_class|default_if_none:"" }}">
|
||||
{% block widget-content %}
|
||||
<div id="content">
|
||||
{{ widget.content|safe }}
|
||||
{% if widget.is_hidden %}style="display: none"{% endif %}
|
||||
class="comment-field {{widget.extra_css_class|default_if_none:"" }}">
|
||||
{% block widget-content %}
|
||||
<div id="content">
|
||||
{{ widget.content|safe }}
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
var $currenthtml = $(".template-br-comment div#content").html().replace(new RegExp("<br>", "gi"), "<br/>");
|
||||
$(".template-br-comment div#content").html($currenthtml);
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
<script>
|
||||
$(function() {
|
||||
var $currenthtml = $(".template-br-comment div#content").html().replace(new RegExp("<br>", "gi"), "<br/>");
|
||||
$(".template-br-comment div#content").html($currenthtml);
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
{% block widget-content %}
|
||||
{% autoescape off %}{{form_option_iframe}}{% endautoescape %}
|
||||
{% autoescape off %}{{form_option_iframe}}{% endautoescape %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
{% block widget-control %}
|
||||
<textarea id="form_{{widget.name}}" name="{{widget.name}}" cols="50" rows="10"
|
||||
{% if widget.required %}aria-requited="true"{% endif %}
|
||||
{% for attr in widget.attrs.items %}{% if attr.1 %}{{attr.0}}="{{attr.1}}"{% endif %}{% endfor %}
|
||||
>{{widget.value|default:""}}</textarea>
|
||||
<script>
|
||||
$(document).on('set-geolocation', function(event, coords) {
|
||||
$.getJSON('/api/reverse-geocoding?lat=' + coords.lat + '&lon=' + coords.lng, function(data) {
|
||||
var $widget = $('#form_{{widget.name}}');
|
||||
console.log(data.address);
|
||||
if (data.address.road) {
|
||||
$widget.val($widget.val() + data.address.road + ', ');
|
||||
} else if (data.address.pedestrian) {
|
||||
$widget.val($widget.val() + data.address.pedestrian + ', ');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<textarea id="form_{{widget.name}}" name="{{widget.name}}" cols="50" rows="10"
|
||||
{% if widget.required %}aria-requited="true"{% endif %}
|
||||
{% for attr in widget.attrs.items %}{% if attr.1 %}{{attr.0}}="{{attr.1}}"{% endif %}{% endfor %}
|
||||
>{{widget.value|default:""}}</textarea>
|
||||
<script>
|
||||
$(document).on('set-geolocation', function(event, coords) {
|
||||
$.getJSON('/api/reverse-geocoding?lat=' + coords.lat + '&lon=' + coords.lng, function(data) {
|
||||
var $widget = $('#form_{{widget.name}}');
|
||||
console.log(data.address);
|
||||
if (data.address.road) {
|
||||
$widget.val($widget.val() + data.address.road + ', ');
|
||||
} else if (data.address.pedestrian) {
|
||||
$widget.val($widget.val() + data.address.pedestrian + ', ');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,123 +1,123 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
{% block widget-content %}
|
||||
|
||||
{% with webservice.aes_get_available_plaines as activities %}
|
||||
<h2>Activités proposées</h2>
|
||||
<div id="imio_plaine_weeks">
|
||||
{% for week in activities %}
|
||||
<div class="imio_plaine_week">
|
||||
<p>Semaine du {{ week.monday|date:"d F Y" }}</p>
|
||||
{% for activity in week.activities %}
|
||||
<div id="{{ activity.id }}" class="activity">
|
||||
<p class="label">{{ activity.text }}</p>
|
||||
<p class="remaining_places"><span>{{ activity.remaining_places }}</span> places restantes</p>
|
||||
{% with webservice.aes_get_available_plaines as activities %}
|
||||
<h2>Activités proposées</h2>
|
||||
<div id="imio_plaine_weeks">
|
||||
{% for week in activities %}
|
||||
<div class="imio_plaine_week">
|
||||
<p>Semaine du {{ week.monday|date:"d F Y" }}</p>
|
||||
{% for activity in week.activities %}
|
||||
<div id="{{ activity.id }}" class="activity">
|
||||
<p class="label">{{ activity.text }}</p>
|
||||
<p class="remaining_places"><span>{{ activity.remaining_places }}</span> places restantes</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
||||
let dom_activities = document.querySelectorAll('.activity');
|
||||
let checkboxes_id = document.querySelector('#var_activities_plaines').getAttribute('data-widget-name');
|
||||
let dom_activities = document.querySelectorAll('.activity');
|
||||
let checkboxes_id = document.querySelector('#var_activities_plaines').getAttribute('data-widget-name');
|
||||
|
||||
function check_uncheck(index){
|
||||
element_name = checkboxes_id + "$element" + index;
|
||||
linked_element = document.getElementsByName(element_name)[0];
|
||||
linked_element.checked = !linked_element.checked;
|
||||
}
|
||||
function check_uncheck(index){
|
||||
element_name = checkboxes_id + "$element" + index;
|
||||
linked_element = document.getElementsByName(element_name)[0];
|
||||
linked_element.checked = !linked_element.checked;
|
||||
}
|
||||
|
||||
for(i=0; i<dom_activities.length; i++){
|
||||
for(i=0; i<dom_activities.length; i++){
|
||||
|
||||
let checkbox_name = checkboxes_id + "$element" + dom_activities[i].id;
|
||||
let checkbox_name = checkboxes_id + "$element" + dom_activities[i].id;
|
||||
|
||||
if(document.getElementsByName(checkbox_name)[0].checked){
|
||||
dom_activities[i].classList.add('selected');
|
||||
if(document.getElementsByName(checkbox_name)[0].checked){
|
||||
dom_activities[i].classList.add('selected');
|
||||
}
|
||||
|
||||
dom_activities[i].addEventListener('click', function(e){
|
||||
let selected = this.parentNode.querySelector('.selected')
|
||||
if (this.isSameNode(selected)) {
|
||||
this.classList.remove('selected');
|
||||
} else if (selected != null) {
|
||||
selected.classList.remove('selected');
|
||||
this.classList.add('selected');
|
||||
check_uncheck(selected.id)
|
||||
} else {
|
||||
this.classList.add('selected');
|
||||
}
|
||||
check_uncheck(this.id);
|
||||
})
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
#imio_plaine_weeks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.imio_plaine_week {
|
||||
min-width: 12em;
|
||||
max-width: 50%;
|
||||
margin-bottom: 2ex;
|
||||
}
|
||||
.imio_plaine_week > p {
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.activity {
|
||||
border: #d3d3d3 solid 1px;
|
||||
margin: 5px 2px;
|
||||
padding: 1ex;
|
||||
cursor: pointer;
|
||||
box-shadow: rgb(0 0 0 / 10%) 0px 4px 6px -1px, rgb(0 0 0 / 6%) 0px 2px 4px -1px;
|
||||
transition: box-shadow 0.3s ease-in-out;
|
||||
min-height: 8ex;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.activity:hover {
|
||||
box-shadow: rgb(0 0 0 / 10%) 0px 10px 15px -3px, rgb(0 0 0 / 5%) 0px 4px 6px -2px;
|
||||
filter: brightness(1.1);
|
||||
border: #212121 solid 1px;
|
||||
}
|
||||
|
||||
dom_activities[i].addEventListener('click', function(e){
|
||||
let selected = this.parentNode.querySelector('.selected')
|
||||
if (this.isSameNode(selected)) {
|
||||
this.classList.remove('selected');
|
||||
} else if (selected != null) {
|
||||
selected.classList.remove('selected');
|
||||
this.classList.add('selected');
|
||||
check_uncheck(selected.id)
|
||||
} else {
|
||||
this.classList.add('selected');
|
||||
.activity:active {
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
|
||||
}
|
||||
.activity.selected {
|
||||
background-color: #386ede;
|
||||
color: #FFF;
|
||||
}
|
||||
.activity p {
|
||||
}
|
||||
.activity p.label {
|
||||
font-weight: bold;
|
||||
margin: 0 0 1ex 0;
|
||||
}
|
||||
.activity p.remaining_places {
|
||||
font-size: 0.8em;
|
||||
margin: 0;
|
||||
}
|
||||
.activity p.remaining_places span {
|
||||
font-weight: bold;
|
||||
}
|
||||
.activity.selected p.label:after {
|
||||
content: " \002714";
|
||||
}
|
||||
@media all and (max-device-width: 450px) {
|
||||
.imio_plaine_week {
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
}
|
||||
check_uncheck(this.id);
|
||||
})
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
#imio_plaine_weeks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.imio_plaine_week {
|
||||
min-width: 12em;
|
||||
max-width: 50%;
|
||||
margin-bottom: 2ex;
|
||||
}
|
||||
.imio_plaine_week > p {
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.activity {
|
||||
border: #d3d3d3 solid 1px;
|
||||
margin: 5px 2px;
|
||||
padding: 1ex;
|
||||
cursor: pointer;
|
||||
box-shadow: rgb(0 0 0 / 10%) 0px 4px 6px -1px, rgb(0 0 0 / 6%) 0px 2px 4px -1px;
|
||||
transition: box-shadow 0.3s ease-in-out;
|
||||
min-height: 8ex;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.activity:hover {
|
||||
box-shadow: rgb(0 0 0 / 10%) 0px 10px 15px -3px, rgb(0 0 0 / 5%) 0px 4px 6px -2px;
|
||||
filter: brightness(1.1);
|
||||
border: #212121 solid 1px;
|
||||
}
|
||||
|
||||
.activity:active {
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
|
||||
}
|
||||
.activity.selected {
|
||||
background-color: #386ede;
|
||||
color: #FFF;
|
||||
}
|
||||
.activity p {
|
||||
}
|
||||
.activity p.label {
|
||||
font-weight: bold;
|
||||
margin: 0 0 1ex 0;
|
||||
}
|
||||
.activity p.remaining_places {
|
||||
font-size: 0.8em;
|
||||
margin: 0;
|
||||
}
|
||||
.activity p.remaining_places span {
|
||||
font-weight: bold;
|
||||
}
|
||||
.activity.selected p.label:after {
|
||||
content: " \002714";
|
||||
}
|
||||
@media all and (max-device-width: 450px) {
|
||||
.imio_plaine_week {
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,169 +1,169 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
{% block widget-content %}
|
||||
<div class="pp_mealcalendar">
|
||||
<div class="pp_mealcalendar">
|
||||
<h3></h3>
|
||||
<div class="days"></div>
|
||||
</div>
|
||||
{{ data_source.portail_parent_repas_scolaires.get_value|json_script:"portail_parent_menu" }}
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
</div>
|
||||
{{ data_source.portail_parent_repas_scolaires.get_value|json_script:"portail_parent_menu" }}
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
|
||||
function get_days_in_month(year, month){
|
||||
function get_days_in_month(year, month){
|
||||
let first_month_day = new Date(year, month, 1).getDate();
|
||||
let next_month = get_further_month(year, month, 1);
|
||||
let last_month_day = new Date(next_month['year'], next_month['month'], 0).getDate();
|
||||
result = last_month_day - first_month_day + 1;
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
function get_further_month(year, month, delta){
|
||||
function get_further_month(year, month, delta){
|
||||
let result;
|
||||
if (delta > 0) {
|
||||
let next_month;
|
||||
let next_month_year;
|
||||
if (month == 11) {
|
||||
next_month = 0;
|
||||
next_month_year = year + 1;
|
||||
} else {
|
||||
next_month = month + 1;
|
||||
next_month_year = year;
|
||||
}
|
||||
result = get_further_month(next_month_year, next_month, delta - 1);
|
||||
let next_month;
|
||||
let next_month_year;
|
||||
if (month == 11) {
|
||||
next_month = 0;
|
||||
next_month_year = year + 1;
|
||||
} else {
|
||||
next_month = month + 1;
|
||||
next_month_year = year;
|
||||
}
|
||||
result = get_further_month(next_month_year, next_month, delta - 1);
|
||||
} else {
|
||||
result = {"year": year, "month": month};
|
||||
result = {"year": year, "month": month};
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
function add_day(date, class_list) {
|
||||
function add_day(date, class_list) {
|
||||
let day = document.createElement("div");
|
||||
for (j = 0; j < class_list.length; j++) {
|
||||
day.classList.add(class_list[j]);
|
||||
day.classList.add(class_list[j]);
|
||||
}
|
||||
let title = document.createElement("h4");
|
||||
title.innerText = date.toLocaleDateString("fr-BE", { weekday: 'long' }) + " " + date.getDate();
|
||||
day.appendChild(title);
|
||||
return day;
|
||||
}
|
||||
}
|
||||
|
||||
function create_choice(choice) {
|
||||
function create_choice(choice) {
|
||||
let el = document.createElement("p");
|
||||
el.classList.add("choice");
|
||||
el.innerText = choice;
|
||||
return el
|
||||
}
|
||||
}
|
||||
|
||||
function check_uncheck(index){
|
||||
element_name = checkboxes_id() + "$element" + index;
|
||||
linked_element = document.getElementsByName(element_name)[0];
|
||||
linked_element.checked = !linked_element.checked;
|
||||
}
|
||||
function check_uncheck(index){
|
||||
element_name = checkboxes_id() + "$element" + index;
|
||||
linked_element = document.getElementsByName(element_name)[0];
|
||||
linked_element.checked = !linked_element.checked;
|
||||
}
|
||||
|
||||
let current_date = new Date();
|
||||
let month_selector = "{{ form.option.mois.raw|escapejs }}";
|
||||
let selected_month = get_further_month(current_date.getFullYear(), current_date.getMonth(), month_selector);
|
||||
let first_day_in_month = new Date(selected_month['year'], selected_month['month'], 1);
|
||||
let days_in_selected_month = get_days_in_month(selected_month['year'], selected_month['month']);
|
||||
let calendar_title = document.querySelector("div.pp_mealcalendar h3");
|
||||
calendar_title.innerText = first_day_in_month.toLocaleString("fr-BE", { month: "long" }) + " " + first_day_in_month.getFullYear();
|
||||
let current_date = new Date();
|
||||
let month_selector = "{{ form.option.mois.raw|escapejs }}";
|
||||
let selected_month = get_further_month(current_date.getFullYear(), current_date.getMonth(), month_selector);
|
||||
let first_day_in_month = new Date(selected_month['year'], selected_month['month'], 1);
|
||||
let days_in_selected_month = get_days_in_month(selected_month['year'], selected_month['month']);
|
||||
let calendar_title = document.querySelector("div.pp_mealcalendar h3");
|
||||
calendar_title.innerText = first_day_in_month.toLocaleString("fr-BE", { month: "long" }) + " " + first_day_in_month.getFullYear();
|
||||
|
||||
let pp_mealcalendar = document.querySelector("div.pp_mealcalendar .days");
|
||||
let month_menu = JSON.parse(document.getElementById('portail_parent_menu').innerText);
|
||||
let pp_mealcalendar = document.querySelector("div.pp_mealcalendar .days");
|
||||
let month_menu = JSON.parse(document.getElementById('portail_parent_menu').innerText);
|
||||
|
||||
// Add previous month days
|
||||
for (let i = 2-first_day_in_month.getDay(); i < 1; i++) {
|
||||
// Add previous month days
|
||||
for (let i = 2-first_day_in_month.getDay(); i < 1; i++) {
|
||||
let date = new Date(selected_month.year, selected_month.month, i);
|
||||
if ([1, 2, 3, 4, 5].includes(date.getDay())) {
|
||||
let day = add_day(date, ["day", "inactive"]);
|
||||
pp_mealcalendar.appendChild(day);
|
||||
let day = add_day(date, ["day", "inactive"]);
|
||||
pp_mealcalendar.appendChild(day);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Add selected month days
|
||||
for (let i = 1; i <= days_in_selected_month; i++) {
|
||||
// Add selected month days
|
||||
for (let i = 1; i <= days_in_selected_month; i++) {
|
||||
let date = new Date(selected_month.year, selected_month.month, i);
|
||||
if ([1, 2, 3, 4, 5].includes(date.getDay())) {
|
||||
let day = add_day(date, ["day"]);
|
||||
let day_menu = month_menu.filter(meal => new Date(meal.date).getDate() == date.getDate());
|
||||
if (day_menu.length > 0) {
|
||||
for (let index_day_menu = 0; index_day_menu < day_menu.length; index_day_menu++) {
|
||||
let choice = create_choice(day_menu[index_day_menu].text)
|
||||
choice.id = day_menu[index_day_menu].id
|
||||
day.appendChild(choice);
|
||||
}
|
||||
let day = add_day(date, ["day"]);
|
||||
let day_menu = month_menu.filter(meal => new Date(meal.date).getDate() == date.getDate());
|
||||
if (day_menu.length > 0) {
|
||||
for (let index_day_menu = 0; index_day_menu < day_menu.length; index_day_menu++) {
|
||||
let choice = create_choice(day_menu[index_day_menu].text)
|
||||
choice.id = day_menu[index_day_menu].id
|
||||
day.appendChild(choice);
|
||||
}
|
||||
else {
|
||||
day.classList.add("inactive")
|
||||
}
|
||||
pp_mealcalendar.appendChild(day);
|
||||
}
|
||||
else {
|
||||
day.classList.add("inactive")
|
||||
}
|
||||
pp_mealcalendar.appendChild(day);
|
||||
}
|
||||
|
||||
// Add next month days
|
||||
if (i == days_in_selected_month) {
|
||||
let j = 1;
|
||||
while (date.getDay() != 0) {
|
||||
date = new Date(selected_month.year, selected_month.month, i+j);
|
||||
if ([1, 2, 3, 4, 5].includes(date.getDay())){
|
||||
let day = add_day(date, ["day", "inactive"])
|
||||
pp_mealcalendar.appendChild(day);
|
||||
}
|
||||
j++;
|
||||
let j = 1;
|
||||
while (date.getDay() != 0) {
|
||||
date = new Date(selected_month.year, selected_month.month, i+j);
|
||||
if ([1, 2, 3, 4, 5].includes(date.getDay())){
|
||||
let day = add_day(date, ["day", "inactive"])
|
||||
pp_mealcalendar.appendChild(day);
|
||||
}
|
||||
j++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let dom_choices = function (){
|
||||
return document.querySelectorAll(".pp_mealcalendar .choice")
|
||||
}
|
||||
let checkboxes_id = function () {
|
||||
return document.getElementById("var_repas").getAttribute("data-widget-name")
|
||||
}
|
||||
|
||||
for (let choice_index = 0; choice_index < dom_choices().length; choice_index++ ){
|
||||
if (document.getElementsByName(checkboxes_id() + "$element" + dom_choices()[choice_index].id)[0].checked) {
|
||||
dom_choices()[choice_index].classList.add('selected');
|
||||
}
|
||||
dom_choices()[choice_index].addEventListener('click', function(e) {
|
||||
let selected = this.parentNode.querySelector('.selected')
|
||||
if (this.isSameNode(selected)) {
|
||||
this.classList.remove('selected');
|
||||
} else if (selected != null) {
|
||||
selected.classList.remove('selected');
|
||||
this.classList.add('selected');
|
||||
check_uncheck(selected.id)
|
||||
} else {
|
||||
this.classList.add('selected');
|
||||
|
||||
let dom_choices = function (){
|
||||
return document.querySelectorAll(".pp_mealcalendar .choice")
|
||||
}
|
||||
let checkboxes_id = function () {
|
||||
return document.getElementById("var_repas").getAttribute("data-widget-name")
|
||||
}
|
||||
|
||||
for (let choice_index = 0; choice_index < dom_choices().length; choice_index++ ){
|
||||
if (document.getElementsByName(checkboxes_id() + "$element" + dom_choices()[choice_index].id)[0].checked) {
|
||||
dom_choices()[choice_index].classList.add('selected');
|
||||
}
|
||||
check_uncheck(this.id);
|
||||
})
|
||||
}
|
||||
dom_choices()[choice_index].addEventListener('click', function(e) {
|
||||
let selected = this.parentNode.querySelector('.selected')
|
||||
if (this.isSameNode(selected)) {
|
||||
this.classList.remove('selected');
|
||||
} else if (selected != null) {
|
||||
selected.classList.remove('selected');
|
||||
this.classList.add('selected');
|
||||
check_uncheck(selected.id)
|
||||
} else {
|
||||
this.classList.add('selected');
|
||||
}
|
||||
check_uncheck(this.id);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
})();
|
||||
</script>
|
||||
})();
|
||||
</script>
|
||||
<style>
|
||||
.pp_mealcalendar {
|
||||
width: 60em;
|
||||
width: 60em;
|
||||
}
|
||||
.pp_mealcalendar h3 {
|
||||
text-transform: capitalize;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.pp_mealcalendar .days {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.pp_mealcalendar .day {
|
||||
margin: 0;
|
||||
width: 12em;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
width: 12em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.pp_mealcalendar .day h4 {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
text-transform: capitalize;
|
||||
padding: 1ex 0;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
text-transform: capitalize;
|
||||
padding: 1ex 0;
|
||||
}
|
||||
.pp_mealcalendar .day .choice {
|
||||
text-align: center;
|
||||
|
@ -175,27 +175,27 @@
|
|||
padding: 1ex 0;
|
||||
}
|
||||
.pp_mealcalendar .day .choice:first-letter {
|
||||
text-transform: capitalize;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.pp_mealcalendar .day .choice.selected:after {
|
||||
content: " \002714";
|
||||
content: " \002714";
|
||||
}
|
||||
|
||||
@media all and (max-device-width: 60em) {
|
||||
.pp_mealcalendar {
|
||||
width: 300px;
|
||||
margin: 0 auto;
|
||||
.pp_mealcalendar {
|
||||
width: 300px;
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
.pp_mealcalendar .day {
|
||||
width: 300px;
|
||||
justify-content: space-around;
|
||||
margin: 2ex auto;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.pp_mealcalendar .day.inactive {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.pp_mealcalendar .day {
|
||||
width: 300px;
|
||||
justify-content: space-around;
|
||||
margin: 2ex auto;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.pp_mealcalendar .day.inactive {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,140 +2,140 @@
|
|||
{% load qommon %}
|
||||
|
||||
{% block widget-title %}
|
||||
<h3>{{widget.title}}</h3>
|
||||
<div class="title" style="display:none"><label for="form_{{widget.name}}">{{widget.title}}</label></div>
|
||||
<h3>{{widget.title}}</h3>
|
||||
<div class="title" style="display:none"><label for="form_{{widget.name}}">{{widget.title}}</label></div>
|
||||
{% endblock %}
|
||||
{% block widget-content %}
|
||||
<div class="content">
|
||||
<input name="{{widget.name}}" id="form_{{widget.name}}" class="similar-choice" type="text">
|
||||
</div>
|
||||
<div id="similar-list">
|
||||
{% with demands=script.close_demands %}
|
||||
{% for formdata in demands %}
|
||||
{% with formdict=formdata.get_as_dict %}
|
||||
<div data-id="{{formdata.id}}" style="display: none;"
|
||||
><span class="marker-counter">{{formdata.counter}}</span>
|
||||
<span class="type-probleme">{{ formdict.var_incident }}</span>
|
||||
{% if formdict.var_sous_domaine_voirie %}
|
||||
<div class="content">
|
||||
<input name="{{widget.name}}" id="form_{{widget.name}}" class="similar-choice" type="text">
|
||||
</div>
|
||||
<div id="similar-list">
|
||||
{% with demands=script.close_demands %}
|
||||
{% for formdata in demands %}
|
||||
{% with formdict=formdata.get_as_dict %}
|
||||
<div data-id="{{formdata.id}}" style="display: none;"
|
||||
><span class="marker-counter">{{formdata.counter}}</span>
|
||||
<span class="type-probleme">{{ formdict.var_incident }}</span>
|
||||
{% if formdict.var_sous_domaine_voirie %}
|
||||
<span class="sous-domaine">{{ formdict.var_sous_domaine_voirie|default:"" }}</span>
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_proprete %}
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_proprete %}
|
||||
<span class="sous-domaine">{{ formdict.var_sous_domaine_proprete|default:"" }}</span>
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_avaloir %}
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_avaloir %}
|
||||
<span class="sous-domaine">{{ formdict.var_sous_domaine_avaloir|default:"" }}</span>
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_graffiti %}
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_graffiti %}
|
||||
<span class="sous-domaine">{{ formdict.var_sous_domaine_graffiti|default:"" }}</span>
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_espace_vert %}
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_espace_vert %}
|
||||
<span class="sous-domaine">{{ formdict.var_sous_domaine_espace_vert|default:"" }}</span>
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_signalisation %}
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_signalisation %}
|
||||
<span class="sous-domaine">{{ formdict.var_sous_domaine_signalisation|default:"" }}</span>
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_mobilier_urbain %}
|
||||
{% endif %}
|
||||
{% if formdict.var_sous_domaine_mobilier_urbain %}
|
||||
<span class="sous-domaine">{{ formdict.var_sous_domaine_mobilier_urbain|default:"" }}</span>
|
||||
{% endif %}
|
||||
<span class="message">{{ formdict.var_numero|default:"" }} {{ formdict.var_voie_reelle }}</span>
|
||||
<span class="datetime">Signalé {{ formdata.receipt_time|parse_date|date:"SHORT_DATE_FORMAT" }}</span>
|
||||
<a class="plus1" href="#">Je confirme</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<span class="message">{{ formdict.var_numero|default:"" }} {{ formdict.var_voie_reelle }}</span>
|
||||
<span class="datetime">Signalé {{ formdata.receipt_time|parse_date|date:"SHORT_DATE_FORMAT" }}</span>
|
||||
<a class="plus1" href="#">Je confirme</a>
|
||||
</div>
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
<script>
|
||||
$('#similar-list a.plus1').click(function() {
|
||||
$('.similar-choice').val($(this).parents('[data-id]').data('id'));
|
||||
$('button[name=submit]').click();
|
||||
return false;
|
||||
});
|
||||
</div>
|
||||
<script>
|
||||
$('#similar-list a.plus1').click(function() {
|
||||
$('.similar-choice').val($(this).parents('[data-id]').data('id'));
|
||||
$('button[name=submit]').click();
|
||||
return false;
|
||||
});
|
||||
|
||||
if ($('.similar-map').length) {
|
||||
var geojsonMarkerOptions = {
|
||||
radius: 8,
|
||||
fillColor: "#ff2000",
|
||||
color: "#000",
|
||||
weight: 1,
|
||||
opacity: 1,
|
||||
fillOpacity: 0.8
|
||||
};
|
||||
$(document).on('wcs:maps-ready', function() {
|
||||
$('.qommon-map').each(function() {
|
||||
var $map_widget = $(this);
|
||||
var map = $map_widget[0].leaflet_map;
|
||||
var geojson_url = $('#similar').data('geojson-url');
|
||||
var geo_json = null;
|
||||
if ($('.similar-map').length) {
|
||||
var geojsonMarkerOptions = {
|
||||
radius: 8,
|
||||
fillColor: "#ff2000",
|
||||
color: "#000",
|
||||
weight: 1,
|
||||
opacity: 1,
|
||||
fillOpacity: 0.8
|
||||
};
|
||||
$(document).on('wcs:maps-ready', function() {
|
||||
$('.qommon-map').each(function() {
|
||||
var $map_widget = $(this);
|
||||
var map = $map_widget[0].leaflet_map;
|
||||
var geojson_url = $('#similar').data('geojson-url');
|
||||
var geo_json = null;
|
||||
|
||||
$(map).on('zoomend moveend', function() {
|
||||
var similar_list = $('#similar-list');
|
||||
similar_list.find('> div').hide();
|
||||
map.eachLayer(function(layer){
|
||||
if (layer instanceof L.Marker && map.getBounds().contains(layer.getLatLng())) {
|
||||
if (layer.feature && layer.feature.properties.id) {
|
||||
similar_list.find('[data-id="' + layer.feature.properties.id + '"]').show();
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
if (geojson_data) {
|
||||
var geo_json = L.geoJson(geojson_data,
|
||||
{
|
||||
pointToLayer: function (feature, latlng) {
|
||||
// test : #292E48, #cc5428
|
||||
// marker on the map
|
||||
var markerStyles = "background-color:" + feature.properties.color + "; font-size: 80%;";
|
||||
// marker in list of reporting
|
||||
$('div[data-id="' + feature.properties.id + '"] .marker-counter').css('background-color',feature.properties.color);
|
||||
marker = L.divIcon({
|
||||
iconAnchor: [0, 0],
|
||||
popupAnchor: [5, -45],
|
||||
html: '<span style="' + markerStyles + '"><i class="leaflet-marker-icon ' +
|
||||
'" style="color: white; font-family: inherit; font-weight: bold;' +
|
||||
'">' + feature.properties.counter + '</i></span>'
|
||||
});
|
||||
return L.marker(latlng, {icon: marker});
|
||||
$(map).on('zoomend moveend', function() {
|
||||
var similar_list = $('#similar-list');
|
||||
similar_list.find('> div').hide();
|
||||
map.eachLayer(function(layer){
|
||||
if (layer instanceof L.Marker && map.getBounds().contains(layer.getLatLng())) {
|
||||
if (layer.feature && layer.feature.properties.id) {
|
||||
similar_list.find('[data-id="' + layer.feature.properties.id + '"]').show();
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
map.fitBounds(geo_json.getBounds(), {maxZoom: 18});
|
||||
geo_json.addTo(map);
|
||||
$(map).trigger('moveend');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
<style>
|
||||
#similar-list > div {
|
||||
position: relative;
|
||||
min-height: 3em;
|
||||
border: 2px solid #ccc;
|
||||
border-radius: 1ex;
|
||||
padding: 1ex;
|
||||
padding-left: 3em;
|
||||
margin-bottom: 1em; }
|
||||
#similar-list > div .marker-counter {
|
||||
/*background: #2A2E49;*/
|
||||
color: white;
|
||||
display: inline-block;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
border-radius: 100%;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
line-height: 2em;
|
||||
position: absolute;
|
||||
left: 1ex; }
|
||||
#similar-list > div .datetime,
|
||||
#similar-list > div .type-probleme,
|
||||
#similar-list > div .message {
|
||||
display: block; }
|
||||
#similar-list > div .datetime {
|
||||
color: #666;
|
||||
font-size: 80%; }
|
||||
</style>
|
||||
if (geojson_data) {
|
||||
var geo_json = L.geoJson(geojson_data,
|
||||
{
|
||||
pointToLayer: function (feature, latlng) {
|
||||
// test : #292E48, #cc5428
|
||||
// marker on the map
|
||||
var markerStyles = "background-color:" + feature.properties.color + "; font-size: 80%;";
|
||||
// marker in list of reporting
|
||||
$('div[data-id="' + feature.properties.id + '"] .marker-counter').css('background-color',feature.properties.color);
|
||||
marker = L.divIcon({
|
||||
iconAnchor: [0, 0],
|
||||
popupAnchor: [5, -45],
|
||||
html: '<span style="' + markerStyles + '"><i class="leaflet-marker-icon ' +
|
||||
'" style="color: white; font-family: inherit; font-weight: bold;' +
|
||||
'">' + feature.properties.counter + '</i></span>'
|
||||
});
|
||||
return L.marker(latlng, {icon: marker});
|
||||
}
|
||||
});
|
||||
map.fitBounds(geo_json.getBounds(), {maxZoom: 18});
|
||||
geo_json.addTo(map);
|
||||
$(map).trigger('moveend');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
<style>
|
||||
#similar-list > div {
|
||||
position: relative;
|
||||
min-height: 3em;
|
||||
border: 2px solid #ccc;
|
||||
border-radius: 1ex;
|
||||
padding: 1ex;
|
||||
padding-left: 3em;
|
||||
margin-bottom: 1em; }
|
||||
#similar-list > div .marker-counter {
|
||||
/*background: #2A2E49;*/
|
||||
color: white;
|
||||
display: inline-block;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
border-radius: 100%;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
line-height: 2em;
|
||||
position: absolute;
|
||||
left: 1ex; }
|
||||
#similar-list > div .datetime,
|
||||
#similar-list > div .type-probleme,
|
||||
#similar-list > div .message {
|
||||
display: block; }
|
||||
#similar-list > div .datetime {
|
||||
color: #666;
|
||||
font-size: 80%; }
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
{% block widget-content %}
|
||||
<a class="i_am_lost_btn" style="cursor: pointer;" onclick="resetMapWidget()">Localisation incorrecte / je suis perdu : réinitialiser la carte (positionne la carte sur la commune)</a>
|
||||
<script type = "text/javascript">
|
||||
function resetMapWidget() {
|
||||
var $map = $('.qommon-map');
|
||||
initial_lat = $map[0].attributes['data-def-lat'].value;
|
||||
initial_lng = $map[0].attributes['data-def-lng'].value;
|
||||
$map[0].leaflet_map.flyTo([initial_lat, initial_lng]);
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
@media screen and (max-width: 800px) {
|
||||
.i_am_lost_btn {
|
||||
display: none;
|
||||
}
|
||||
<a class="i_am_lost_btn" style="cursor: pointer;" onclick="resetMapWidget()">Localisation incorrecte / je suis perdu : réinitialiser la carte (positionne la carte sur la commune)</a>
|
||||
<script type = "text/javascript">
|
||||
function resetMapWidget() {
|
||||
var $map = $('.qommon-map');
|
||||
initial_lat = $map[0].attributes['data-def-lat'].value;
|
||||
initial_lng = $map[0].attributes['data-def-lng'].value;
|
||||
$map[0].leaflet_map.flyTo([initial_lat, initial_lng]);
|
||||
}
|
||||
</style>
|
||||
</script>
|
||||
<style>
|
||||
@media screen and (max-width: 800px) {
|
||||
.i_am_lost_btn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
|
@ -1,18 +1,18 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
Bonjour,
|
||||
</p>
|
||||
<p>
|
||||
Vous venez de créer un accès à votre compte sur l'e-guichet.
|
||||
</p>
|
||||
<p>
|
||||
Pour l'activer, cliquez sur le bouton suivant :
|
||||
</p>
|
||||
{% include "emails/button-link.html" with url=registration_url label="Activation de mon compte" %}
|
||||
<p>
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande de compte sera annulée.
|
||||
</p>
|
||||
<p>
|
||||
Bonjour,
|
||||
</p>
|
||||
<p>
|
||||
Vous venez de créer un accès à votre compte sur l'e-guichet.
|
||||
</p>
|
||||
<p>
|
||||
Pour l'activer, cliquez sur le bouton suivant :
|
||||
</p>
|
||||
{% include "emails/button-link.html" with url=registration_url label="Activation de mon compte" %}
|
||||
<p>
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande de compte sera annulée.
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Successful registration" %}
|
||||
{% trans "Successful registration" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
Merci de votre inscription.
|
||||
</p>
|
||||
<p>
|
||||
Un lien d'activation vient de vous être envoyé par e-mail.<br>
|
||||
Attention, veuillez vous assurer que l'e-mail ne se trouve dans votre dossier de « Spam » (courriel indésirable).
|
||||
</p>
|
||||
<p>
|
||||
<a href="/">
|
||||
{% trans "Back" %}
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
Merci de votre inscription.
|
||||
</p>
|
||||
<p>
|
||||
Un lien d'activation vient de vous être envoyé par e-mail.<br>
|
||||
Attention, veuillez vous assurer que l'e-mail ne se trouve dans votre dossier de « Spam » (courriel indésirable).
|
||||
</p>
|
||||
<p>
|
||||
<a href="/">
|
||||
{% trans "Back" %}
|
||||
</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Registration" %}
|
||||
{% trans "Registration" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Pour créer votre compte, merci d'indiquer ici votre adresse e-mail.
|
||||
</p>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Pour créer votre compte, merci d'indiquer ici votre adresse e-mail.
|
||||
</p>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "theme.html" %}
|
||||
|
||||
{% block header-bottom %}
|
||||
{% if use_old_banner_hack|stringformat:'s' in "True true" %}
|
||||
<img src="{{ portal_url }}static/{{ commune_slug }}/images/banner.jpg" alt="illustration e-guichet (guichet citoyen et démarches en ligne) de la commune de {{ commune_name }}"/>
|
||||
{% endif %}
|
||||
{% if use_old_banner_hack|stringformat:'s' in "True true" %}
|
||||
<img src="{{ portal_url }}static/{{ commune_slug }}/images/banner.jpg" alt="illustration e-guichet (guichet citoyen et démarches en ligne) de la commune de {{ commune_name }}"/>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
Vous venez de créer un accès sur l'e-guichet.
|
||||
Nous vous en remercions.
|
||||
</p>
|
||||
<p>
|
||||
Vous venez de créer un accès sur l'e-guichet.
|
||||
Nous vous en remercions.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Pour activer votre compte, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
<p>
|
||||
Pour activer votre compte, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=registration_url label="Activation de mon compte" %}
|
||||
{% include "emails/button-link.html" with url=registration_url label="Activation de mon compte" %}
|
||||
|
||||
<p>
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande de compte sera annulée.
|
||||
</p>
|
||||
<p>
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande de compte sera annulée.
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Successful registration" %}
|
||||
{% trans "Successful registration" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
Merci de votre inscription.
|
||||
</p>
|
||||
<p>Un lien d'activation vient de vous être envoyé par e-mail. Attention, vérifiez que l'e-mail n'a pas été classé dans votre dossier de spams (éléments indésirables).
|
||||
</p>
|
||||
<p><a href="/">{% trans "Back" %}</a></p>
|
||||
<p>
|
||||
Merci de votre inscription.
|
||||
</p>
|
||||
<p>Un lien d'activation vient de vous être envoyé par e-mail. Attention, vérifiez que l'e-mail n'a pas été classé dans votre dossier de spams (éléments indésirables).
|
||||
</p>
|
||||
<p><a href="/">{% trans "Back" %}</a></p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,18 +2,18 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Registration" %}
|
||||
{% trans "Registration" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<!--<h2>{% trans "Registration" %}</h2>-->
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Pour créer votre compte, merci d'indiquer ici votre adresse e-mail.
|
||||
</p>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
<!--<h2>{% trans "Registration" %}</h2>-->
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Pour créer votre compte, merci d'indiquer ici votre adresse e-mail.
|
||||
</p>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
{% load i18n %}
|
||||
{% block cell-content %}
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li>
|
||||
<a class="lingo_item" width="40%" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">{{ item.subject }}</a>
|
||||
<p class="lingo_item_price">{{ item.amount }} €</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">({% trans 'remove' %})</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="{% trans "Pay" %}" />
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li>
|
||||
<a class="lingo_item" width="40%" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">{{ item.subject }}</a>
|
||||
<p class="lingo_item_price">{{ item.amount }} €</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">({% trans 'remove' %})</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="{% trans "Pay" %}" />
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,52 +1,52 @@
|
|||
<h2>Mes démarches</h2>
|
||||
<div class="cell wcsformsofcategorycell">
|
||||
<div class="wcs-forms-of-caterogy-imio links-list">
|
||||
<div class="wcs-forms-of-caterogy-imio links-list">
|
||||
{% if json == False %}
|
||||
<p class="no_registration">
|
||||
{{ pp_no_registration_msg }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if not aes_children.data %}
|
||||
<p>
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
</p>
|
||||
{% endif %}
|
||||
<ul id="pp_forms">
|
||||
{% for form in aes_forms.data %}
|
||||
{% if json == False %}
|
||||
<p class="no_registration">
|
||||
{{ pp_no_registration_msg }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if not aes_children.data %}
|
||||
<p>
|
||||
Vous n'avez pas encore d'enfant enregistré dans notre base de données.
|
||||
</p>
|
||||
{% endif %}
|
||||
<ul id="pp_forms">
|
||||
{% for form in aes_forms.data %}
|
||||
{% if json == False %}
|
||||
{% if form.slug == 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
{% if form.slug == 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
<li class="active" id="registration_form">
|
||||
<a href='{{ form.url }}'>{{ form.title }}</a>
|
||||
<a href='{{ form.url }}'>{{ form.title }}</a>
|
||||
</li>
|
||||
{% else %}
|
||||
{% else %}
|
||||
<!-- <a style="pointer-events: none" ... but disable js events-->
|
||||
<li class="inactive" style="cursor:not-allowed;"><a msg="Veuillez vous enregistrer d'abord." href='#'>{{ form.title }}</a></li>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if not aes_children.data and form.slug != 'aes-enregistrer-un-nouvel-enfant' and form.slug != 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if not aes_children.data and form.slug != 'aes-enregistrer-un-nouvel-enfant' and form.slug != 'aes-mon-inscription-dans-le-portail-parent' %}
|
||||
<li class="inactive" style="cursor:not-allowed;"><a msg="Veuillez enregistrer un enfant d'abord." href='#'>{{ form.title }}</a></li>
|
||||
{% else %}
|
||||
{% else %}
|
||||
|
||||
<li class="active"><a href='{{ form.url }}'>{{ form.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$("#registration_form").prependTo("#pp_forms");
|
||||
$(function() {
|
||||
$("#registration_form").prependTo("#pp_forms");
|
||||
|
||||
function out() {
|
||||
$(this).text($(this).attr("old_text"));
|
||||
}
|
||||
function out() {
|
||||
$(this).text($(this).attr("old_text"));
|
||||
}
|
||||
|
||||
function over() {
|
||||
var $msg = $(this).attr("msg");
|
||||
$(this).attr("old_text", $(this).text());
|
||||
$(this).text($msg);
|
||||
}
|
||||
$("li.inactive a").hover(over, out);
|
||||
});
|
||||
function over() {
|
||||
var $msg = $(this).attr("msg");
|
||||
$(this).attr("old_text", $(this).text());
|
||||
$(this).text($msg);
|
||||
}
|
||||
$("li.inactive a").hover(over, out);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
{% load i18n %}
|
||||
<div class="wcs-tracking-code-input">
|
||||
<h2>Suivez chaque démarche à la trace</h2>
|
||||
<div>
|
||||
<form data-wcs-url="{{ url }}" method="post" action="{{ site_base }}{% url 'wcs-tracking-code' %}">
|
||||
<p>
|
||||
Un code suivi accompagne chaque démarche. Il est communiqué au citoyen et vos agents
|
||||
peuvent ainsi facilement retrouver la demande citoyenne et les informations qui l'accompagne.
|
||||
</p>
|
||||
<input id="_cell_url_{{ cell.id }}" name="url" value="" type="hidden"/>
|
||||
<input name="cell" value="{{ cell.id }}" type="hidden"/>
|
||||
<div id="_cell_error_{{ cell.id }}" class="errornotice" style="display: none">
|
||||
{% trans "The tracking code could not been found." %}
|
||||
<h2>Suivez chaque démarche à la trace</h2>
|
||||
<div>
|
||||
<form data-wcs-url="{{ url }}" method="post" action="{{ site_base }}{% url 'wcs-tracking-code' %}">
|
||||
<p>
|
||||
Un code suivi accompagne chaque démarche. Il est communiqué au citoyen et vos agents
|
||||
peuvent ainsi facilement retrouver la demande citoyenne et les informations qui l'accompagne.
|
||||
</p>
|
||||
<input id="_cell_url_{{ cell.id }}" name="url" value="" type="hidden"/>
|
||||
<input name="cell" value="{{ cell.id }}" type="hidden"/>
|
||||
<div id="_cell_error_{{ cell.id }}" class="errornotice" style="display: none">
|
||||
{% trans "The tracking code could not been found." %}
|
||||
</div>
|
||||
<input aria-label="{% trans "Tracking Code" %}" required id="tracking-code" name="code" placeholder="{% trans 'ex: CNPHNTFB' %}"/>
|
||||
<button aria-label="{% trans 'Submit' %}">{% block submit-content %}{% trans 'Submit' %}{% endblock %}</button>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#_cell_url_{{ cell.id }}').val(window.location);
|
||||
if (window.location.search.indexOf('unknown-tracking-code') != -1) {
|
||||
$('#_cell_error_{{ cell.id }}').show();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</form>
|
||||
</div>
|
||||
<input aria-label="{% trans "Tracking Code" %}" required id="tracking-code" name="code" placeholder="{% trans 'ex: CNPHNTFB' %}"/>
|
||||
<button aria-label="{% trans 'Submit' %}">{% block submit-content %}{% trans 'Submit' %}{% endblock %}</button>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#_cell_url_{{ cell.id }}').val(window.location);
|
||||
if (window.location.search.indexOf('unknown-tracking-code') != -1) {
|
||||
$('#_cell_error_{{ cell.id }}').show();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
{% load i18n %}
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
{% if regies|length != 1 %}<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />{% endif %}
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li><label><input style="display: none;" type="checkbox" name="item" value="{{ item.id }}" checked/></label>
|
||||
<a class="label-item" href="{{ item.source_url }}">{{ item.subject }}</a> <span class="amount-item">{{ item.amount }} €</span>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="remove-item" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">{% trans 'remove' %}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
{% if regies|length != 1 %}<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />{% endif %}
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li><label><input style="display: none;" type="checkbox" name="item" value="{{ item.id }}" checked/></label>
|
||||
<a class="label-item" href="{{ item.source_url }}">{{ item.subject }}</a> <span class="amount-item">{{ item.amount }} €</span>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="remove-item" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">{% trans 'remove' %}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="Payer votre commande"/>
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
<!--input type="submit" value="{% trans "Pay" %}"/-->
|
||||
</form>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="Payer votre commande"/>
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
<!--input type="submit" value="{% trans "Pay" %}"/-->
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% load i18n %}
|
||||
<html>
|
||||
<body style="max-width: 90ex">
|
||||
<p>{% blocktrans %}{{ full_name }},{% endblocktrans %}</p>
|
||||
<p>
|
||||
Ihr Nutzungskonto auf {{ site }} wurde gelöscht.
|
||||
Alle zugehörigen Daten werden heute gelöscht.
|
||||
Sie können sich damit nicht mehr einloggen.<br>
|
||||
Votre compte utilisateur sur {{site}} a été supprimé.
|
||||
Toutes les données associées seront supprimées aujourd'hui.
|
||||
Vous ne pouvez plus vous connecter avec.
|
||||
</p>
|
||||
<p>{% blocktrans %}{{ full_name }},{% endblocktrans %}</p>
|
||||
<p>
|
||||
Ihr Nutzungskonto auf {{ site }} wurde gelöscht.
|
||||
Alle zugehörigen Daten werden heute gelöscht.
|
||||
Sie können sich damit nicht mehr einloggen.<br>
|
||||
Votre compte utilisateur sur {{site}} a été supprimé.
|
||||
Toutes les données associées seront supprimées aujourd'hui.
|
||||
Vous ne pouvez plus vous connecter avec.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,75 +3,75 @@
|
|||
{% block title %}Ihr Benutzerkonto · Gestion du compte{% endblock %}
|
||||
|
||||
{% block profile-data-title %}
|
||||
<h2>Deine Daten · Données du compte</h2>
|
||||
<h2>Deine Daten · Données du compte</h2>
|
||||
{% endblock %}
|
||||
{% block profile-data %}
|
||||
<div id="profile">
|
||||
{% if attributes %}
|
||||
{% for attribute in attributes %}
|
||||
<div class="field">
|
||||
<span class="label">{{ attribute.attribute.label|capfirst }}</span>
|
||||
<div class="value">
|
||||
{% if attribute.values|length == 0 %}<span class="nodata">(nicht spezifiziert · non spécifié)</span>
|
||||
{% elif attribute.values|length == 1 %}{{ attribute.values.0 }}{% else %}
|
||||
<ul>
|
||||
{% for value in attribute.values %}
|
||||
<li>{{ value }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="profile">
|
||||
{% if attributes %}
|
||||
{% for attribute in attributes %}
|
||||
<div class="field">
|
||||
<span class="label">{{ attribute.attribute.label|capfirst }}</span>
|
||||
<div class="value">
|
||||
{% if attribute.values|length == 0 %}<span class="nodata">(nicht spezifiziert · non spécifié)</span>
|
||||
{% elif attribute.values|length == 1 %}{{ attribute.values.0 }}{% else %}
|
||||
<ul>
|
||||
{% for value in attribute.values %}
|
||||
<li>{{ value }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if LAST_LOGIN %}
|
||||
<div class="field">
|
||||
<span class="label">Letzte Verbindung · Dernière connexion</span>
|
||||
<span class="value">{{ LAST_LOGIN }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if LAST_LOGIN %}
|
||||
<div class="field">
|
||||
<span class="label">Letzte Verbindung · Dernière connexion</span>
|
||||
<span class="value">{{ LAST_LOGIN }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block account-management-title %}
|
||||
<h2>Verwalten Ihres Benutzerkontos · Gestion du compte</h2>
|
||||
<h2>Verwalten Ihres Benutzerkontos · Gestion du compte</h2>
|
||||
{% endblock %}
|
||||
{% block account-management-actions %}
|
||||
<ul class="account-management">
|
||||
{% block account-management-top-actions %}
|
||||
{% endblock %}
|
||||
{% if allow_email_change %}
|
||||
<li class="email-change"><a href="{% url 'email-change' %}">Zugehörige E-Mail bearbeiten · Modifier le courriel
|
||||
associé</a></li>
|
||||
{% endif %}
|
||||
{% if user.can_change_password %}
|
||||
{% if user.has_usable_password %}
|
||||
<li><a href="{% url 'password_change' %}">Passwort ändern · Modifier le mot de passe</a></li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'password_change' %}">Benutzer Passwort festlegen · Définir un mot de passe</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if profile_edit_url %}
|
||||
<li class="profile-edit"><a href="{{ profile_edit_url }}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% elif allow_profile_edit %}
|
||||
<li class="profile-edit"><a href="{% url 'profile_edit' %}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% endif %}
|
||||
{% if allow_authorization_management %}
|
||||
<li><a href="{% url 'authorized-oauth-services' %}">Zugriffsberechtigungen verwalten · Gérer les autorisations
|
||||
d’accès</a></li>
|
||||
{% endif %}
|
||||
{% if allow_account_deletion %}
|
||||
<li class="account-delete"><a href="{% url 'delete_account' %}">Benutzerkonto löschen · Supprimer le compte</a></li>
|
||||
{% endif %}
|
||||
{% block account-management-bottom-actions %}
|
||||
{% endblock %}
|
||||
</ul>
|
||||
<ul class="account-management">
|
||||
{% block account-management-top-actions %}
|
||||
{% endblock %}
|
||||
{% if allow_email_change %}
|
||||
<li class="email-change"><a href="{% url 'email-change' %}">Zugehörige E-Mail bearbeiten · Modifier le courriel
|
||||
associé</a></li>
|
||||
{% endif %}
|
||||
{% if user.can_change_password %}
|
||||
{% if user.has_usable_password %}
|
||||
<li><a href="{% url 'password_change' %}">Passwort ändern · Modifier le mot de passe</a></li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'password_change' %}">Benutzer Passwort festlegen · Définir un mot de passe</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if profile_edit_url %}
|
||||
<li class="profile-edit"><a href="{{ profile_edit_url }}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% elif allow_profile_edit %}
|
||||
<li class="profile-edit"><a href="{% url 'profile_edit' %}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% endif %}
|
||||
{% if allow_authorization_management %}
|
||||
<li><a href="{% url 'authorized-oauth-services' %}">Zugriffsberechtigungen verwalten · Gérer les autorisations
|
||||
d’accès</a></li>
|
||||
{% endif %}
|
||||
{% if allow_account_deletion %}
|
||||
<li class="account-delete"><a href="{% url 'delete_account' %}">Benutzerkonto löschen · Supprimer le compte</a></li>
|
||||
{% endif %}
|
||||
{% block account-management-bottom-actions %}
|
||||
{% endblock %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{{ block.super }}
|
||||
<div style="margin-top: 10px;">
|
||||
Um die im Konto nicht angegebenen Felder auszufüllen, klicken Sie auf diesen Link : "<a
|
||||
href="{% url 'profile_edit' %}">Benutzerkontodaten ändern</a>".
|
||||
</div>
|
||||
{{ block.super }}
|
||||
<div style="margin-top: 10px;">
|
||||
Um die im Konto nicht angegebenen Felder auszufüllen, klicken Sie auf diesen Link : "<a
|
||||
href="{% url 'profile_edit' %}">Benutzerkontodaten ändern</a>".
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -2,31 +2,31 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block page-title %}
|
||||
{{ block.super }} - {{ view.title }}
|
||||
{{ block.super }} - {{ view.title }}
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
{{ block.super }}
|
||||
<a href="{% url " account_management" %}">{% trans "Your account" %}</a>
|
||||
<a href="#">{{ view.title }}</a>
|
||||
{{ block.super }}
|
||||
<a href="{% url " account_management" %}">{% trans "Your account" %}</a>
|
||||
<a href="#">{{ view.title }}</a>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Möchten Sie Ihr Benutzerkonto wirklich löschen? · Voulez-vous vraiment supprimer votre compte utilisateur ?
|
||||
</p>
|
||||
<p>
|
||||
Eine Bestätigungsnachricht wird an {{email}} gesendet. <br>
|
||||
Sie müssen die besuchen Link in dieser E-Mail, um den Löschvorgang abzuschließen.
|
||||
</p>
|
||||
<p>
|
||||
Un message de validation sera envoyé à {{ email }}. <br>
|
||||
Vous devrez visiter le lien dans cet e-mail afin de terminer le processus de suppression.
|
||||
</p>
|
||||
<button class="submit-button" name="submit">{% trans "Send the code" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Möchten Sie Ihr Benutzerkonto wirklich löschen? · Voulez-vous vraiment supprimer votre compte utilisateur ?
|
||||
</p>
|
||||
<p>
|
||||
Eine Bestätigungsnachricht wird an {{email}} gesendet. <br>
|
||||
Sie müssen die besuchen Link in dieser E-Mail, um den Löschvorgang abzuschließen.
|
||||
</p>
|
||||
<p>
|
||||
Un message de validation sera envoyé à {{ email }}. <br>
|
||||
Vous devrez visiter le lien dans cet e-mail afin de terminer le processus de suppression.
|
||||
</p>
|
||||
<button class="submit-button" name="submit">{% trans "Send the code" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
|
@ -13,17 +13,17 @@
|
|||
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Vous êtes sur le point de supprimer le compte de <strong>{{ user.get_full_name }}</strong>.<br>
|
||||
Cela supprimera toutes les données personnelles associées et vous ne pourrez plus vous connecter avec ce compte.
|
||||
</p>
|
||||
<p>
|
||||
Sie sind im Begriff, das Benutzerkonto von <strong>{{ user.get_full_name }}</strong> zu löschen.<br>
|
||||
Dadurch werden alle zugehörigen personenbezogenen Daten entfernt und Sie können sich nicht mehr mit diesem Benutzerkonto anmelden.
|
||||
</p>
|
||||
<button class="delete-button" name="delete">{% trans "Confirm deletion" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Vous êtes sur le point de supprimer le compte de <strong>{{ user.get_full_name }}</strong>.<br>
|
||||
Cela supprimera toutes les données personnelles associées et vous ne pourrez plus vous connecter avec ce compte.
|
||||
</p>
|
||||
<p>
|
||||
Sie sind im Begriff, das Benutzerkonto von <strong>{{ user.get_full_name }}</strong> zu löschen.<br>
|
||||
Dadurch werden alle zugehörigen personenbezogenen Daten entfernt und Sie können sich nicht mehr mit diesem Benutzerkonto anmelden.
|
||||
</p>
|
||||
<button class="delete-button" name="delete">{% trans "Confirm deletion" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -14,23 +14,23 @@
|
|||
{% block content %}
|
||||
<div id="header-text">
|
||||
<p>
|
||||
Sparen Sie Zeit bei der Bestellung Ihrer Dokumente, indem Sie alle Felder ausfüllen.<br>
|
||||
Ihre Daten werden automatisch in die Formulare übernommen von Bestellungen.
|
||||
Sparen Sie Zeit bei der Bestellung Ihrer Dokumente, indem Sie alle Felder ausfüllen.<br>
|
||||
Ihre Daten werden automatisch in die Formulare übernommen von Bestellungen.
|
||||
</p>
|
||||
<p>
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents.<br>
|
||||
Vos données seront reprises automatiquement dans les formulaires de commandes.
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents.<br>
|
||||
Vos données seront reprises automatiquement dans les formulaires de commandes.
|
||||
</p>
|
||||
{% if object.has_verified_attributes %}
|
||||
<p>
|
||||
Wenn eine oder mehrere Informationen in Ihrem Benutzerkonto falsch sind,
|
||||
{% if object.has_verified_attributes %}
|
||||
<p>
|
||||
Wenn eine oder mehrere Informationen in Ihrem Benutzerkonto falsch sind,
|
||||
gehen Sie bitte zum örtlichen Rathaus, um es zu aktualisieren die im Nationalregister enthaltenen Informationen.
|
||||
</p>
|
||||
<p>
|
||||
Si une ou plusieurs informations de votre profil sont incorrectes,
|
||||
merci de vous présenter en mairie de quartier afin d'actualiser les informations reprises au Registre national.
|
||||
</p>
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
Si une ou plusieurs informations de votre profil sont incorrectes,
|
||||
merci de vous présenter en mairie de quartier afin d'actualiser les informations reprises au Registre national.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
{{ block.super }}
|
||||
<a href="..">Ihr Benutzerkonto · Votre compte</a>
|
||||
<a href="">{{ view.title }}</a>
|
||||
{{ block.super }}
|
||||
<a href="..">Ihr Benutzerkonto · Votre compte</a>
|
||||
<a href="">{{ view.title }}</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
Ihre aktuelle E-Mail-Adresse lautet {{ user.email }}. Eine E-Mail wird gesendet, um die neue zu bestätigen. <br>
|
||||
Votre adresse e-mail actuelle est {{ user.email }}. Un email sera envoyé pour confirmer le nouveau.
|
||||
Ihre aktuelle E-Mail-Adresse lautet {{ user.email }}. Eine E-Mail wird gesendet, um die neue zu bestätigen. <br>
|
||||
Votre adresse e-mail actuelle est {{ user.email }}. Un email sera envoyé pour confirmer le nouveau.
|
||||
</p>
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
</div>
|
||||
{% if only_info %}
|
||||
<script>
|
||||
window.setTimeout(function () {
|
||||
document.getElementById('a2-continue').click();
|
||||
}, 3000);
|
||||
window.setTimeout(function () {
|
||||
document.getElementById('a2-continue').click();
|
||||
}, 3000);
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -14,32 +14,32 @@
|
|||
{% block content %}
|
||||
{% if authorized_services %}
|
||||
<div id="login-actions">
|
||||
<h2>{% trans "Services" %}</h2>
|
||||
<ul>
|
||||
{% for service in authorized_services %}
|
||||
{% if service.actions %}
|
||||
<li>{% if service.url %}<a href="{{ service.url }}">{% endif %}{{ service.name }}{% if service.url %}</a>{% endif %}
|
||||
<div class="actions">
|
||||
{% for action in service.actions %}
|
||||
{% if action.0 == "template" %}
|
||||
{% include action.1 %}
|
||||
{% else %}
|
||||
<form action="{{ action.2 }}" method="{{ action.1 }}">
|
||||
{% if action.3 %}
|
||||
{% for key, value in action.3 %}
|
||||
<input type="hidden" name="{{ key }}" value="{{ value }}" />
|
||||
{% endfor %}
|
||||
<h2>{% trans "Services" %}</h2>
|
||||
<ul>
|
||||
{% for service in authorized_services %}
|
||||
{% if service.actions %}
|
||||
<li>{% if service.url %}<a href="{{ service.url }}">{% endif %}{{ service.name }}{% if service.url %}</a>{% endif %}
|
||||
<div class="actions">
|
||||
{% for action in service.actions %}
|
||||
{% if action.0 == "template" %}
|
||||
{% include action.1 %}
|
||||
{% else %}
|
||||
<form action="{{ action.2 }}" method="{{ action.1 }}">
|
||||
{% if action.3 %}
|
||||
{% for key, value in action.3 %}
|
||||
<input type="hidden" name="{{ key }}" value="{{ value }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<input type="hidden" name="next" value="/"/>
|
||||
<button class="submit-link">{{ action.0 }}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
<input type="hidden" name="next" value="/"/>
|
||||
<button class="submit-link">{{ action.0 }}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
{% extends "authentic2/login.html" %}
|
||||
|
||||
{% block login-pre %}
|
||||
<div class="login-intro">
|
||||
<p>Um auf gesicherte Vorgänge zuzugreifen, bitte anmelden · Pour accéder aux démarches sécurisées, veuillez vous connecter :</p>
|
||||
</div>
|
||||
<div class="login-intro">
|
||||
<p>Um auf gesicherte Vorgänge zuzugreifen, bitte anmelden · Pour accéder aux démarches sécurisées, veuillez vous connecter :</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block login-blocks %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}" style="min-height: 400px;">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Anmeldung · Connexion</h2>
|
||||
{% elif id == "password" %}
|
||||
<h2>Anmeldung mit Anmeldeinformationen · Connexion avec identifiants</h2>
|
||||
{% elif id == "fedict" %}
|
||||
<h2>Anmeldung mit eID oder itsme · Connexion eID ou itsme</h2>
|
||||
{% else %}
|
||||
<!-- no title for oidc -->
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}" style="min-height: 400px;">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Anmeldung · Connexion</h2>
|
||||
{% elif id == "password" %}
|
||||
<h2>Anmeldung mit Anmeldeinformationen · Connexion avec identifiants</h2>
|
||||
{% elif id == "fedict" %}
|
||||
<h2>Anmeldung mit eID oder itsme · Connexion eID ou itsme</h2>
|
||||
{% else %}
|
||||
<!-- no title for oidc -->
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,42 +2,42 @@
|
|||
|
||||
{% block login %}
|
||||
|
||||
{% block form %}
|
||||
<div>
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
{% block form %}
|
||||
<div>
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
{% block buttons %}
|
||||
<button class="submit-button" name="{{ submit_name }}">Einloggen · Connexion</button>
|
||||
{% if cancel %}
|
||||
<button class="cancel-button" name="cancel" formnovalidate>Stornieren · Annuler</button>
|
||||
{% endif %}
|
||||
<button class="submit-button" name="{{ submit_name }}">Einloggen · Connexion</button>
|
||||
{% if cancel %}
|
||||
<button class="cancel-button" name="cancel" formnovalidate>Stornieren · Annuler</button>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</form>
|
||||
{{ form.media }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</form>
|
||||
{{ form.media }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block actions %}
|
||||
{% if can_reset_password or registration_authorized %}
|
||||
<div class="login-actions">
|
||||
<ul>
|
||||
{% if can_reset_password %}
|
||||
<li>
|
||||
<p>→ <a
|
||||
href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Passwort
|
||||
verloren? Fordern Sie ein neues an! · Mot de passe oublié? Demandez un nouveau!</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if registration_authorized %}
|
||||
<li>
|
||||
<p>→ <a href="{{ registration_url }}">Sie haben kein Benutzerkonto? Hier registrieren · Vous n'avez pas de
|
||||
compte utilisateur ? Inscrivez-vous ici</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block actions %}
|
||||
{% if can_reset_password or registration_authorized %}
|
||||
<div class="login-actions">
|
||||
<ul>
|
||||
{% if can_reset_password %}
|
||||
<li>
|
||||
<p>→ <a
|
||||
href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Passwort
|
||||
verloren? Fordern Sie ein neues an! · Mot de passe oublié? Demandez un nouveau!</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if registration_authorized %}
|
||||
<li>
|
||||
<p>→ <a href="{{ registration_url }}">Sie haben kein Benutzerkonto? Hier registrieren · Vous n'avez pas de
|
||||
compte utilisateur ? Inscrivez-vous ici</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
|
@ -1,17 +1,17 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% if can_change_password %}
|
||||
<h4>Passwort · Mot de passe</h4>
|
||||
<h4>Passwort · Mot de passe</h4>
|
||||
|
||||
<div>
|
||||
<p>
|
||||
<a href="{% url 'password_change' %}">
|
||||
{% if has_usable_password %}
|
||||
Ändern Sie Ihr Passwort · Change your password
|
||||
{% else %}
|
||||
Lege ein Passwort fest · Définir un mot de passe
|
||||
{% endif %}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<p>
|
||||
<a href="{% url 'password_change' %}">
|
||||
{% if has_usable_password %}
|
||||
Ändern Sie Ihr Passwort · Change your password
|
||||
{% else %}
|
||||
Lege ein Passwort fest · Définir un mot de passe
|
||||
{% endif %}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% load i18n gadjo %}
|
||||
|
||||
{% block registration %}
|
||||
<form enctype="multipart/form-data" method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<button class="submit-button">Absenden · Envoyer</button>
|
||||
</form>
|
||||
<form enctype="multipart/form-data" method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<button class="submit-button">Absenden · Envoyer</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
{% block content %}
|
||||
<h2>{% trans message %}</h2>
|
||||
<ul class="logout-list">
|
||||
{% for fragment in logout_list %}
|
||||
{{ fragment|safe }}
|
||||
{% endfor %}
|
||||
{% for fragment in logout_list %}
|
||||
{{ fragment|safe }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<div id="continue-link">
|
||||
|
|
|
@ -2,18 +2,18 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>Hallo · Bonjour,</p>
|
||||
<p>Hallo · Bonjour,</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Sie haben die Zurücksetzung Ihres Passworts auf {{ request.get_host }} angefordert, aber es wurde kein Konto gefunden, das dieser Adresse zugeordnet ist.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Vous avez demandé la réinitialisation de votre mot de passe sur {{ request.get_host }}, mais aucun compte n'a été trouvé associé à cette adresse.
|
||||
</p>
|
||||
{% if registration_url %}
|
||||
{% with "Erstellen Sie ein Benutzerkonto · Créer un compte" as button_label %}
|
||||
{% include "emails/button-link.html" with url=registration_url label=button_label %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if registration_url %}
|
||||
{% with "Erstellen Sie ein Benutzerkonto · Créer un compte" as button_label %}
|
||||
{% include "emails/button-link.html" with url=registration_url label=button_label %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>Hallo · Bonjour,</p>
|
||||
<p>Hallo · Bonjour,</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Vous avez demandé la réinitialisation de votre mot de passe sur {{ request.get_host }}. <br>
|
||||
Malheureusement, votre compte a été désactivé sur ce serveur, votre demande ne peut donc pas aboutir.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Sie haben beantragt, Ihr Passwort auf {{request.get_host}} zurückzusetzen.<br>
|
||||
Leider wurde Ihr Konto auf diesem Server deaktiviert, sodass Ihre Anfrage nicht abgeschlossen werden kann.
|
||||
</p>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% if widget.is_initial %}{{ widget.initial_text }}: <a href="{{ widget.value.url }}"><img src="{{ widget.value.url }}"/></a>{% if not widget.required %}
|
||||
<input type="checkbox" name="{{ widget.checkbox_name }}" id="{{ widget.checkbox_id }}" />
|
||||
<label for="{{ widget.checkbox_id }}">{{ widget.clear_checkbox_label }}</label>{% endif %}<br />
|
||||
{{ widget.input_text }}:{% endif %}
|
||||
<input type="checkbox" name="{{ widget.checkbox_name }}" id="{{ widget.checkbox_id }}" />
|
||||
<label for="{{ widget.checkbox_id }}">{{ widget.clear_checkbox_label }}</label>{% endif %}<br />
|
||||
{{ widget.input_text }}:{% endif %}
|
||||
<input type="{{ widget.type }}" name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %} />
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
{% load i18n %}
|
||||
<html>
|
||||
<body style="max-width: 90ex">
|
||||
<p> Hi {{ user.get_full_name }}!</p>
|
||||
<p>
|
||||
Ihre Registrierung auf {{site}} war erfolgreich ! · Votre inscription sur {{site}} a réussi !
|
||||
</p>
|
||||
<p> Hi {{ user.get_full_name }}!</p>
|
||||
<p>
|
||||
Ihre Registrierung auf {{site}} war erfolgreich ! · Votre inscription sur {{site}} a réussi !
|
||||
</p>
|
||||
|
||||
<p><a href="{{ login_url }}">Einloggen · Se connecter</a></p>
|
||||
<p><a href="{{ login_url }}">Einloggen · Se connecter</a></p>
|
||||
<ul>
|
||||
{% if user.username %}
|
||||
<li>Nutzername · Nom d'utilisateur : {{ user.username }}</li>
|
||||
{% endif %}
|
||||
<li>E-mail : {{ user.email }}</li>
|
||||
{% if user.first_name %}
|
||||
<li>Vorname · Prénom : {{ user.first_name }}</li>
|
||||
{% endif %}
|
||||
{% if user.last_name %}
|
||||
<li>Nachname · Nom : {{ user.last_name }}</li>
|
||||
{% endif %}
|
||||
{% if user.username %}
|
||||
<li>Nutzername · Nom d'utilisateur : {{ user.username }}</li>
|
||||
{% endif %}
|
||||
<li>E-mail : {{ user.email }}</li>
|
||||
{% if user.first_name %}
|
||||
<li>Vorname · Prénom : {{ user.first_name }}</li>
|
||||
{% endif %}
|
||||
{% if user.last_name %}
|
||||
<li>Nachname · Nom : {{ user.last_name }}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
{% load i18n gadjo %}
|
||||
|
||||
{% block page-title %}
|
||||
{{ block.super }} - {% trans "Access denied" %}
|
||||
{{ block.super }} - {% trans "Access denied" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% trans "You are not authorized to access this service, please contact your administrator." %} <a href="{{callback_url}}">{% trans "Back" %}</a>
|
||||
{% trans "You are not authorized to access this service, please contact your administrator." %} <a href="{{callback_url}}">{% trans "Back" %}</a>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% load i18n static %}
|
||||
<div>
|
||||
<form method="post" id="csam-login">
|
||||
<p>
|
||||
<p>
|
||||
{% if itsme %}
|
||||
<img src="{% static "/img/eid_itsme.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID ou itsme" style="cursor: pointer;" />
|
||||
<img src="{% static "/img/eid_itsme.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID ou itsme" style="cursor: pointer;" />
|
||||
{% else %}
|
||||
<img src="{% static "/img/eid.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID" style="cursor: pointer;" />
|
||||
<img src="{% static "/img/eid.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID" style="cursor: pointer;" />
|
||||
{% endif %}
|
||||
</p>
|
||||
<input type="submit" name="{{ submit_name }}" value="Einloggen · Connexion"/>
|
||||
</p>
|
||||
<input type="submit" name="{{ submit_name }}" value="Einloggen · Connexion"/>
|
||||
</form>
|
||||
<script>
|
||||
$(function() {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
{% block cell-content %}
|
||||
|
||||
|
||||
<h2>{% trans "Profile" %}</h2>
|
||||
<div class="profile">
|
||||
<h2>{% trans "Profile" %}</h2>
|
||||
<div class="profile">
|
||||
<p class="edit-link"><a class="pk-button" href="{{idp_url}}accounts/">Mein Profil verwalten · Gérer mon profil</a></p>
|
||||
{% for key, details in profile_fields.items %}
|
||||
{% if details.value and details.user_visible %}
|
||||
|
@ -12,8 +12,8 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if error == 'unknown user' %}
|
||||
<p>{% trans 'Unknown User' %}</p>
|
||||
<p>{% trans 'Unknown User' %}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
|
@ -1,24 +1,24 @@
|
|||
{% load i18n %}
|
||||
{% block cell-content %}
|
||||
<h2>Entwürfe in Arbeit · Brouillons en cours</h2>
|
||||
{% if drafts %}
|
||||
{% for slug, forms in current_drafts.items %}
|
||||
<div class="links-list current-drafts-{{ slug }} current-drafts list-of-forms">
|
||||
{% if forms.data %}
|
||||
<ul>
|
||||
{% for data in forms.data %}
|
||||
{% if data.url and data.title and not data.form_status_is_endpoint %}
|
||||
<li class="{{data.status_css_class}} {% if data.form_status_is_endpoint %}done{% endif %}"><a
|
||||
href="{{ data.url }}"><span class="form-title">{{ data.name }}</span>
|
||||
<span class="form-number">{{data.datetime|strptime:"%Y-%m-%d %H:%M:%S"}}</span>
|
||||
<span class="form-status">{% trans 'draft' %}</span></a></li>
|
||||
{% endif %}
|
||||
<h2>Entwürfe in Arbeit · Brouillons en cours</h2>
|
||||
{% if drafts %}
|
||||
{% for slug, forms in current_drafts.items %}
|
||||
<div class="links-list current-drafts-{{ slug }} current-drafts list-of-forms">
|
||||
{% if forms.data %}
|
||||
<ul>
|
||||
{% for data in forms.data %}
|
||||
{% if data.url and data.title and not data.form_status_is_endpoint %}
|
||||
<li class="{{data.status_css_class}} {% if data.form_status_is_endpoint %}done{% endif %}"><a
|
||||
href="{{ data.url }}"><span class="form-title">{{ data.name }}</span>
|
||||
<span class="form-number">{{data.datetime|strptime:"%Y-%m-%d %H:%M:%S"}}</span>
|
||||
<span class="form-status">{% trans 'draft' %}</span></a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% include "combo/pagination.html" %}
|
||||
{% else %}
|
||||
<div class="cell--body"><p class="empty-message">{% trans "There are no current drafts." %}</p></div>{% endif %}
|
||||
{% include "combo/pagination.html" %}
|
||||
{% else %}
|
||||
<div class="cell--body"><p class="empty-message">{% trans "There are no current drafts." %}</p></div>{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% load i18n %}
|
||||
{% block cell-content %}
|
||||
<h2>Offene Anfragen · Demandes en cours</h2>
|
||||
{% if forms %}
|
||||
{% for slug, forms in current_forms.items %}
|
||||
<div class="links-list current-forms-{{ slug }} current-forms list-of-forms">
|
||||
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% include "combo/pagination.html" %}
|
||||
{% else %}
|
||||
<div class="cell--body"><p class="empty-message">{% trans "There are no current forms." %}</p></div>
|
||||
{% endif %}
|
||||
<h2>Offene Anfragen · Demandes en cours</h2>
|
||||
{% if forms %}
|
||||
{% for slug, forms in current_forms.items %}
|
||||
<div class="links-list current-forms-{{ slug }} current-forms list-of-forms">
|
||||
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% include "combo/pagination.html" %}
|
||||
{% else %}
|
||||
<div class="cell--body"><p class="empty-message">{% trans "There are no current forms." %}</p></div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
{% if include_top_links != False %}
|
||||
<div id="toplinks">
|
||||
{% block user-info %}
|
||||
{% if user.is_authenticated %}
|
||||
<span class="logged-in">
|
||||
{% if idp_account_url %}<a class="account-link" href="{{idp_account_url}}">{% endif %}
|
||||
<span class="connected-user">{% block user-info-user-name %}{{user.first_name}} {{user.last_name}}{% endblock %}</span>{% if idp_account_url %}</a>{% endif %}
|
||||
<a accesskey="o" class="logout" href="{% url 'auth_logout' %}">{% block user-info-logout-label %}Abmelden · Déconnexion{% endblock %}</a>
|
||||
</span>
|
||||
{% else %}
|
||||
{% firstof registration_url idp_registration_url as registration_url %}
|
||||
<span class="login"><a accesskey="2" class="login-link" href="{% url 'auth_login' %}"
|
||||
>{% block user-info-login-label %}Anmelden · Connexion{% endblock %}
|
||||
{% if registration_url and include_registration_link != False %}
|
||||
</a>
|
||||
<span class="sep">/</span>
|
||||
<a class="registration" href="{{registration_url}}"
|
||||
>{% block user-info-registration-label %}Registrieren · Inscription{% endblock %}{% endif %}</a></span>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="toplinks">
|
||||
{% block user-info %}
|
||||
{% if user.is_authenticated %}
|
||||
<span class="logged-in">
|
||||
{% if idp_account_url %}<a class="account-link" href="{{idp_account_url}}">{% endif %}
|
||||
<span class="connected-user">{% block user-info-user-name %}{{user.first_name}} {{user.last_name}}{% endblock %}</span>{% if idp_account_url %}</a>{% endif %}
|
||||
<a accesskey="o" class="logout" href="{% url 'auth_logout' %}">{% block user-info-logout-label %}Abmelden · Déconnexion{% endblock %}</a>
|
||||
</span>
|
||||
{% else %}
|
||||
{% firstof registration_url idp_registration_url as registration_url %}
|
||||
<span class="login"><a accesskey="2" class="login-link" href="{% url 'auth_login' %}"
|
||||
>{% block user-info-login-label %}Anmelden · Connexion{% endblock %}
|
||||
{% if registration_url and include_registration_link != False %}
|
||||
</a>
|
||||
<span class="sep">/</span>
|
||||
<a class="registration" href="{{registration_url}}"
|
||||
>{% block user-info-registration-label %}Registrieren · Inscription{% endblock %}{% endif %}</a></span>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
<!--Template lingo/combo custom-->
|
||||
{% load i18n %}
|
||||
{% block cell-content %}
|
||||
{% if regies %}
|
||||
<h2>Korb · Panier</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li>
|
||||
<a class="lingo_item" width="40%" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">{{ item.subject }}</a>
|
||||
<p class="lingo_item_price">{{ item.amount }} €</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">( Löschen · Supprimer )</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>Endsumme · Total :</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="Zahlen · Payer" />
|
||||
<a href="{{portal_url}}demarches" id="new-command">Bestellen Sie ein weiteres Dokument · Commander un autre document</a>
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if regies %}
|
||||
<h2>Korb · Panier</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li>
|
||||
<a class="lingo_item" width="40%" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">{{ item.subject }}</a>
|
||||
<p class="lingo_item_price">{{ item.amount }} €</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">( Löschen · Supprimer )</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>Endsumme · Total :</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="Zahlen · Payer" />
|
||||
<a href="{{portal_url}}demarches" id="new-command">Bestellen Sie ein weiteres Dokument · Commander un autre document</a>
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,41 +1,41 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>Hallo,</p>
|
||||
<p>Hallo,</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Sie haben gerade Ihr Benutzerkonto auf {% firstof hobo_city commune_name%} erstellt.
|
||||
Wir danken Ihnen.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Um Ihr Benutzerkonto zu aktivieren, klicken Sie bitte auf folgenden Link :
|
||||
</p>
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=registration_url label="Freischaltung meines Benutzerkontos" %}
|
||||
{% include "emails/button-link.html" with url=registration_url label="Freischaltung meines Benutzerkontos" %}
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Bitte beachten Sie, dass ohne Bestätigung Ihrerseits innerhalb von {{expiration_days}} Tagen,
|
||||
Ihre Benutzerkontoanfrage wird storniert.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<hr>
|
||||
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
Vous venez de créer un accès à votre compte sur l'e-guichet de la Ville de {% firstof hobo_city commune_name %}.
|
||||
Nous vous en remercions.
|
||||
</p>
|
||||
<p>
|
||||
Vous venez de créer un accès à votre compte sur l'e-guichet de la Ville de {% firstof hobo_city commune_name %}.
|
||||
Nous vous en remercions.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Pour activer votre compte, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
<p>
|
||||
Pour activer votre compte, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=registration_url label="Activation de mon compte" %}
|
||||
{% include "emails/button-link.html" with url=registration_url label="Activation de mon compte" %}
|
||||
|
||||
<p>
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande de compte sera annulée.
|
||||
</p>
|
||||
<p>
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande de compte sera annulée.
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,26 +2,26 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
Passwort zurücksetzen · Réinitialiser le mot de passe<
|
||||
Passwort zurücksetzen · Réinitialiser le mot de passe<
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="password-reset-form">
|
||||
<div class="password-reset-form">
|
||||
|
||||
<p>
|
||||
Passwort vergessen ? Geben Sie Ihre Login-E-Mail-Adresse ein, um eine neue zu erhalten.<br/>
|
||||
<a href="{{ idp_account_url }}register/?next=/">Sie haben noch kein Benutzerkonto? Hier registrieren.</a>
|
||||
</p>
|
||||
<p>
|
||||
Mot de passe perdu ? Entrez votre adresse e-mail de connexion pour recevoir un nouveau. <br/>
|
||||
<a href="{{idp_account_url}}register/?next="> Vous n'avez pas encore de compte utilisateur ? Inscrivez-vous ici.</a>
|
||||
</p>
|
||||
<p>
|
||||
Passwort vergessen ? Geben Sie Ihre Login-E-Mail-Adresse ein, um eine neue zu erhalten.<br/>
|
||||
<a href="{{ idp_account_url }}register/?next=/">Sie haben noch kein Benutzerkonto? Hier registrieren.</a>
|
||||
</p>
|
||||
<p>
|
||||
Mot de passe perdu ? Entrez votre adresse e-mail de connexion pour recevoir un nouveau. <br/>
|
||||
<a href="{{idp_account_url}}register/?next="> Vous n'avez pas encore de compte utilisateur ? Inscrivez-vous ici.</a>
|
||||
</p>
|
||||
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button class="submit-button">Absenden · Envoyer</button>
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button class="submit-button">Absenden · Envoyer</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,41 +2,41 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
Registrierung · Inscription réussie
|
||||
Registrierung · Inscription réussie
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
||||
<div style="display: flex; flex-direction: row;">
|
||||
<div style="display: flex; flex-direction: row;">
|
||||
<!-- Left Column -->
|
||||
<div style="flex: 1; margin-right: 15px;">
|
||||
<p>
|
||||
<strong>Danke für deine Registrierung.</strong>
|
||||
</p>
|
||||
<p>
|
||||
Ein Aktivierungslink wurde Ihnen soeben per E-Mail zugesandt.
|
||||
</p>
|
||||
<p>
|
||||
Achten Sie darauf, dass die E-Mail nicht in Ihrem Spam-Ordner (unerwünschte Elemente) klassifiziert wurde.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Danke für deine Registrierung.</strong>
|
||||
</p>
|
||||
<p>
|
||||
Ein Aktivierungslink wurde Ihnen soeben per E-Mail zugesandt.
|
||||
</p>
|
||||
<p>
|
||||
Achten Sie darauf, dass die E-Mail nicht in Ihrem Spam-Ordner (unerwünschte Elemente) klassifiziert wurde.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Right Column -->
|
||||
<div style="flex: 1; margin-left: 15px;">
|
||||
<p>
|
||||
<strong>Merci de votre inscription.</strong>
|
||||
</p>
|
||||
<p>
|
||||
Un lien d'activation vient de vous être envoyé par e-mail.
|
||||
</p>
|
||||
<p>
|
||||
Attention, vérifiez que l'e-mail n'a pas été classé dans votre dossier de spams (éléments indésirables).
|
||||
</p>
|
||||
<p>
|
||||
<strong>Merci de votre inscription.</strong>
|
||||
</p>
|
||||
<p>
|
||||
Un lien d'activation vient de vous être envoyé par e-mail.
|
||||
</p>
|
||||
<p>
|
||||
Attention, vérifiez que l'e-mail n'a pas été classé dans votre dossier de spams (éléments indésirables).
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
<a href="/" class="pk-button">Zurück · Retour</a>
|
||||
</p>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,44 +2,44 @@
|
|||
{% load i18n gadjo %}
|
||||
|
||||
{% block title %}
|
||||
Erstellung eines Benutzerkontos · Création d'un compte utilisateur
|
||||
Erstellung eines Benutzerkontos · Création d'un compte utilisateur
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% block registration-completion-form-pre %}
|
||||
<h2>Erstellung eines Benutzerkontos · Création d'un compte utilisateur</h2>
|
||||
<p>
|
||||
Indem Sie alle Felder in Ihrem Profil ausfüllen, sparen Sie Zeit bei der Bestellung Ihrer Dokumente.<br>
|
||||
Ihre Daten werden automatisch in die Bestellformulare übernommen.
|
||||
</p>
|
||||
<p>
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents.<br>
|
||||
Vos données seront reprises automatiquement dans les formulaires de commandes.
|
||||
</p>
|
||||
{% block registration-completion-form-pre %}
|
||||
<h2>Erstellung eines Benutzerkontos · Création d'un compte utilisateur</h2>
|
||||
<p>
|
||||
Indem Sie alle Felder in Ihrem Profil ausfüllen, sparen Sie Zeit bei der Bestellung Ihrer Dokumente.<br>
|
||||
Ihre Daten werden automatisch in die Bestellformulare übernommen.
|
||||
</p>
|
||||
<p>
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents.<br>
|
||||
Vos données seront reprises automatiquement dans les formulaires de commandes.
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
<form method="post" class="a2-registration-completion-form pk-mark-optional-fields">
|
||||
{% block registration-completion-form-top %}{% endblock %}
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<p>
|
||||
<input type="checkbox" id="cgu-checkbox" name="cgu" style="width: auto;" />
|
||||
Ich akzeptiere die <a target="_new" href="https://www.eupen.be/datenschutzerklaerung/">Nutzungsbedingungen des
|
||||
Online-Schalters der Stadt Eupen</a> · J'accepte les <a target="_new"
|
||||
href="https://www.eupen.be/datenschutzerklaerung/">conditions d'utilisation de
|
||||
l'e-guichet de la Ville d'Eupen</a>.
|
||||
</p>
|
||||
<button class="submit-button">{% trans 'Submit' %}</button>
|
||||
{% block registration-completion-form-bottom %}{% endblock %}
|
||||
{% csrf_token %}
|
||||
</form>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cgu-checkbox').on('change', function () {
|
||||
$('input[type=submit]').prop('disabled', !$(this).prop('checked'));
|
||||
{% endblock %}
|
||||
<form method="post" class="a2-registration-completion-form pk-mark-optional-fields">
|
||||
{% block registration-completion-form-top %}{% endblock %}
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<p>
|
||||
<input type="checkbox" id="cgu-checkbox" name="cgu" style="width: auto;" />
|
||||
Ich akzeptiere die <a target="_new" href="https://www.eupen.be/datenschutzerklaerung/">Nutzungsbedingungen des
|
||||
Online-Schalters der Stadt Eupen</a> · J'accepte les <a target="_new"
|
||||
href="https://www.eupen.be/datenschutzerklaerung/">conditions d'utilisation de
|
||||
l'e-guichet de la Ville d'Eupen</a>.
|
||||
</p>
|
||||
<button class="submit-button">{% trans 'Submit' %}</button>
|
||||
{% block registration-completion-form-bottom %}{% endblock %}
|
||||
{% csrf_token %}
|
||||
</form>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cgu-checkbox').on('change', function () {
|
||||
$('input[type=submit]').prop('disabled', !$(this).prop('checked'));
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% block registration-completion-form-post %}{% endblock %}
|
||||
</script>
|
||||
{% block registration-completion-form-post %}{% endblock %}
|
||||
|
||||
{% endblock %}
|
|
@ -2,20 +2,20 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
Erstellen Sie ein Benutzerkonto · Créer un compte
|
||||
Erstellen Sie ein Benutzerkonto · Créer un compte
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Um Ihr Benutzerkonto anzulegen, geben Sie bitte hier Ihre E-Mail-Adresse ein.
|
||||
</p>
|
||||
<p>
|
||||
Pour créer votre compte, merci d'indiquer ici votre adresse e-mail.
|
||||
</p>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="Absenden · Envoyer" />
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Um Ihr Benutzerkonto anzulegen, geben Sie bitte hier Ihre E-Mail-Adresse ein.
|
||||
</p>
|
||||
<p>
|
||||
Pour créer votre compte, merci d'indiquer ici votre adresse e-mail.
|
||||
</p>
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="Absenden · Envoyer" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
{% load i18n %}
|
||||
{% block cell-content %}
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li><a class="lingo_item" width="40%" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">{{ item.subject }}</a><p class="lingo_item_price">{{ item.amount }} €</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">({% trans 'remove' %})</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="{% trans "Pay" %}" />
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li><a class="lingo_item" width="40%" {% if item.source_url %}href="{{ item.source_url }}{% endif %}">{{ item.subject }}</a><p class="lingo_item_price">{{ item.amount }} €</p>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="lingo_cancelable" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">({% trans 'remove' %})</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="{% trans "Pay" %}" />
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
{% load i18n %}
|
||||
{% if regies %}
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
{% if regies|length != 1 %}<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />{% endif %}
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li><label><input style="display: none;" type="checkbox" name="item" value="{{ item.id }}" checked/></label>
|
||||
<a
|
||||
{% if item.text in 'Postage' %}
|
||||
class="label-postage"
|
||||
{%else %}
|
||||
class="label-item"
|
||||
{% endif %}
|
||||
href="{{ item.source_url }}">{{ item.subject }}</a> <span class="amount-item">{{ item.amount }} €</span>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="remove-item" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">{% trans 'remove' %}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
<h2>{% trans "Basket" %}</h2>
|
||||
{% for regie_info in regies %}
|
||||
{% if regies|length != 1 %}<h3 class="regie-name">{{regie_info.regie.label}}</h3>{% endif %}
|
||||
<form action="{% url 'lingo-pay' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
|
||||
{% if regies|length != 1 %}<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />{% endif %}
|
||||
<ul>
|
||||
{% for item in regie_info.items %}
|
||||
<li><label><input style="display: none;" type="checkbox" name="item" value="{{ item.id }}" checked/></label>
|
||||
<a
|
||||
{% if item.text in 'Postage' %}
|
||||
class="label-postage"
|
||||
{%else %}
|
||||
class="label-item"
|
||||
{% endif %}
|
||||
href="{{ item.source_url }}">{{ item.subject }}</a> <span class="amount-item">{{ item.amount }} €</span>
|
||||
{% if item.user_cancellable %}
|
||||
<a class="remove-item" rel="popup" href="{% url 'lingo-cancel-item' pk=item.id %}">{% trans 'remove' %}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="Payer votre commande"/>
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
<!--input type="submit" value="{% trans "Pay" %}"/-->
|
||||
</form>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
|
||||
</ul>
|
||||
<input id="pay" type="submit" value="Payer votre commande"/>
|
||||
<a href="{{portal_url}}demarches" id="new-command">Commander un autre document</a>
|
||||
<!--input type="submit" value="{% trans "Pay" %}"/-->
|
||||
</form>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
|
@ -6,20 +6,20 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Login" %}
|
||||
{% trans "Login" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="login-page" class="clearfix">
|
||||
<div id="login-page" class="clearfix">
|
||||
<p>
|
||||
Pour accéder aux démarches sécurisées, veuillez vous connecter :
|
||||
Pour accéder aux démarches sécurisées, veuillez vous connecter :
|
||||
</p>
|
||||
<div id="Mot_de_passe">
|
||||
<h2>Connexion avec <span>identifiant</span></h2>
|
||||
{{blocks.password.content|safe}}
|
||||
<h2>Connexion avec <span>identifiant</span></h2>
|
||||
{{blocks.password.content|safe}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% load i18n %}
|
||||
<html>
|
||||
<body style="max-width: 90ex">
|
||||
<p>{% blocktrans %}{{ full_name }},{% endblocktrans %}</p>
|
||||
<p>
|
||||
Ihr Nutzungskonto auf {{ site }} wurde gelöscht.
|
||||
Alle zugehörigen Daten werden heute gelöscht.
|
||||
Sie können sich damit nicht mehr einloggen.<br>
|
||||
Votre compte utilisateur sur {{site}} a été supprimé.
|
||||
Toutes les données associées seront supprimées aujourd'hui.
|
||||
Vous ne pouvez plus vous connecter avec.
|
||||
</p>
|
||||
<p>{% blocktrans %}{{ full_name }},{% endblocktrans %}</p>
|
||||
<p>
|
||||
Ihr Nutzungskonto auf {{ site }} wurde gelöscht.
|
||||
Alle zugehörigen Daten werden heute gelöscht.
|
||||
Sie können sich damit nicht mehr einloggen.<br>
|
||||
Votre compte utilisateur sur {{site}} a été supprimé.
|
||||
Toutes les données associées seront supprimées aujourd'hui.
|
||||
Vous ne pouvez plus vous connecter avec.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,75 +3,75 @@
|
|||
{% block title %}Ihr Benutzerkonto · Gestion du compte{% endblock %}
|
||||
|
||||
{% block profile-data-title %}
|
||||
<h2>Deine Daten · Données du compte</h2>
|
||||
<h2>Deine Daten · Données du compte</h2>
|
||||
{% endblock %}
|
||||
{% block profile-data %}
|
||||
<div id="profile">
|
||||
{% if attributes %}
|
||||
{% for attribute in attributes %}
|
||||
<div class="field">
|
||||
<span class="label">{{ attribute.attribute.label|capfirst }}</span>
|
||||
<div class="value">
|
||||
{% if attribute.values|length == 0 %}<span class="nodata">(nicht spezifiziert · non spécifié)</span>
|
||||
{% elif attribute.values|length == 1 %}{{ attribute.values.0 }}{% else %}
|
||||
<ul>
|
||||
{% for value in attribute.values %}
|
||||
<li>{{ value }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="profile">
|
||||
{% if attributes %}
|
||||
{% for attribute in attributes %}
|
||||
<div class="field">
|
||||
<span class="label">{{ attribute.attribute.label|capfirst }}</span>
|
||||
<div class="value">
|
||||
{% if attribute.values|length == 0 %}<span class="nodata">(nicht spezifiziert · non spécifié)</span>
|
||||
{% elif attribute.values|length == 1 %}{{ attribute.values.0 }}{% else %}
|
||||
<ul>
|
||||
{% for value in attribute.values %}
|
||||
<li>{{ value }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if LAST_LOGIN %}
|
||||
<div class="field">
|
||||
<span class="label">Letzte Verbindung · Dernière connexion</span>
|
||||
<span class="value">{{ LAST_LOGIN }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if LAST_LOGIN %}
|
||||
<div class="field">
|
||||
<span class="label">Letzte Verbindung · Dernière connexion</span>
|
||||
<span class="value">{{ LAST_LOGIN }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block account-management-title %}
|
||||
<h2>Verwalten Ihres Benutzerkontos · Gestion du compte</h2>
|
||||
<h2>Verwalten Ihres Benutzerkontos · Gestion du compte</h2>
|
||||
{% endblock %}
|
||||
{% block account-management-actions %}
|
||||
<ul class="account-management">
|
||||
{% block account-management-top-actions %}
|
||||
{% endblock %}
|
||||
{% if allow_email_change %}
|
||||
<li class="email-change"><a href="{% url 'email-change' %}">Zugehörige E-Mail bearbeiten · Modifier le courriel
|
||||
associé</a></li>
|
||||
{% endif %}
|
||||
{% if user.can_change_password %}
|
||||
{% if user.has_usable_password %}
|
||||
<li><a href="{% url 'password_change' %}">Passwort ändern · Modifier le mot de passe</a></li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'password_change' %}">Benutzer Passwort festlegen · Définir un mot de passe</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if profile_edit_url %}
|
||||
<li class="profile-edit"><a href="{{ profile_edit_url }}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% elif allow_profile_edit %}
|
||||
<li class="profile-edit"><a href="{% url 'profile_edit' %}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% endif %}
|
||||
{% if allow_authorization_management %}
|
||||
<li><a href="{% url 'authorized-oauth-services' %}">Zugriffsberechtigungen verwalten · Gérer les autorisations
|
||||
d’accès</a></li>
|
||||
{% endif %}
|
||||
{% if allow_account_deletion %}
|
||||
<li class="account-delete"><a href="{% url 'delete_account' %}">Benutzerkonto löschen · Supprimer le compte</a></li>
|
||||
{% endif %}
|
||||
{% block account-management-bottom-actions %}
|
||||
{% endblock %}
|
||||
</ul>
|
||||
<ul class="account-management">
|
||||
{% block account-management-top-actions %}
|
||||
{% endblock %}
|
||||
{% if allow_email_change %}
|
||||
<li class="email-change"><a href="{% url 'email-change' %}">Zugehörige E-Mail bearbeiten · Modifier le courriel
|
||||
associé</a></li>
|
||||
{% endif %}
|
||||
{% if user.can_change_password %}
|
||||
{% if user.has_usable_password %}
|
||||
<li><a href="{% url 'password_change' %}">Passwort ändern · Modifier le mot de passe</a></li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'password_change' %}">Benutzer Passwort festlegen · Définir un mot de passe</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if profile_edit_url %}
|
||||
<li class="profile-edit"><a href="{{ profile_edit_url }}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% elif allow_profile_edit %}
|
||||
<li class="profile-edit"><a href="{% url 'profile_edit' %}">Benutzerkontodaten ändern · Modifier les données du
|
||||
compte</a></li>
|
||||
{% endif %}
|
||||
{% if allow_authorization_management %}
|
||||
<li><a href="{% url 'authorized-oauth-services' %}">Zugriffsberechtigungen verwalten · Gérer les autorisations
|
||||
d’accès</a></li>
|
||||
{% endif %}
|
||||
{% if allow_account_deletion %}
|
||||
<li class="account-delete"><a href="{% url 'delete_account' %}">Benutzerkonto löschen · Supprimer le compte</a></li>
|
||||
{% endif %}
|
||||
{% block account-management-bottom-actions %}
|
||||
{% endblock %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{{ block.super }}
|
||||
<div style="margin-top: 10px;">
|
||||
Um die im Konto nicht angegebenen Felder auszufüllen, klicken Sie auf diesen Link : "<a
|
||||
href="{% url 'profile_edit' %}">Benutzerkontodaten ändern</a>".
|
||||
</div>
|
||||
{{ block.super }}
|
||||
<div style="margin-top: 10px;">
|
||||
Um die im Konto nicht angegebenen Felder auszufüllen, klicken Sie auf diesen Link : "<a
|
||||
href="{% url 'profile_edit' %}">Benutzerkontodaten ändern</a>".
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -2,31 +2,31 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block page-title %}
|
||||
{{ block.super }} - {{ view.title }}
|
||||
{{ block.super }} - {{ view.title }}
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
{{ block.super }}
|
||||
<a href="{% url " account_management" %}">{% trans "Your account" %}</a>
|
||||
<a href="#">{{ view.title }}</a>
|
||||
{{ block.super }}
|
||||
<a href="{% url " account_management" %}">{% trans "Your account" %}</a>
|
||||
<a href="#">{{ view.title }}</a>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Möchten Sie Ihr Benutzerkonto wirklich löschen? · Voulez-vous vraiment supprimer votre compte utilisateur ?
|
||||
</p>
|
||||
<p>
|
||||
Eine Bestätigungsnachricht wird an {{email}} gesendet. <br>
|
||||
Sie müssen die besuchen Link in dieser E-Mail, um den Löschvorgang abzuschließen.
|
||||
</p>
|
||||
<p>
|
||||
Un message de validation sera envoyé à {{ email }}. <br>
|
||||
Vous devrez visiter le lien dans cet e-mail afin de terminer le processus de suppression.
|
||||
</p>
|
||||
<button class="submit-button" name="submit">{% trans "Send the code" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Möchten Sie Ihr Benutzerkonto wirklich löschen? · Voulez-vous vraiment supprimer votre compte utilisateur ?
|
||||
</p>
|
||||
<p>
|
||||
Eine Bestätigungsnachricht wird an {{email}} gesendet. <br>
|
||||
Sie müssen die besuchen Link in dieser E-Mail, um den Löschvorgang abzuschließen.
|
||||
</p>
|
||||
<p>
|
||||
Un message de validation sera envoyé à {{ email }}. <br>
|
||||
Vous devrez visiter le lien dans cet e-mail afin de terminer le processus de suppression.
|
||||
</p>
|
||||
<button class="submit-button" name="submit">{% trans "Send the code" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
|
@ -13,17 +13,17 @@
|
|||
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Vous êtes sur le point de supprimer le compte de <strong>{{ user.get_full_name }}</strong>.<br>
|
||||
Cela supprimera toutes les données personnelles associées et vous ne pourrez plus vous connecter avec ce compte.
|
||||
</p>
|
||||
<p>
|
||||
Sie sind im Begriff, das Benutzerkonto von <strong>{{ user.get_full_name }}</strong> zu löschen.<br>
|
||||
Dadurch werden alle zugehörigen personenbezogenen Daten entfernt und Sie können sich nicht mehr mit diesem Benutzerkonto anmelden.
|
||||
</p>
|
||||
<button class="delete-button" name="delete">{% trans "Confirm deletion" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
Vous êtes sur le point de supprimer le compte de <strong>{{ user.get_full_name }}</strong>.<br>
|
||||
Cela supprimera toutes les données personnelles associées et vous ne pourrez plus vous connecter avec ce compte.
|
||||
</p>
|
||||
<p>
|
||||
Sie sind im Begriff, das Benutzerkonto von <strong>{{ user.get_full_name }}</strong> zu löschen.<br>
|
||||
Dadurch werden alle zugehörigen personenbezogenen Daten entfernt und Sie können sich nicht mehr mit diesem Benutzerkonto anmelden.
|
||||
</p>
|
||||
<button class="delete-button" name="delete">{% trans "Confirm deletion" %}</button>
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -14,23 +14,23 @@
|
|||
{% block content %}
|
||||
<div id="header-text">
|
||||
<p>
|
||||
Sparen Sie Zeit bei der Bestellung Ihrer Dokumente, indem Sie alle Felder ausfüllen.<br>
|
||||
Ihre Daten werden automatisch in die Formulare übernommen von Bestellungen.
|
||||
Sparen Sie Zeit bei der Bestellung Ihrer Dokumente, indem Sie alle Felder ausfüllen.<br>
|
||||
Ihre Daten werden automatisch in die Formulare übernommen von Bestellungen.
|
||||
</p>
|
||||
<p>
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents.<br>
|
||||
Vos données seront reprises automatiquement dans les formulaires de commandes.
|
||||
En complétant tous les champs de votre profil, gagnez du temps dans la commande de vos documents.<br>
|
||||
Vos données seront reprises automatiquement dans les formulaires de commandes.
|
||||
</p>
|
||||
{% if object.has_verified_attributes %}
|
||||
<p>
|
||||
Wenn eine oder mehrere Informationen in Ihrem Benutzerkonto falsch sind,
|
||||
{% if object.has_verified_attributes %}
|
||||
<p>
|
||||
Wenn eine oder mehrere Informationen in Ihrem Benutzerkonto falsch sind,
|
||||
gehen Sie bitte zum örtlichen Rathaus, um es zu aktualisieren die im Nationalregister enthaltenen Informationen.
|
||||
</p>
|
||||
<p>
|
||||
Si une ou plusieurs informations de votre profil sont incorrectes,
|
||||
merci de vous présenter en mairie de quartier afin d'actualiser les informations reprises au Registre national.
|
||||
</p>
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
Si une ou plusieurs informations de votre profil sont incorrectes,
|
||||
merci de vous présenter en mairie de quartier afin d'actualiser les informations reprises au Registre national.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
{{ block.super }}
|
||||
<a href="..">Ihr Benutzerkonto · Votre compte</a>
|
||||
<a href="">{{ view.title }}</a>
|
||||
{{ block.super }}
|
||||
<a href="..">Ihr Benutzerkonto · Votre compte</a>
|
||||
<a href="">{{ view.title }}</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
Ihre aktuelle E-Mail-Adresse lautet {{ user.email }}. Eine E-Mail wird gesendet, um die neue zu bestätigen. <br>
|
||||
Votre adresse e-mail actuelle est {{ user.email }}. Un email sera envoyé pour confirmer le nouveau.
|
||||
Ihre aktuelle E-Mail-Adresse lautet {{ user.email }}. Eine E-Mail wird gesendet, um die neue zu bestätigen. <br>
|
||||
Votre adresse e-mail actuelle est {{ user.email }}. Un email sera envoyé pour confirmer le nouveau.
|
||||
</p>
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
</div>
|
||||
{% if only_info %}
|
||||
<script>
|
||||
window.setTimeout(function () {
|
||||
document.getElementById('a2-continue').click();
|
||||
}, 3000);
|
||||
window.setTimeout(function () {
|
||||
document.getElementById('a2-continue').click();
|
||||
}, 3000);
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -14,32 +14,32 @@
|
|||
{% block content %}
|
||||
{% if authorized_services %}
|
||||
<div id="login-actions">
|
||||
<h2>{% trans "Services" %}</h2>
|
||||
<ul>
|
||||
{% for service in authorized_services %}
|
||||
{% if service.actions %}
|
||||
<li>{% if service.url %}<a href="{{ service.url }}">{% endif %}{{ service.name }}{% if service.url %}</a>{% endif %}
|
||||
<div class="actions">
|
||||
{% for action in service.actions %}
|
||||
{% if action.0 == "template" %}
|
||||
{% include action.1 %}
|
||||
{% else %}
|
||||
<form action="{{ action.2 }}" method="{{ action.1 }}">
|
||||
{% if action.3 %}
|
||||
{% for key, value in action.3 %}
|
||||
<input type="hidden" name="{{ key }}" value="{{ value }}" />
|
||||
{% endfor %}
|
||||
<h2>{% trans "Services" %}</h2>
|
||||
<ul>
|
||||
{% for service in authorized_services %}
|
||||
{% if service.actions %}
|
||||
<li>{% if service.url %}<a href="{{ service.url }}">{% endif %}{{ service.name }}{% if service.url %}</a>{% endif %}
|
||||
<div class="actions">
|
||||
{% for action in service.actions %}
|
||||
{% if action.0 == "template" %}
|
||||
{% include action.1 %}
|
||||
{% else %}
|
||||
<form action="{{ action.2 }}" method="{{ action.1 }}">
|
||||
{% if action.3 %}
|
||||
{% for key, value in action.3 %}
|
||||
<input type="hidden" name="{{ key }}" value="{{ value }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<input type="hidden" name="next" value="/"/>
|
||||
<button class="submit-link">{{ action.0 }}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
<input type="hidden" name="next" value="/"/>
|
||||
<button class="submit-link">{{ action.0 }}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
{% extends "authentic2/login.html" %}
|
||||
|
||||
{% block login-pre %}
|
||||
<div class="login-intro">
|
||||
<p>Um auf gesicherte Vorgänge zuzugreifen, bitte anmelden · Pour accéder aux démarches sécurisées, veuillez vous connecter :</p>
|
||||
</div>
|
||||
<div class="login-intro">
|
||||
<p>Um auf gesicherte Vorgänge zuzugreifen, bitte anmelden · Pour accéder aux démarches sécurisées, veuillez vous connecter :</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block login-blocks %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}" style="min-height: 400px;">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Anmeldung · Connexion</h2>
|
||||
{% elif id == "password" %}
|
||||
<h2>Anmeldung mit Anmeldeinformationen · Connexion avec identifiants</h2>
|
||||
{% elif id == "fedict" %}
|
||||
<h2>Anmeldung mit eID oder itsme · Connexion eID ou itsme</h2>
|
||||
{% else %}
|
||||
<!-- no title for oidc -->
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}" style="min-height: 400px;">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Anmeldung · Connexion</h2>
|
||||
{% elif id == "password" %}
|
||||
<h2>Anmeldung mit Anmeldeinformationen · Connexion avec identifiants</h2>
|
||||
{% elif id == "fedict" %}
|
||||
<h2>Anmeldung mit eID oder itsme · Connexion eID ou itsme</h2>
|
||||
{% else %}
|
||||
<!-- no title for oidc -->
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,42 +2,42 @@
|
|||
|
||||
{% block login %}
|
||||
|
||||
{% block form %}
|
||||
<div>
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
{% block form %}
|
||||
<div>
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
{% block buttons %}
|
||||
<button class="submit-button" name="{{ submit_name }}">Einloggen · Connexion</button>
|
||||
{% if cancel %}
|
||||
<button class="cancel-button" name="cancel" formnovalidate>Stornieren · Annuler</button>
|
||||
{% endif %}
|
||||
<button class="submit-button" name="{{ submit_name }}">Einloggen · Connexion</button>
|
||||
{% if cancel %}
|
||||
<button class="cancel-button" name="cancel" formnovalidate>Stornieren · Annuler</button>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</form>
|
||||
{{ form.media }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</form>
|
||||
{{ form.media }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block actions %}
|
||||
{% if can_reset_password or registration_authorized %}
|
||||
<div class="login-actions">
|
||||
<ul>
|
||||
{% if can_reset_password %}
|
||||
<li>
|
||||
<p>→ <a
|
||||
href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Passwort
|
||||
verloren? Fordern Sie ein neues an! · Mot de passe oublié? Demandez un nouveau!</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if registration_authorized %}
|
||||
<li>
|
||||
<p>→ <a href="{{ registration_url }}">Sie haben kein Benutzerkonto? Hier registrieren · Vous n'avez pas de
|
||||
compte utilisateur ? Inscrivez-vous ici</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block actions %}
|
||||
{% if can_reset_password or registration_authorized %}
|
||||
<div class="login-actions">
|
||||
<ul>
|
||||
{% if can_reset_password %}
|
||||
<li>
|
||||
<p>→ <a
|
||||
href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Passwort
|
||||
verloren? Fordern Sie ein neues an! · Mot de passe oublié? Demandez un nouveau!</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if registration_authorized %}
|
||||
<li>
|
||||
<p>→ <a href="{{ registration_url }}">Sie haben kein Benutzerkonto? Hier registrieren · Vous n'avez pas de
|
||||
compte utilisateur ? Inscrivez-vous ici</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
|
@ -1,17 +1,17 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% if can_change_password %}
|
||||
<h4>Passwort · Mot de passe</h4>
|
||||
<h4>Passwort · Mot de passe</h4>
|
||||
|
||||
<div>
|
||||
<p>
|
||||
<a href="{% url 'password_change' %}">
|
||||
{% if has_usable_password %}
|
||||
Ändern Sie Ihr Passwort · Change your password
|
||||
{% else %}
|
||||
Lege ein Passwort fest · Définir un mot de passe
|
||||
{% endif %}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<p>
|
||||
<a href="{% url 'password_change' %}">
|
||||
{% if has_usable_password %}
|
||||
Ändern Sie Ihr Passwort · Change your password
|
||||
{% else %}
|
||||
Lege ein Passwort fest · Définir un mot de passe
|
||||
{% endif %}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% load i18n gadjo %}
|
||||
|
||||
{% block registration %}
|
||||
<form enctype="multipart/form-data" method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<button class="submit-button">Absenden · Envoyer</button>
|
||||
</form>
|
||||
<form enctype="multipart/form-data" method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<button class="submit-button">Absenden · Envoyer</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
{% block content %}
|
||||
<h2>{% trans message %}</h2>
|
||||
<ul class="logout-list">
|
||||
{% for fragment in logout_list %}
|
||||
{{ fragment|safe }}
|
||||
{% endfor %}
|
||||
{% for fragment in logout_list %}
|
||||
{{ fragment|safe }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<div id="continue-link">
|
||||
|
|
|
@ -2,18 +2,18 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>Hallo · Bonjour,</p>
|
||||
<p>Hallo · Bonjour,</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Sie haben die Zurücksetzung Ihres Passworts auf {{ request.get_host }} angefordert, aber es wurde kein Konto gefunden, das dieser Adresse zugeordnet ist.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Vous avez demandé la réinitialisation de votre mot de passe sur {{ request.get_host }}, mais aucun compte n'a été trouvé associé à cette adresse.
|
||||
</p>
|
||||
{% if registration_url %}
|
||||
{% with "Erstellen Sie ein Benutzerkonto · Créer un compte" as button_label %}
|
||||
{% include "emails/button-link.html" with url=registration_url label=button_label %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if registration_url %}
|
||||
{% with "Erstellen Sie ein Benutzerkonto · Créer un compte" as button_label %}
|
||||
{% include "emails/button-link.html" with url=registration_url label=button_label %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>Hallo · Bonjour,</p>
|
||||
<p>Hallo · Bonjour,</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Vous avez demandé la réinitialisation de votre mot de passe sur {{ request.get_host }}. <br>
|
||||
Malheureusement, votre compte a été désactivé sur ce serveur, votre demande ne peut donc pas aboutir.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Sie haben beantragt, Ihr Passwort auf {{request.get_host}} zurückzusetzen.<br>
|
||||
Leider wurde Ihr Konto auf diesem Server deaktiviert, sodass Ihre Anfrage nicht abgeschlossen werden kann.
|
||||
</p>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% if widget.is_initial %}{{ widget.initial_text }}: <a href="{{ widget.value.url }}"><img src="{{ widget.value.url }}"/></a>{% if not widget.required %}
|
||||
<input type="checkbox" name="{{ widget.checkbox_name }}" id="{{ widget.checkbox_id }}" />
|
||||
<label for="{{ widget.checkbox_id }}">{{ widget.clear_checkbox_label }}</label>{% endif %}<br />
|
||||
{{ widget.input_text }}:{% endif %}
|
||||
<input type="checkbox" name="{{ widget.checkbox_name }}" id="{{ widget.checkbox_id }}" />
|
||||
<label for="{{ widget.checkbox_id }}">{{ widget.clear_checkbox_label }}</label>{% endif %}<br />
|
||||
{{ widget.input_text }}:{% endif %}
|
||||
<input type="{{ widget.type }}" name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %} />
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
{% load i18n %}
|
||||
<html>
|
||||
<body style="max-width: 90ex">
|
||||
<p> Hi {{ user.get_full_name }}!</p>
|
||||
<p>
|
||||
Ihre Registrierung auf {{site}} war erfolgreich ! · Votre inscription sur {{site}} a réussi !
|
||||
</p>
|
||||
<p> Hi {{ user.get_full_name }}!</p>
|
||||
<p>
|
||||
Ihre Registrierung auf {{site}} war erfolgreich ! · Votre inscription sur {{site}} a réussi !
|
||||
</p>
|
||||
|
||||
<p><a href="{{ login_url }}">Einloggen · Se connecter</a></p>
|
||||
<p><a href="{{ login_url }}">Einloggen · Se connecter</a></p>
|
||||
<ul>
|
||||
{% if user.username %}
|
||||
<li>Nutzername · Nom d'utilisateur : {{ user.username }}</li>
|
||||
{% endif %}
|
||||
<li>E-mail : {{ user.email }}</li>
|
||||
{% if user.first_name %}
|
||||
<li>Vorname · Prénom : {{ user.first_name }}</li>
|
||||
{% endif %}
|
||||
{% if user.last_name %}
|
||||
<li>Nachname · Nom : {{ user.last_name }}</li>
|
||||
{% endif %}
|
||||
{% if user.username %}
|
||||
<li>Nutzername · Nom d'utilisateur : {{ user.username }}</li>
|
||||
{% endif %}
|
||||
<li>E-mail : {{ user.email }}</li>
|
||||
{% if user.first_name %}
|
||||
<li>Vorname · Prénom : {{ user.first_name }}</li>
|
||||
{% endif %}
|
||||
{% if user.last_name %}
|
||||
<li>Nachname · Nom : {{ user.last_name }}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
{% load i18n gadjo %}
|
||||
|
||||
{% block page-title %}
|
||||
{{ block.super }} - {% trans "Access denied" %}
|
||||
{{ block.super }} - {% trans "Access denied" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% trans "You are not authorized to access this service, please contact your administrator." %} <a href="{{callback_url}}">{% trans "Back" %}</a>
|
||||
{% trans "You are not authorized to access this service, please contact your administrator." %} <a href="{{callback_url}}">{% trans "Back" %}</a>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% load i18n static %}
|
||||
<div>
|
||||
<form method="post" id="csam-login">
|
||||
<p>
|
||||
<p>
|
||||
{% if itsme %}
|
||||
<img src="{% static "/img/eid_itsme.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID ou itsme" style="cursor: pointer;" />
|
||||
<img src="{% static "/img/eid_itsme.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID ou itsme" style="cursor: pointer;" />
|
||||
{% else %}
|
||||
<img src="{% static "/img/eid.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID" style="cursor: pointer;" />
|
||||
<img src="{% static "/img/eid.png" %}" alt="Bild, das die Anmeldemethode mit eID oder itsme zeigt · Image illustrant la méthode de connexion eID" style="cursor: pointer;" />
|
||||
{% endif %}
|
||||
</p>
|
||||
<input type="submit" name="{{ submit_name }}" value="Einloggen · Connexion"/>
|
||||
</p>
|
||||
<input type="submit" name="{{ submit_name }}" value="Einloggen · Connexion"/>
|
||||
</form>
|
||||
<script>
|
||||
$(function() {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
{% block cell-content %}
|
||||
|
||||
|
||||
<h2>{% trans "Profile" %}</h2>
|
||||
<div class="profile">
|
||||
<h2>{% trans "Profile" %}</h2>
|
||||
<div class="profile">
|
||||
<p class="edit-link"><a class="pk-button" href="{{idp_url}}accounts/">Mein Profil verwalten · Gérer mon profil</a></p>
|
||||
{% for key, details in profile_fields.items %}
|
||||
{% if details.value and details.user_visible %}
|
||||
|
@ -12,8 +12,8 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if error == 'unknown user' %}
|
||||
<p>{% trans 'Unknown User' %}</p>
|
||||
<p>{% trans 'Unknown User' %}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
|
@ -1,24 +1,24 @@
|
|||
{% load i18n %}
|
||||
{% block cell-content %}
|
||||
<h2>Entwürfe in Arbeit · Brouillons en cours</h2>
|
||||
{% if drafts %}
|
||||
{% for slug, forms in current_drafts.items %}
|
||||
<div class="links-list current-drafts-{{ slug }} current-drafts list-of-forms">
|
||||
{% if forms.data %}
|
||||
<ul>
|
||||
{% for data in forms.data %}
|
||||
{% if data.url and data.title and not data.form_status_is_endpoint %}
|
||||
<li class="{{data.status_css_class}} {% if data.form_status_is_endpoint %}done{% endif %}"><a
|
||||
href="{{ data.url }}"><span class="form-title">{{ data.name }}</span>
|
||||
<span class="form-number">{{data.datetime|strptime:"%Y-%m-%d %H:%M:%S"}}</span>
|
||||
<span class="form-status">{% trans 'draft' %}</span></a></li>
|
||||
{% endif %}
|
||||
<h2>Entwürfe in Arbeit · Brouillons en cours</h2>
|
||||
{% if drafts %}
|
||||
{% for slug, forms in current_drafts.items %}
|
||||
<div class="links-list current-drafts-{{ slug }} current-drafts list-of-forms">
|
||||
{% if forms.data %}
|
||||
<ul>
|
||||
{% for data in forms.data %}
|
||||
{% if data.url and data.title and not data.form_status_is_endpoint %}
|
||||
<li class="{{data.status_css_class}} {% if data.form_status_is_endpoint %}done{% endif %}"><a
|
||||
href="{{ data.url }}"><span class="form-title">{{ data.name }}</span>
|
||||
<span class="form-number">{{data.datetime|strptime:"%Y-%m-%d %H:%M:%S"}}</span>
|
||||
<span class="form-status">{% trans 'draft' %}</span></a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% include "combo/pagination.html" %}
|
||||
{% else %}
|
||||
<div class="cell--body"><p class="empty-message">{% trans "There are no current drafts." %}</p></div>{% endif %}
|
||||
{% include "combo/pagination.html" %}
|
||||
{% else %}
|
||||
<div class="cell--body"><p class="empty-message">{% trans "There are no current drafts." %}</p></div>{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue