initial commit
|
@ -0,0 +1,38 @@
|
|||
VERSION=`git describe | sed 's/^v//; s/-/./g' `
|
||||
NAME="cud-themes"
|
||||
|
||||
prefix = /usr
|
||||
|
||||
all:
|
||||
@(echo "Nothing to build. Please use make install.")
|
||||
|
||||
clean:
|
||||
rm -rf build sdist
|
||||
|
||||
build: clean
|
||||
mkdir -p build/$(NAME)-$(VERSION)
|
||||
for i in *; do \
|
||||
if [ "$$i" != "build" ]; then \
|
||||
cp -R "$$i" build/$(NAME)-$(VERSION); \
|
||||
fi; \
|
||||
done
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(prefix)/share/authentic2/cud
|
||||
mkdir -p $(DESTDIR)$(prefix)/share/portail-citoyen2/cud
|
||||
cp -r idp/* $(DESTDIR)$(prefix)/share/authentic2/cud
|
||||
cp -r portail-citoyen/* $(DESTDIR)$(prefix)/share/portail-citoyen2/cud
|
||||
|
||||
dist-bzip2: build
|
||||
mkdir sdist
|
||||
cd build && tar cfj ../sdist/$(NAME)-$(VERSION).tar.bz2 .
|
||||
|
||||
version:
|
||||
@(echo $(VERSION))
|
||||
|
||||
name:
|
||||
@(echo $(NAME))
|
||||
|
||||
fullname:
|
||||
@(echo $(NAME)-$(VERSION))
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Log in" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="tabs">
|
||||
{% for name, content in methods %}
|
||||
<div id="tabs-{{ forloop.counter }}" class="login">
|
||||
<h1>{% trans "Login" %}</h1>
|
||||
{{ content|safe }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$( "#tabs" ).tabs({cookie: {path: '/'}});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery.cookie.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery-ui.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery.simplemodal.js"></script>
|
||||
{% endblock %}
|
|
@ -0,0 +1,20 @@
|
|||
{% load i18n %}
|
||||
<div>
|
||||
<form method="post" action="">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" name="{{ submit_name }}" value="{% trans "Log in" %}"/>
|
||||
{% if cancel %}
|
||||
<input type="submit" name="cancel" value="{% trans 'Cancel' %}"/>
|
||||
{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="login-actions">
|
||||
{% if can_reset_password %}
|
||||
<p>→ {% trans "Forgot password?" %} <a href="{% url 'auth_password_reset' %}">{% trans "Reset it!" %}</a></p>
|
||||
{% endif %}
|
||||
{% if registration_authorized %}
|
||||
<p>→ {% trans "Not a member?" %} <a href="{% url 'registration_register' %}">{% trans "Register!" %}</a></p>
|
||||
{% endif %}
|
||||
</div>
|
|
@ -0,0 +1,11 @@
|
|||
{% load i18n %}
|
||||
<h4>{% trans "Password" %}</h4>
|
||||
|
||||
<div>
|
||||
{% if user.has_usable_password %}
|
||||
<p><a href="{% url 'auth_password_change' %}">{% trans "Change password" %}</a></p>
|
||||
{% else %}
|
||||
{% comment %} <p><a href="{% url 'authopenid_password_change' %}">{% trans "Set password" %}</a></p> {% endcomment %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
<!DOCTYPE html>
|
||||
{% load i18n staticfiles %}
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="content-language" content="{{ LANGUAGE_CODE }}" />
|
||||
<title>{% block title %}Authentic{% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "authentic2/css/style.css" %}">
|
||||
{% block extra_scripts %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body {% block bodyargs %}{% endblock %}>
|
||||
<div id="page">
|
||||
<div id="header">
|
||||
<div id="top">
|
||||
<div id="logo">
|
||||
</div>
|
||||
<div class="region-header">
|
||||
<div id="toplinks">
|
||||
<span class="logged-in">
|
||||
{% if user.is_authenticated %}
|
||||
<p class="user fullname">
|
||||
{% blocktrans with full_name=user.get_full_name %}
|
||||
Bienvenue {{ full_name }}
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<a class="logout" href="{% url 'auth_logout' %}">{% trans "Déconnexion" %}</a>
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- header -->
|
||||
|
||||
<div id="main-content-wrapper">
|
||||
<div id="single-title">
|
||||
{% block breadcumb %}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/">accueil</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block menu %}
|
||||
{% endblock %}
|
||||
|
||||
<div id="main-content">
|
||||
<div id="content">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div> <!-- #content -->
|
||||
</div> <!-- #main-content -->
|
||||
</div> <!-- #main-content-wrapper -->
|
||||
|
||||
|
||||
<div id="bottom-content">
|
||||
{% block bottom-content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<p id="faq">
|
||||
Mentions légales - Crédits - FAQ
|
||||
</p>
|
||||
<p id="legal">© Copyright Dunkerque Grand Littoral 2013</p>
|
||||
<ul id="footer-menu">
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,39 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Authentic - Account Management" %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="account">
|
||||
<h1>{% trans "Account Management" %}</h1>
|
||||
<h3>{% trans "Profile" %}</h3>
|
||||
<div id="profile">
|
||||
{% if profile %}
|
||||
<dl>
|
||||
{% for key, values in profile %}
|
||||
<dt>{{ key|capfirst }}</dt>
|
||||
<dd>{% if values|length == 1 %}{{ values.0 }}{% else %}
|
||||
<ul>
|
||||
{% for value in values %}
|
||||
<li>{{ value }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
{% endif %}
|
||||
<p><a href="{% url 'email-change' %}">{% trans "Change email" %}</a></p>
|
||||
<p><a href="{% url 'profile_edit' %}">{% trans "Edit profile" %}</a></p>
|
||||
<p><a href="{% url 'delete_account' %}">{% trans "Delete profile" %}</a></p>
|
||||
</div>
|
||||
<h3>{% trans "Credentials" %}</h3>
|
||||
{% for html_block in frontends_block %}
|
||||
{{ html_block|safe }}
|
||||
{% endfor %}
|
||||
<p><a href="/">{% trans "Back" %}<a/></p>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,55 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Authentic" %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if account_management %}
|
||||
<div class="account">
|
||||
<p>
|
||||
<a href="{% url 'account_management' %}">{% trans "Account Management" %}</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% 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 %}
|
||||
{% endif %}
|
||||
<input type="hidden" name="next" value="/"/>
|
||||
<input type="submit" class="submit-link" value="{{ action.0 }}">
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if user.is_staff %}
|
||||
<p id="administration-link"><a href="/admin">{% trans "Administration" %}</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,41 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Logout" %}
|
||||
{% endblock %}
|
||||
{% block bodyargs %}
|
||||
onload="window.iframe_count -= 1"
|
||||
{% endblock %}
|
||||
|
||||
{% comment %}Initialize iframe coutndown {% endcomment %}
|
||||
{% block extra_scripts %}
|
||||
<script>
|
||||
window.iframe_count = 1;
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{% trans message %}</h1>
|
||||
<ul class="logout-list">
|
||||
{% for fragment in logout_list %}
|
||||
{{ fragment|safe }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<!-- Hack alert !!! block loading indefinitely by loading an inacessible IP -->
|
||||
<script>
|
||||
window.iframe_count += document.getElementsByTagName("iframe").length;
|
||||
var refresh_launched = 0;
|
||||
setInterval(function () {
|
||||
if (iframe_count == 0) {
|
||||
if (refresh_launched == 0) {
|
||||
refresh_launched = 1;
|
||||
setTimeout(function () { window.location = '{{ next_page }}' }, 300);
|
||||
}
|
||||
}
|
||||
}, {{ redir_timeout }})
|
||||
</script>
|
||||
|
||||
<div id="continue-link"><a href="{{ next_page }}">{% trans "Continue logout" %}</div>
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans "Create profile" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="login">
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
{% if form.instance and form.instance.id %}
|
||||
<input type="submit" value="{% trans "Modify" %}"/>
|
||||
{% else %}
|
||||
<input type="submit" value="{% trans "Create" %}"/>
|
||||
{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,15 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans "Email change" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="login">
|
||||
<p>{% blocktrans with email=user.email %}Your current email is {{ email }}{% endblocktrans %}</p>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="{% trans "Validate" %}"/>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,17 @@
|
|||
{% load i18n %}{% blocktrans with name=user.get_short_name site=site.name old_email=user.email %}Hi {{ name }} !
|
||||
|
||||
You asked for changing your email on {{ site }} from:
|
||||
|
||||
{{ old_email }}
|
||||
|
||||
to:
|
||||
|
||||
{{ email }}
|
||||
|
||||
To validate this change please click on the following link:
|
||||
|
||||
{{ link }}
|
||||
|
||||
--
|
||||
{{ site }}
|
||||
{% endblocktrans %}
|
|
@ -0,0 +1 @@
|
|||
{% load i18n %}{% blocktrans with site_name=site.name %}Change email on {{ site_name }}{% endblocktrans %}
|
|
@ -0,0 +1,22 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Account activation" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if account %}
|
||||
|
||||
<p>{% trans "Account successfully activated" %}</p>
|
||||
|
||||
<p><a href="{% url 'auth_login' %}">{% trans "Log in" %}</a></p>
|
||||
|
||||
{% else %}
|
||||
|
||||
<p>{% trans "Account activation failed" %}</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
{% trans "Your account is now activated" %}
|
||||
{% endblock %}
|
|
@ -0,0 +1,6 @@
|
|||
{% load i18n %}
|
||||
{% trans "Activate account at" %} {{ site.name }}:
|
||||
|
||||
http://{{ site.domain }}{% url 'registration_activate' activation_key %}
|
||||
|
||||
{% blocktrans %}Link is valid for {{ expiration_days }} days.{% endblocktrans %}
|
|
@ -0,0 +1 @@
|
|||
{% load i18n %}{% trans "Account activation on" %} {{ site.name }}
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Delete account" %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="login">
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<p>{% trans "Delete my account and all my personal datas ?" %}</p>
|
||||
<input type="submit" name="submit" value="{% trans "Yes" %}"/>
|
||||
<input type="submit" name="cancel" value="{% trans "No" %}"/>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Logging out" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "Logged out" %}</p>
|
||||
<p><a href="/">{% trans "Back" %}</a></p>
|
||||
{% endblock %}
|
|
@ -0,0 +1,10 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Changing password" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "Password changed" %}</p>
|
||||
{% endblock %}
|
|
@ -0,0 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Changing password" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="login">
|
||||
<form method="post" action=".">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Password reset successfully" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<p>{% trans "Password reset successfully" %}</p>
|
||||
|
||||
<p><a href="{% url 'auth_login' %}">{% trans "Log in" %}</a></p>
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,25 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Resetting password" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if validlink %}
|
||||
|
||||
<form method="post" action=".">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
|
||||
{% else %}
|
||||
|
||||
<p>{% trans "Password reset failed" %}</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Resetting password" %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "Email with password reset instructions has been sent." %}</p>
|
||||
{% endblock %}
|
|
@ -0,0 +1,5 @@
|
|||
{% load i18n %}
|
||||
{% blocktrans %}Reset password at {{ site_name }}{% endblocktrans %}:
|
||||
{% block reset_link %}
|
||||
{{ protocol }}://{{ domain }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}
|
||||
{% endblock %}
|
|
@ -0,0 +1,19 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Resetting password" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="login">
|
||||
<h1>{% trans "Resetting password" %}</h1>
|
||||
|
||||
<form method="post" action=".">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,10 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Registration closed" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{% trans "Registration closed" %}</h1>
|
||||
{% endblock %}
|
|
@ -0,0 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Successful registration" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "You are now registered. Activation email sent." %}</p>
|
||||
<p><a href="/">{% trans "Back" %}<a/></p>
|
||||
{% endblock %}
|
|
@ -0,0 +1,25 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Registration" %}
|
||||
{% endblock %}
|
||||
|
||||
{% load breadcrumbs %}
|
||||
{% block breadcrumbs %}
|
||||
{{ block.super }}
|
||||
{% breadcrumb_url 'Register' %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="login">
|
||||
<h1>{% trans "Registration" %}</h1>
|
||||
|
||||
<form method="post" action=".">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
After Width: | Height: | Size: 2.3 KiB |
|
@ -0,0 +1,44 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load account %}
|
||||
{% load url from future %}
|
||||
|
||||
{% block head_title %}{% trans "Sign In" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="login">
|
||||
<h1>{% trans "Sign In" %}</h1>
|
||||
{% if socialaccount.providers %}
|
||||
<p>{% blocktrans with site.name as site_name %}Please sign in with one
|
||||
of your existing third party accounts. Or, <a href="{{ signup_url }}">sign up</a>
|
||||
for a {{site_name}} account and sign in below:{% endblocktrans %}</p>
|
||||
|
||||
<div class="socialaccount_ballot">
|
||||
|
||||
<ul class="socialaccount_providers">
|
||||
{% include "socialaccount/snippets/provider_list.html" with process="login" %}
|
||||
</ul>
|
||||
|
||||
<div class="login-or">{% trans 'or' %}</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% include "socialaccount/snippets/login_extra.html" %}
|
||||
|
||||
{% else %}
|
||||
<p>{% blocktrans %}If you have not created an account yet, then please
|
||||
<a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
|
||||
<form class="login" method="POST" action="{% url 'account_login' %}">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
{% if redirect_field_value %}
|
||||
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
||||
{% endif %}
|
||||
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
||||
<button class="primaryAction" type="submit">{% trans "Sign In" %}</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,75 @@
|
|||
<!DOCTYPE html>
|
||||
{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags staticfiles i18n %}
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="content-language" content="{{ LANGUAGE_CODE }}" />
|
||||
<title>{% page_attribute "page_title" %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "portail_citoyen/css/style.css" %}">
|
||||
{% render_block "css" %}
|
||||
{% block extra_scripts %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body {% block bodyargs %}{% endblock %}>
|
||||
{% cms_toolbar %}
|
||||
<div id="page">
|
||||
<div id="header">
|
||||
<div id="top">
|
||||
<div id="logo">
|
||||
<!-- <a href="/"> -->
|
||||
<!-- <img src="{% static "portail_citoyen/img/logo.png" %}" /> -->
|
||||
<!-- </a> -->
|
||||
</div>
|
||||
<div class="region-header">
|
||||
{% if user.is_authenticated %}
|
||||
<div id="toplinks">
|
||||
<span class="logged-in">
|
||||
<p class="user fullname">
|
||||
{% blocktrans with full_name=user.get_full_name %}
|
||||
Bienvenue {{ full_name }}
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<a class="logout" href="{{ LOGOUT_URL }}">{% trans "Déconnexion" %}</a>
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- header -->
|
||||
<div id="main-content-wrapper">
|
||||
<div id="menu">
|
||||
{% block menu %}
|
||||
<ul>
|
||||
{% show_menu 0 100 %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
<div id="main-content">
|
||||
<div id="content">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div> <!-- #content -->
|
||||
</div> <!-- #main-content -->
|
||||
</div> <!-- #main-content-wrapper -->
|
||||
<div id="bottom-content">
|
||||
{% block bottom-content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p id="faq">
|
||||
Mentions légales - Crédits - FAQ
|
||||
</p>
|
||||
<p id="legal">© Copyright Dunkerque Grand Littoral 2013</p>
|
||||
<ul id="footer-menu">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% render_block "js" %}
|
||||
{% if messages %}
|
||||
<script>
|
||||
jQuery('#messages').delay(3000*(1+{{ messages|length }})).fadeOut('slow');
|
||||
</script>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags %}
|
||||
{% load menu_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div id="real-content">
|
||||
<div id="help-content">
|
||||
<h2 id="help-title">Utilisation du compte citoyen</h2>
|
||||
<div id="help-menu">
|
||||
<h3 id="help-summary-caption"><a id="help-summary-caption-link" href="/aide">Sommaire</a></h3>
|
||||
<ul id="help-menu-content">
|
||||
{% show_menu 2 3 0 1 %}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="help-text">
|
||||
<h3 id="help-page-title" class="{% page_attribute "slug" %}">{% page_attribute "page_title" %}</h3>
|
||||
{% block center %}
|
||||
{% placeholder "center" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,12 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div id="real-content">
|
||||
<div id="center">
|
||||
{% block center %}
|
||||
{% placeholder "center" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div id="real-content">
|
||||
<div id="left">
|
||||
{% block left %}
|
||||
{% placeholder "left" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="right">
|
||||
{% block right %}
|
||||
{% placeholder "right" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,20 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div id="real-content">
|
||||
<div id="top">
|
||||
{% block left %}
|
||||
{% placeholder "top" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<br style="clear"/>
|
||||
{% endblock %}
|
||||
{% block bottom-content %}
|
||||
<div id="bottom">
|
||||
{% block right %}
|
||||
{% placeholder "bottom" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,3 @@
|
|||
<div class="block">
|
||||
{{ body|safe }}
|
||||
</div>
|
|
@ -0,0 +1,11 @@
|
|||
{% load i18n %}
|
||||
<form method="post" action="." class="{% if form.non_field_errors %}form-with-errors {% endif %}">
|
||||
{% csrf_token %}
|
||||
{% include "portail_citoyen/form_fields.html" with form=form %}
|
||||
|
||||
<input type="submit" {% if submit_name %}name="{{ submit_name }}"{% endif %}
|
||||
value="{% if submit_value %}{{ submit_value }}{% else %}{% trans 'Submit' %}{% endif %}" />
|
||||
{% if not no_cancel_button %}
|
||||
<button type="button" onclick="location.href = '/'">{% trans "Back" %}</button>
|
||||
{% endif %}
|
||||
</form>
|
|
@ -0,0 +1,11 @@
|
|||
{{ form.non_field_errors }}
|
||||
{% for field in form %}
|
||||
<div id="id_{{ field.html_name }}_wrap" class="{% if field.field.required %} form-field-required{% endif %}{% if field.errors %} form-field-error{% endif %}">
|
||||
{{ field.errors }}
|
||||
<label for="id_{{ field.html_name }}">{{ field.label }} :</label>
|
||||
{{ field }}
|
||||
{% if field.help_text %}
|
||||
<p id="id_{{ field.html_name }}_help_text" class="help-text">{{ field.help_text }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
|
@ -0,0 +1,11 @@
|
|||
{% load menu_tags %}
|
||||
{% for child in children %}
|
||||
<li id="top-menu-{{ child.get_menu_title|slugify }}" class="{% if child.selected %}selected{% endif %}{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}{% if child.children %} has-children{% endif %}">
|
||||
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a>
|
||||
{% if child.children %}
|
||||
<ul>
|
||||
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
|
@ -0,0 +1,46 @@
|
|||
/**
|
||||
* theming styles
|
||||
*
|
||||
*/
|
||||
|
||||
#header {
|
||||
background: url(/static/admin_tools/images/admin-tools.png) 0 0 repeat-x;
|
||||
}
|
||||
|
||||
#header #branding h1 {
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
/* text-indent: -9999px;
|
||||
background: transparent url(../images/logo-portail-citoyen.png) 10px 5px no-repeat;
|
||||
height: 31px;
|
||||
width: 93px; */
|
||||
}
|
||||
|
||||
div.breadcrumbs {
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
border: 0;
|
||||
background-position: 0 -8px;
|
||||
border-bottom: 1px solid #ededed;
|
||||
}
|
||||
|
||||
div.breadcrumbs a {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.selector {
|
||||
width: 980px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.selector select {
|
||||
width: 470px;
|
||||
height: 17.2em;
|
||||
}
|
||||
|
||||
.selector-available, .selector-chosen {
|
||||
float: left;
|
||||
width: 470px;
|
||||
text-align: center;
|
||||
margin-bottom: 5px;
|
||||
}
|
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 13 KiB |
|
@ -0,0 +1,87 @@
|
|||
<!DOCTYPE html>
|
||||
{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags staticfiles i18n %}
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="content-language" content="{{ LANGUAGE_CODE }}" />
|
||||
<title>{% page_attribute "page_title" %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "portail_citoyen/css/style.css" %}">
|
||||
{% render_block "css" %}
|
||||
{% block extra_scripts %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body {% block bodyargs %}{% endblock %}>
|
||||
{% cms_toolbar %}
|
||||
<div id="page">
|
||||
<div id="header">
|
||||
<div id="top">
|
||||
<div id="logo">
|
||||
<!-- <a href="/"> -->
|
||||
<!-- <img src="{% static "portail_citoyen/img/logo.png" %}" /> -->
|
||||
<!-- </a> -->
|
||||
</div>
|
||||
<div class="region-header">
|
||||
{% if user.is_authenticated %}
|
||||
<div id="toplinks">
|
||||
<span class="logged-in">
|
||||
<p class="user fullname">
|
||||
{% blocktrans with full_name=user.get_full_name %}
|
||||
Bienvenue {{ full_name }}
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<a class="logout" href="{{ LOGOUT_URL }}">{% trans "Déconnexion" %}</a>
|
||||
{% user_in_group "Agglo::Téléservices::Admin" as is_eservice_admin %}
|
||||
{% user_in_group_prefix "Agglo::Téléservices::BackOffice::" as is_eservice_backoffice_user %}
|
||||
{% if is_eservice_admin %}
|
||||
<a class="restricted" href="{{ ESERVICES }}admin/">Administration</a>
|
||||
{% elif is_eservice_backoffice_user %}
|
||||
<a class="restricted" href="{{ ESERVICES }}backoffice/">Back office</a>
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- header -->
|
||||
<div id="main-content-wrapper">
|
||||
<div id="single-title">
|
||||
{% block breadcumb %}
|
||||
<ul>
|
||||
{% show_breadcrumb %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block menu %}
|
||||
<!-- <div id="nav"> -->
|
||||
<!-- <ul>{% show_menu_below_id "accueil" 0 0 100 100 "portail_citoyen/top-menu.html" %}</ul> -->
|
||||
<!-- </div> -->
|
||||
{% endblock %}
|
||||
|
||||
<div id="main-content">
|
||||
<div id="content">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div> <!-- #content -->
|
||||
</div> <!-- #main-content -->
|
||||
</div> <!-- #main-content-wrapper -->
|
||||
<div id="bottom-content">
|
||||
{% block bottom-content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p id="faq">
|
||||
Mentions légales - Crédits - FAQ
|
||||
</p>
|
||||
<p id="legal">© Copyright Dunkerque Grand Littoral 2013</p>
|
||||
<ul id="footer-menu">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% render_block "js" %}
|
||||
{% if messages %}
|
||||
<script>
|
||||
jQuery('#messages').delay(3000*(1+{{ messages|length }})).fadeOut('slow');
|
||||
</script>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|