diff --git a/authentic2/extra-static/cdg59/admon-tip.png b/authentic2/extra-static/cdg59/admon-tip.png new file mode 100644 index 0000000..a25faae Binary files /dev/null and b/authentic2/extra-static/cdg59/admon-tip.png differ diff --git a/authentic2/extra-static/cdg59/authentic.css b/authentic2/extra-static/cdg59/authentic.css new file mode 100644 index 0000000..e31a8a1 --- /dev/null +++ b/authentic2/extra-static/cdg59/authentic.css @@ -0,0 +1,147 @@ +@import url(/css/authentic-common.css); +body { + font-family: sans-serif; + margin: 0 auto; + padding: 0; + background: #eee; + color: black; + max-width: 50em; +} + +a { + color: #0072b8; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +#page { + border: 1px solid #0072b8; + border-width: 0px 2px; + background: white url(lockscreen.png) top right no-repeat; +} + +#top { + margin-top: 20px; + border-top: 2px solid #0072b8; + background: #52bce5 url(lockscreen.png) top right no-repeat; + padding-bottom: 1em; +} + +#top h1 { + margin: 1em 150px 0 10px; + text-align: right; + color: white; +} + +#content { + padding: 1em 2em 3em 2em; + position: relative; + /* background: url(lockscreen-bg.png) bottom right no-repeat; */ + background: url(path18223.png) 90% 0% no-repeat; +} + +p#breadcrumb { + margin: 0 150px 0 0; + font-size: 80%; + background: #d9dde8 url(deg.png) top right repeat-y; + padding: 0.5ex; +} + +#footer { + border-bottom: 2px solid #0072b8; + border-top: 1px solid #0072b8; + background: #28a5dc; + color: white; +} + +#footer p { + font-weight: bold; + margin: 0; + text-align: right; + font-size: smaller; + font-style: italic; + padding: 1ex 1em 2px 0; +} + + +p#forgot-password { + position: absolute; + right: 30px; + top: 60px; +} + +p#register { + position: absolute; + right: 30px; + top: 100px; +} + +p#cookies { + border: 1px solid #888; + background: #ccf url(admon-tip.png) 5px 5px no-repeat; + padding-left: 60px; + height: 60px; + line-height: 60px; +} + +ul { + list-style: circle; +} + +ul.FederationsWidget { + font-weight: bold; +} + +ul.FederationsWidget a.terminate { + font-weight: normal; + display: block; + margin-left: 5em; + margin-bottom: 1em; +} + +/* pratic stuff */ + +ul#services { + width: 65%; + float: left; +} + +p#commands { + clear: both; + border-top: 2px solid #0072b8; + padding-top: 1em; +} + +div#platform-status { + float: right; + width: 25%; + border: 2px solid #0072b8; + background: white; + background: rgba(255, 255, 255, 0.5); + -moz-border-radius: 5px; +} + +div#platform-status h3 { + background: #0072b8; + font-size: 100%; + text-align: center; + color: white; + margin: 0; +} + +div#platform-status div { + padding: 0 1ex; +} + +div#platform-status p#report-issue { + border-top: 2px solid #0072b8; + text-align: center; + margin: 0; +} + +dl.profile dd { + font-weight: bold; +} diff --git a/authentic2/extra-static/cdg59/deg.png b/authentic2/extra-static/cdg59/deg.png new file mode 100644 index 0000000..ba0c89c Binary files /dev/null and b/authentic2/extra-static/cdg59/deg.png differ diff --git a/authentic2/extra-static/cdg59/desc.xml b/authentic2/extra-static/cdg59/desc.xml new file mode 100644 index 0000000..f5be926 --- /dev/null +++ b/authentic2/extra-static/cdg59/desc.xml @@ -0,0 +1,6 @@ + + + + Pr@tic Theme + Frederic Peters & artists + diff --git a/authentic2/extra-static/cdg59/lock.svg b/authentic2/extra-static/cdg59/lock.svg new file mode 100644 index 0000000..8ec5f28 --- /dev/null +++ b/authentic2/extra-static/cdg59/lock.svg @@ -0,0 +1,674 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/authentic2/extra-static/cdg59/lockscreen-bg.png b/authentic2/extra-static/cdg59/lockscreen-bg.png new file mode 100644 index 0000000..a7758c9 Binary files /dev/null and b/authentic2/extra-static/cdg59/lockscreen-bg.png differ diff --git a/authentic2/extra-static/cdg59/lockscreen.png b/authentic2/extra-static/cdg59/lockscreen.png new file mode 100644 index 0000000..7e0a9dc Binary files /dev/null and b/authentic2/extra-static/cdg59/lockscreen.png differ diff --git a/authentic2/extra-static/cdg59/path18223.png b/authentic2/extra-static/cdg59/path18223.png new file mode 100644 index 0000000..8a090cb Binary files /dev/null and b/authentic2/extra-static/cdg59/path18223.png differ diff --git a/authentic2/extra-static/cdg59/path18223.xcf b/authentic2/extra-static/cdg59/path18223.xcf new file mode 100644 index 0000000..950ae4f Binary files /dev/null and b/authentic2/extra-static/cdg59/path18223.xcf differ diff --git a/authentic2/extra-static/pratic2 b/authentic2/extra-static/pratic2 new file mode 120000 index 0000000..babe817 --- /dev/null +++ b/authentic2/extra-static/pratic2 @@ -0,0 +1 @@ +../../portail-citoyen2/static/pratic2/ \ No newline at end of file diff --git a/authentic2/templates/auth/login.html b/authentic2/templates/auth/login.html new file mode 100644 index 0000000..b868379 --- /dev/null +++ b/authentic2/templates/auth/login.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block title %} +{% trans "Log in" %} +{% endblock %} + +{% block breadcrumb %} + +{% endblock %} + +{% block content %} + +
+

Connexion

+
+ +{% for name, content in methods %} +
+{{ content|safe }} +
+{% endfor %} + +

  Vous devez accepter les cookies pour vous identifier.

+{% endblock %} + +{% block extra_scripts %} + + + + +{% endblock %} diff --git a/authentic2/templates/auth/login_form.html b/authentic2/templates/auth/login_form.html new file mode 100644 index 0000000..55e9738 --- /dev/null +++ b/authentic2/templates/auth/login_form.html @@ -0,0 +1,27 @@ +{% load i18n %} +
+
+ {% csrf_token %} +
+
Identifiant
+
{{ form.username }}
+
+
+
Mot de passe
+
{{ form.password }}
+
+ + {% if cancel %} + + {% endif %} +
+
+ +
+{% if can_reset_password %} +

→ {% trans "Forgot password?" %} {% trans "Reset it!" %}

+{% endif %} +{% if registration_authorized %} +

→ {% trans "Not a member?" %} {% trans "Register!" %}

+{% endif %} +
diff --git a/authentic2/templates/base.html b/authentic2/templates/base.html new file mode 100644 index 0000000..1ae7b6c --- /dev/null +++ b/authentic2/templates/base.html @@ -0,0 +1,75 @@ +{% load staticfiles i18n %} + + + + + + + {% block title %}User test{% endblock %} + {{ openid_meta }} + {% block extra_scripts %} + {% endblock %} + + + +
+
+

Pr@tic

+
+ + {% block breadcrumb %} + {% endblock %} + +
+ {% block messages %} + {% if messages %} + + {% endif %} + {% endblock %} + {% if user.is_authenticated %} + + {% endif %} +
+ {% block content %}{% endblock %} +
+
+ + + +
+ + + diff --git a/authentic2/templates/base.new.html b/authentic2/templates/base.new.html new file mode 100644 index 0000000..d9b1b32 --- /dev/null +++ b/authentic2/templates/base.new.html @@ -0,0 +1,28 @@ +{% load staticfiles %} + + + + [page_title] + + [script] + + +
+

Pr@tic

+ [if-any breadcrumb][end] +
+

[if-any title][title][else][site_name][end]

+ [prelude] + [body] +
+

  Vous devez accepter les cookies pour vous identifier.

+ + +
+ + diff --git a/authentic2/templates/base.old.html b/authentic2/templates/base.old.html new file mode 100644 index 0000000..64640ef --- /dev/null +++ b/authentic2/templates/base.old.html @@ -0,0 +1,54 @@ +{% load i18n %} + + + + + + + {% block title %}User test{% endblock %} + {{ openid_meta }} + {% block extra_scripts %} + {% endblock %} + + + +
+ + +
+ +
+ {% if request.user.is_authenticated %} +
+

+ {% blocktrans with request.user.get_full_name as username %}Hello {{ username }}.{% endblocktrans %} + {% trans "Logout" %}

+
+ {% endif %} + {% block messages %} + {% if messages %} +
    + {% for message in messages %} + {{ message }} + {% endfor %} +
+ {% endif %} + {% endblock %} + {% block content %}{% endblock %} +
+ + +
+ + + diff --git a/authentic2/templates/idp/account_management.html b/authentic2/templates/idp/account_management.html new file mode 100644 index 0000000..4aa25d4 --- /dev/null +++ b/authentic2/templates/idp/account_management.html @@ -0,0 +1,43 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block title %} +{% trans "Authentic - Account Management" %} +{% endblock %} + +{% block breadcrumb %} + +{% endblock %} + +{% block content %} +

{% trans "Account Management" %}

+

{% trans "Profile" %}

+
+{% if profile %} +
+{% for key, values in profile %} +
{{ key|capfirst }}
+
{% if values|length == 1 %}{{ values.0 }}{% else %} +
    + {% for value in values %} +
  • {{ value }}
  • + {% endfor %} +
+{% endif %} +
+{% endfor %} +
+{% endif %} +

{% trans "Change email" %}

+

{% trans "Edit profile" %}

+

{% trans "Delete profile" %}

+
+

{% trans "Credentials" %}

+ {% for html_block in frontends_block %} + {{ html_block|safe }} + {% endfor %} +

{% trans "Back" %}

+{% endblock %} diff --git a/portail-citoyen2/.rnd b/portail-citoyen2/.rnd new file mode 100644 index 0000000..676cbe6 Binary files /dev/null and b/portail-citoyen2/.rnd differ diff --git a/portail-citoyen2/static/portail_citoyen/css/style.css b/portail-citoyen2/static/portail_citoyen/css/style.css new file mode 100644 index 0000000..83a0e29 --- /dev/null +++ b/portail-citoyen2/static/portail_citoyen/css/style.css @@ -0,0 +1,1087 @@ +@font-face { + font-family: 'Museo500'; + src: url(Museo500-Regular.otf); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'MuseoSlab'; + src: url(Museo_Slab.otf); + font-weight: normal; + font-style: normal; +} + +html, body { margin: 0; font-family: arial, sans-serif; font-size: 13px;} +a { text-decoration: none; } +a:hover { text-decoration: underline; } +h1, h2, h3 { margin-top: 0; } + +div#single-title, #nav, +#top, h2 { + font-family: MuseoSlab, sans-serif; + font-weight: normal; +} + +h3, h4 { + font-family: Museo500, sans-serif; + font-weight: normal; +} + + + +a { + -webkit-transition: color 200ms ease-out; +} + +/* layout */ + +body { + overflow-x: hidden; + background: white; + max-width: 1000px; + margin: 0 auto; +} + +div#page { + width: 100%; +} + +div#header { + background-color: #ffffff; + width: 100%; + margin: 0 0 0 0; + position: relative; + top: 0px; + z-index: 0; + +} + +div#top { + margin: 0 auto 0 auto; +} + +div#top h1 { + width: 12em; + text-align: center; + padding-top: 3em; + padding-left: 2em; + margin-left: 20px; + font-size: 120%; + font-weight: normal; +} + +div#top h1 a { + color: white; + text-shadow: #6374AB 0px 0px 3px; +} + +div#top a img { + border: 0; +} + +div#main-content-wrapper { + position: relative; + z-index: 100; + max-width: 1000px; + margin: 0px auto 0px auto; +} + +div#main-content { + margin: 0; + min-height: 300px; +} + +div#footer { + clear: both; + background: white; + padding: 0px; + width: 90%; + margin: 10px auto 0 auto; + position: relative; +} + +p#legal { + font-size: small; + color: #666; + margin: 0; + margin-top: 5em; + font-size: 70%; + display: inline-block; + padding-top: 5px; + border-top: 1px solid #666; +} + +#content { + position: relative; + margin:0; + color: rgb(58, 58, 58); +} + +div#content a { + color: #37a7da; +} + +div#content a:hover { + text-decoration: underline; +} + +#menu { + font-size: 130%; + margin-top: -1px; +} + +#menu ul { + list-style: none; + margin: 0; + padding: 10px 0 32px 0; + -webkit-border-top-right-radius: 5px; + -moz-border-radius-topright: 5px; + border-top-right-radius: 5px; +} + +#menu li { + display: inline; + margin: 0px 10px 0 0; + padding: 5px; + background: #37a7da; + border: 5px solid transparent; + border-width: 2px 5px; + -webkit-transition: all .2s ease-in-out; + -moz-transition: all .2s ease-in-out; +} + +#menu li a { + color: white; + text-transform: uppercase; + white-space: pre; +} + +#menu li:hover { + background-color: #f4bc03; + border-color: #f4bc03; +} + +#menu li:hover a { + text-decoration: none; +} + +#menu li.selected, #menu li.ancestor { + background: #515151; + border-color: #515151; +} + +#menu li.selected a { + color: white; +} + +#left { + float: left; + width: 49.5%; +} + +#right { + float: right; + width: 49.5%; +} + +br.clear { + clear: both; +} + +#error-404, #error-500, #content .block, #password-changed { + background: white; + font-size: 110%; + margin-bottom: 1em; +} + +#content .block h2 { + background: transparent; + font-weight: normal; + color: white; + text-transform: uppercase; + padding: 6px 10px 6px 10px; + color: #333; + font-size: 130%; + cursor: default; /* someday, perhaps, cursor: move */ + border-bottom: 1px solid #ddd; +} + +#content .block h2.feeds { + background-image: url(Picto-Bulle.png); +} + +#content .block h2.newsletters { + background-image: url(Picto-coeur.png); +} + +#content .block h3, +#content .block p { + margin: 1ex 10px; + padding-bottom: 1px; +} + +#content .demarches ul, +#content ul.mes-demarches { + list-style: none; + padding-left: 0px; + margin: 0px; +} + +#content .demarches ul { + -webkit-column-count: 2; + -moz-column-count: 2; + column-count: 2; +} + +#content ul.mes-demarches li, +#content .demarches ul li { + margin: 1ex 0 10px 1ex; + padding-left: 10px; + -webkit-column-break-inside: avoid; + -moz-column-break-inside: avoid; + column-break-inside: avoid; +} + +#content .demarches .toutes-les-demarches { + padding: 10px 0 10px 0; + margin-left: 20px; +} + +#content .toutes-les-demarches a { + font-size: 130%; +} + +#content .toutes-les-demarches a:before { + content: "â–¹ "; +} + +#commune-selector { + margin-left: 5px; + margin-bottom: 10px; +} + +#content #futurs-demarches { + overflow-y: hidden; + margin: 5px; + padding-bottom: 15px; +} + +#content #futurs-demarches.selected { + display: block; +} + +div#single-title { + font-size: 110%; + text-align: center; + padding: 10px 0; +} + +body.narrow-page #main-content { + background: white; + margin-top: 0; + padding: 10px 10px 0 10px; +} + +body.narrow-page #main-content form div input { + display: block; + margin-left: 10px; + margin-bottom: 2ex; +} + +div#welcome { + text-align: justify; + margin: 0 1em; +} + +div#welcome h2 { + margin: 1ex 0; + font-size: 300%; + background: transparent url(e54.png) left center no-repeat; + padding-left: 70px; + text-align: left; + width: 150%; +} + +div#welcome { + float: left; + width: 60%; +} + +span.helptext { + color: #666; +} + +body.narrow-page div.right { + width: 30%; + float: right; + margin: 1ex auto; +} + +body.narrow-page div.right form { + text-align: left; + background: white; + margin: 10px 10px; + padding: 10px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: 1px solid #ccc; + box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + +} + +body.narrow-page div.right form div label { + width: 14em; + display: block; + padding-top: 3px; + color: #777; +} + +body.narrow-page div.right form div input { + width: 16em; +} + +body.narrow-page div.right form div.form-field-required label:after { + content: ""; +} + +body.narrow-page div.right form > input { + display: block; + margin: 1em auto 0 auto; + background: #37a7da; + color: white; + border: none; + padding: 3px 1em; +} + +div.login-actions { + text-align: center; +} + + +.region-header { + width: 100%; + position: absolute; + top: 0px; +} + +#toplinks { + background: #ffffff; + position: relative; + float: right; + width: 250px; + padding: 5px 5px 5px 5px; +} + +#toplinks span { + width: 100%; + display: block; + margin: 0; + padding: 0; + color: #888; + background: url(button_connexion.gif) left center no-repeat; + border: 1px solid #e9e9e9; + line-height: 20px; + height: 22px; +} + +#toplinks a { + color: #888; + border: 1px solid transparent; +} + +#toplinks a.logout { + padding-left: 30px; +} + +#toplinks a:hover { + text-decoration: none; + color: #222; +} + +#toplinks a.restricted { + color: white; + float: right; + padding: 0 1ex; + border: 1px outset #888; + background: #37a7da; +} + +div#username { + float: right; + padding: 5px 5px 5px 5px; + background: white; + line-height: 20px; + height: 22px; + border: 1px solid white; +} + +ul.newsList { + list-style: none; +} + +ul.newsList li.abonne { + margin: 0; + padding: 0; +} + +.abonne { + padding-left: 20px; + background: transparent url(Validation.png) center left no-repeat; +} + +.nonAbonne { + padding-left: 20px; + background: transparent url(Annulation.png) center left no-repeat; +} + +/* page de profil */ +#my-informations { + margin-bottom: 15px; + padding: 0px; +} + +#my-informations p { + padding: 0 5px; +} + +#my-informations select, +#my-informations input { + margin-left: 10px; + display: block; +} + +/* forms error reporting */ + +.errorlist { + list-style: none; + padding-left: 0; + margin-left: 0; +} + +ul.errorlist li { + display: block; + color: #f44; +} + +.form-field-required label:after { + content: '*'; + color: #D90024; +} + +ul.errorlist + p { + margin-top: 0px; +} + + + +.passerelle-register-plugin input + label { + background: transparent url(Annulation.png) center left no-repeat; +} + +.passerelle-register-plugin input:checked + label { + background: transparent url(Validation.png) center left no-repeat; +} + +.passerelle-register-plugin td input { + display: none +} +.passerelle-register-plugin td label { + padding-left: 2em; +} + +div.block form { + padding: 0 1ex; +} + +table.announces { + width: 100%; + margin-bottom: 1em; +} + +table.announces thead td { + font-weight: bold; +} + +table.announces thead th { + width: 30%; +} + +table.announces tbody td { + text-align: center; +} + +table.announces tbody th { + width: 35%; + text-align: left; + font-weight: normal; +} + +#agglolinks { + position: absolute; + right: 0; + top: -140px; +} + +#agglolinks > a, #agglolinks > span > a { + width: 130px; +} + +#agglolinks a, #agglolinks span { + display: inline-block; + margin-left: 10px; + color: white; + text-transform: uppercase; + text-align: center; + padding: 5px 5px; + font-size: 16px; +} + +#agglolinks a.agglo-mon-agglo, #agglolinks a.agglo-mes-e-services { + background: #37a7da; +} + +#agglolinks a.agglo-connaitre { + background: #d90024; +} + +#agglolinks a.agglo-vivre { + background: #1f4791; +} + +#agglolinks a.agglo-entreprendre { + background: #a3d117; +} + +#agglolinks span.agglo-mes-e-services > a { + background: #37a7da; + width: 150px; +} + +ul.agglo-autres-services-menu { + display: none; + position: relative; + padding: 0px; + margin: 10px; + margin-top: 0px; + width: 160px; + z-index: 10; + background: rgba(246, 132, 35, 0.5); + border-bottom: 5px solid #37a7da; +} + +ul.agglo-autres-services-menu li { + list-style: none; + background: #FFA824; + opacity: 0.9; + -webkit-transition: all .2s ease-in-out; + -moz-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; + border-left: 5px solid #37a7da; + border-right: 5px solid #37a7da; +} + +ul.agglo-autres-services-menu li:hover { + background: #f4bc03; + opacity: 1.0; +} + +#agglolinks ul.agglo-autres-services-menu li a { + display: block; + margin-left: 0; + -webkit-transition: all .2s ease-in-out; + -moz-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; + overflow: hidden; + white-space: nowrap; +} + +#agglolinks ul.agglo-autres-services-menu li a:hover { + letter-spacing: 1px; + font-weight: bold; +} + +#agglolinks span.agglo-mes-e-services:hover ul.agglo-autres-services-menu { + float: right; + position: absolute; + display: block; +} + +.chapeau { + font-style: italic; + font-size: 110%; +} + +/* mon compte */ +#my-informations-form { + width: 90%; + padding-bottom: 1em; +} + +#my-informations-form input[type~=text] { + width: 100%; +} + +#id_edit-profile-email_wrap, #id_edit-profile-address_wrap { + clear: both; +} + +#id_edit-profile-first_name_wrap, #id_edit-profile-phone_wrap, #id_edit-profile-postal_code_wrap { + width: 45%; + float: left; +} + +#id_edit-profile-last_name_wrap, #id_edit-profile-mobile_wrap, #id_edit-profile-city_wrap { + width: 45%; + float: right; +} + +/* pied de page */ +#footer-menu { + position: absolute; + display: block; + top: 20px; + left: 20px; + width: 435px; + list-style: none; + margin: 0; + padding: 0; + text-align: left; +} + +.footer-menu-leaf { + display: inline; + margin: 0; + padding: 0; + padding-right: 20px; + padding-bottom: 20px; + float: left; +} + +.footer-menu-leaf-link, .footer-menu-leaf-link:hover { + display: block; + width: 125px; + height: 26px; + line-height: 26px; + background: #ffffff; + text-align: center; + text-transform: uppercase; + color: #515151; + text-decoration: none; + font-size: 14px; +} + +.clear { + clear: both; +} + +#my-password { + padding-bottom: 1ex; +} + +#my-password p { + font-weight: bold; +} + +#my-password p a { + color: inherit; + padding: 1ex; +} + +ul.show-user-feeds { + padding-left: 2em; +} + +ul.show-user-feeds li { + list-style: disc; + background: url(mediathk.png) left center no-repeat; + min-height: 30px; + padding-bottom: 4px; +} + +ul.show-user-feeds li.aquarium { background-image: url(aquarium.png); } +ul.show-user-feeds li.conservatoire { background-image: url(conservatoire.png); } +ul.show-user-feeds li.ecolothk { background-image: url(ecolothk.png); } +ul.show-user-feeds li.facebook { background-image: url(facebook.png); } +ul.show-user-feeds li.lattara { background-image: url(lattara.png); } +ul.show-user-feeds li.mediathk { background-image: url(mediathk.png); } +ul.show-user-feeds li.opendata { background-image: url(opendata.png); } +ul.show-user-feeds li.planet { background-image: url(planet.png); } + +#id_new_password1_help_text, #id_password1_help_text { + font-style: italic; + font-size: 90%; + color: red; +} + +/* saml post page */ +.post-redirect { + background: white; +} + +#messages { + margin-left: 210px; +} + +#messages ul { + padding: 0; + margin: 0; + color: #333; + list-style: none; +} + +#messages li.warning { +} + +#messages li.error { +} + +#messages li.info { +} + +/* registration form */ +img.captcha { + float: left; +} + +#id_captcha_1 { + width: 13em; +} + + +/* pimping up */ +h1#logo img { + -webkit-transition: all .2s ease-in-out; + -moz-transition: all .2s ease-in-out; +} + +h1#logo img:hover { + /* + -webkit-transform: scale(1.05); + -moz-transform: scale(1.05); + */ +} + + +#nav { + margin: 0 auto; + padding: 0px 0; + margin: 17px auto; + font-size: 110%; + z-index: 1500; + width: 100%; + text-align: center; +} + +#nav ul { + margin: 0; + padding: 0; + list-style: none; + border: 1px solid #a5a7aa; + padding: 1ex; + border-width: 1px 0px; +} + +#nav li { + margin: 1ex 0; + padding: 1.5ex 1ex; + text-align: center; + display: inline; +} + +#nav a { + color: #404041; + text-decoration: none; +} + +#nav li.selected:after, +#nav li.ancestor:after, +#nav li a:hover, +#nav li.selected a, +#nav li.ancestor a { + color: #e0007a; +} + + +div.block { + text-align: left; + background: white; + margin: 10px 10px; + padding: 10px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: 1px solid #ccc; + box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); +} + +h2#welcome-title { + margin-top: 2em; + margin-bottom: 1em; +} + +select, +input[type="text"], +input[type="password"] { + border: 1px solid #aaa; + background: white url(field-shade.png) top left repeat-x; + padding: 1px; + border-radius: 2px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + color: black; + -webkit-transition: background 200ms ease-out; + display: block; +} + +input[type="text"]:focus, +input[type="password"]:focus { + border: 1px solid #888; + background: white; +} + +div#registration { + width: 40em; + text-align: justify; + margin: 2em auto; +} + +div#registration form { + margin: 2em 0; +} + +div#registration label { + display: block; + width: 15em; + float: left; + text-align: right; + padding-right: 1em; + color: #777; + padding-top: 0; +} + +div#registration ul.errorlist { + margin: 0; + padding-left: 16em; +} + +div#registration input[type="submit"] { + margin-left: 17em; +} + + + +#toplinks { + background: #ffffff; + position: absolute; + top: 3em; + right: 0; + width: 40%; + padding: 5px 5px 5px 5px; +} + +#toplinks span { + width: 100%; + display: block; + margin: 0; + padding: 0; + color: #888; + background: url(button_connexion.gif) left center no-repeat; + border: 1px solid #e9e9e9; + line-height: 20px; + height: 22px; +} + +#toplinks span.logged-in { + background: none; + border: none; + text-align: right; +} + +#toplinks a { + color: #888; + border: 1px solid transparent; +} + +#toplinks a:hover { + text-decoration: none; + color: #222; +} + +#toplinks a.restricted { + color: white; + float: right; + padding: 0.5ex 1ex; + border: 1px outset #888; + background: #672290; + position: absolute; + top: -3em; + right: 3px; +} + + +#toplinks a.logout { + background: url(button_connexion.gif) left center no-repeat; + display: inline-block; + padding: 1px; + padding-left: 30px; + border: 1px solid #e9e9e9; + padding-right: 1em; + margin-right: -2px; +} + +#real-content { + text-align: justify; + margin-top: 1em; +} + +#help-content { + padding-top: 10px; +} + +#help-menu-content li.selected > a { + color: #000; + font-weight: bold; +} + +ul.account-management-plugin { + padding-left: 1em; + margin: 0; +} + +ul.account-management-plugin li { + list-style-type: none; +} + +.block form label { + color: #777; + padding-top: 1ex; + display: block; +} + +.block form select, +.block form input[type="text"], +.block form input[type="password"] { + margin-left: 10px; +} + +.block ul.feed-list { + padding: 0; + padding-left: 1em; +} + +.block li.feed-list-item { + list-style: none; + padding: 0; +} + +.block li.feed-list-item label { + display: inline; +} + +p.fullname { + display: inline; + margin-right: 1.5em; +} + + +iframe { +border: 1px solid #aaa; +} + +#contact-us { +z-index: 500; +position: absolute; +top: 100px; +left: 300px; +background: #37a7da; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + color: white; + text-decoration: none; + -webkit-transition: all .2s ease-in-out; + -moz-transition: all .2s ease-in-out; + +} + +#contact-us:hover { + -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .9); + -moz-box-shadow: 0 0 2px rgba(0, 0, 0, .9); + border: none; + +} +#contact-us a { + padding: 8px 12px; + display: block; +color: white; +} + +#contact-us a:hover { +text-decoration: none; +} + +#nav li:after { + content: " /"; +} + +@media screen and (max-width: 760px) { + body.narrow-page div.right { + clear: none; + width: 100%; + } + #left, #right { + clear: none; + width: 100%; + } +} + +@media screen and (max-width: 490px) { + #single-title { + cursor: pointer; + } + #nav { + width: 100%; + } + #nav ul { + column-count: 2; + -webkit-column-count: 2; + } + #nav ul li { + margin-top: 0; + } + #real-content { + padding: 0; + } + #toplinks { + top: 0; + left: 0; + width: 98%; + } + #contact-us { + left: auto; + right: 10px; + } +} + +@media screen and (max-width: 400px) { + div#top h1 { + padding-left: 1ex; + margin-left: 0; + } + div#welcome { + display: none; + } + h2#welcome-title { + margin: 0; + } +} + diff --git a/portail-citoyen2/static/pratic2/Europe.png b/portail-citoyen2/static/pratic2/Europe.png new file mode 100644 index 0000000..ddbc4f1 Binary files /dev/null and b/portail-citoyen2/static/pratic2/Europe.png differ diff --git a/portail-citoyen2/static/pratic2/NPDC.png b/portail-citoyen2/static/pratic2/NPDC.png new file mode 100644 index 0000000..18f9e15 Binary files /dev/null and b/portail-citoyen2/static/pratic2/NPDC.png differ diff --git a/portail-citoyen2/static/pratic2/RepFrancaise.png b/portail-citoyen2/static/pratic2/RepFrancaise.png new file mode 100644 index 0000000..780b1ba Binary files /dev/null and b/portail-citoyen2/static/pratic2/RepFrancaise.png differ diff --git a/portail-citoyen2/static/pratic2/admon-tip.png b/portail-citoyen2/static/pratic2/admon-tip.png new file mode 100644 index 0000000..a25faae Binary files /dev/null and b/portail-citoyen2/static/pratic2/admon-tip.png differ diff --git a/portail-citoyen2/static/pratic2/authentic-common.css b/portail-citoyen2/static/pratic2/authentic-common.css new file mode 100644 index 0000000..30c934e --- /dev/null +++ b/portail-citoyen2/static/pratic2/authentic-common.css @@ -0,0 +1,109 @@ +/* CSS authentic-cdg59*/ +a { + color: #005da8; +} + +span.required { + background: url(required.png) 8px 0px no-repeat; + padding: 0 0 0 20px; + font-size: 70%; + overflow: hidden; + color: white; +} + +div.content { + margin-left: 5px; +} + +div.TextWidget textarea, +div.ValidatedStringWidget input, +div.StringWidget input, +div.EmailWidget input, +div.IntWidget input, +div.PasswordWidget input { + border: 1px inset #ccc; + margin: 1px; + padding: 1px 2px; +} + +div.TextWidget textarea:focus, +div.ValidatedStringWidget input:focus, +div.StringWidget input:focus, +div.EmailWidget input:focus, +div.IntWidget input:focus, +div.PasswordWidget input:focus { + border: 2px solid #d1002e; + margin: 0px; +} + +div.SubmitWidget input, input[type=submit] { + font-weight: bold; + background: #005da8 url(puce_btn.gif) 5px 50% no-repeat; + border:0px; + -moz-border-radius: 5px; + /*border-radius: 5px;*/ + color: #FFFFFF; + cursor:pointer; + margin:3px 0px; + padding:3px 5px 4px 25px; +} + +div.form div.title, form.quixote div.title { + font-weight: bold; +} + +div.errornotice { + background: #fd6; + border: 1px solid #ffae15; + margin-bottom: 1em; + padding: 5px; + font-size: 90%; + width: 500px; +} + +div.error { + color: black; + font-weight: bold; + background: white url(warning.png) top left no-repeat; + padding-left: 20px; +} + +div.buttons div.SubmitWidget, +div.buttons div.SubmitWidget div.content { + display: inline; +} + +div.buttons br { display: none; } + +input[type="submit"][name="submit"] { + font-weight: bold; + background: #005da8 url(puce_btn.gif) 5px 50% no-repeat; + border:0px; + -moz-border-radius: 5px; + /*border-radius: 5px;*/ + color: #FFFFFF; + cursor:pointer; + margin:3px 0px; + padding:3px 5px 4px 25px; +} + +div.hint { + font-size: 80%; +} + +div.widget { + margin-bottom: 0.5em; +} + +div#error { + border: 3px double #800; + width: 50%; + margin: 2em auto 0; + background: white; + padding: 2px; +} + +div#error h1 { + margin: 0; + border-bottom: 1px solid black; +} diff --git a/portail-citoyen2/static/pratic2/deg.png b/portail-citoyen2/static/pratic2/deg.png new file mode 100644 index 0000000..ba0c89c Binary files /dev/null and b/portail-citoyen2/static/pratic2/deg.png differ diff --git a/portail-citoyen2/static/pratic2/desc.xml b/portail-citoyen2/static/pratic2/desc.xml new file mode 100644 index 0000000..6094a1a --- /dev/null +++ b/portail-citoyen2/static/pratic2/desc.xml @@ -0,0 +1,6 @@ + + + + New Pr@tic Theme + Frederic Peters & artists + diff --git a/portail-citoyen2/static/pratic2/imageFooter/Europe.png b/portail-citoyen2/static/pratic2/imageFooter/Europe.png new file mode 100644 index 0000000..ddbc4f1 Binary files /dev/null and b/portail-citoyen2/static/pratic2/imageFooter/Europe.png differ diff --git a/portail-citoyen2/static/pratic2/imageFooter/NPDC.png b/portail-citoyen2/static/pratic2/imageFooter/NPDC.png new file mode 100644 index 0000000..18f9e15 Binary files /dev/null and b/portail-citoyen2/static/pratic2/imageFooter/NPDC.png differ diff --git a/portail-citoyen2/static/pratic2/imageFooter/RepFrancaise.png b/portail-citoyen2/static/pratic2/imageFooter/RepFrancaise.png new file mode 100644 index 0000000..780b1ba Binary files /dev/null and b/portail-citoyen2/static/pratic2/imageFooter/RepFrancaise.png differ diff --git a/portail-citoyen2/static/pratic2/imageTop.png b/portail-citoyen2/static/pratic2/imageTop.png new file mode 100644 index 0000000..1167e55 Binary files /dev/null and b/portail-citoyen2/static/pratic2/imageTop.png differ diff --git a/portail-citoyen2/static/pratic2/info-mini.png b/portail-citoyen2/static/pratic2/info-mini.png new file mode 100644 index 0000000..efd1ae7 Binary files /dev/null and b/portail-citoyen2/static/pratic2/info-mini.png differ diff --git a/portail-citoyen2/static/pratic2/lockscreen-bg.png b/portail-citoyen2/static/pratic2/lockscreen-bg.png new file mode 100644 index 0000000..a7758c9 Binary files /dev/null and b/portail-citoyen2/static/pratic2/lockscreen-bg.png differ diff --git a/portail-citoyen2/static/pratic2/lockscreen.png b/portail-citoyen2/static/pratic2/lockscreen.png new file mode 100644 index 0000000..7e0a9dc Binary files /dev/null and b/portail-citoyen2/static/pratic2/lockscreen.png differ diff --git a/portail-citoyen2/static/pratic2/path18223.png b/portail-citoyen2/static/pratic2/path18223.png new file mode 100644 index 0000000..8a090cb Binary files /dev/null and b/portail-citoyen2/static/pratic2/path18223.png differ diff --git a/portail-citoyen2/static/pratic2/portail-citoyen.css b/portail-citoyen2/static/pratic2/portail-citoyen.css new file mode 100644 index 0000000..3eeb50c --- /dev/null +++ b/portail-citoyen2/static/pratic2/portail-citoyen.css @@ -0,0 +1,32 @@ +#nav { + float: left; + width: 10em; +} + +#nav ul { + list-style: none; + padding-left: 0px; +} + +#nav li { + margin: 5px 0px; +} + +#main-content { + margin-left: 10em; +} + +.block { + text-align: left; + background: white; + margin: 10px 10px; + padding: 10px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: 1px solid #ccc; + box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4); + opacity: 0.9; +} diff --git a/portail-citoyen2/static/pratic2/puce_btn.gif b/portail-citoyen2/static/pratic2/puce_btn.gif new file mode 100644 index 0000000..de117ae Binary files /dev/null and b/portail-citoyen2/static/pratic2/puce_btn.gif differ diff --git a/portail-citoyen2/static/pratic2/style.css b/portail-citoyen2/static/pratic2/style.css new file mode 100644 index 0000000..c37b5dc --- /dev/null +++ b/portail-citoyen2/static/pratic2/style.css @@ -0,0 +1,184 @@ +/* CSS authentic-cdg59*/ + +@import url("authentic-common.css"); + +body { + margin: 0 auto; + padding: 0; + background: #E6E7EB; + color: black; + font-family: Trebuchet MS; + width:800px; + height:700px; +} + +a { + color: #005da8; + font-weight:bold; + text-decoration: none; +} + +a:hover { + text-decoration: underline; + color:#d1002e; +} + +.title { + color:#555; +} + +#head p { + font-weight: bold; + margin: auto; + text-align: right; + font-size: smaller; + font-style: italic; + color:#005da8; + background: #d5dee3; +} + +#page { + border:1px solid #CCC; + -moz-border-radius:5px; + border-radius:5px; +} + +#top { + -moz-border-radius: 5px 5px 0 0 ; + height:135px; + background: url(imageTop.png) no-repeat; + border-bottom: 8px solid #d1002e; + background-color:#FFFFFF; +} + +#top h1 { + margin: 0px auto 0px auto; /*texte centré*/ + width:100px; + color:#000; + padding-top:100px; +} + +#info-box h1 { + color:#005da8; +} + +#content { + padding: 1em 2em 3em 2em; + position: relative; + background:#FFFFFF url(lockscreen.png) top right no-repeat; +} + +ul#breadcrumb { + margin: 0 0 0 0; + font-size: 70%; + background-color: #d5dee3; + padding: 0.5ex; + color:#005da8; +} + +ul#breadcrumb li { + list-style: none; + display: inline; +} +ul#breadcrumb li:first-child:before { + content: ""; +} + +ul#breadcrumb li:before { + content: " > "; + color: black; +} + +#footer { + -moz-border-radius: 0 0 5px 5px ; + border-top: 8px solid #005da8; + background: #d5dee3; + height:60px; + position:relative; +} + +#footer p { + font-weight: bold; + margin: auto; + text-align: right; + font-size: smaller; + font-style: italic; + color:#005da8; +} + +#marquee { + height:30px; + background:#FFFFFF; +} + +#marquee p { + font-weight:bold; + font-size:12px; + text-align:center; + color:#d1002e; +} + + +p#forgot-password { + position: absolute; + right: 30px; + top: 60px; +} + +#infocookie { + height:30px; + background:#FFFFFF; +} + +#infocookie p { + padding-top:5px; + font-weight:bold; + font-size:12px; + margin:auto; + /*padding:auto;*/ + text-align:left; + color:#d1002e; +} + +#europe { + width:70px; + height:48px; + margin-top:5px; + margin-left:5px; +} +#france { + background-color:#FFFFFF; +} +#npdc { + +} + +p#register { + position: absolute; + right: 30px; + top: 100px; +} + +p#cookies { + border: 1px solid #888; + background: #ccf url(info-mini.png) 15px 15px no-repeat; + padding-left: 60px; + height: 60px; + line-height: 60px; + display:none; +} + +ul { + list-style: disc; +} + +ul.FederationsWidget { + font-weight: bold; +} + +ul.FederationsWidget a.terminate { + font-weight: normal; + display: block; + margin-left: 5em; + margin-bottom: 1em; +} diff --git a/portail-citoyen2/static/pratic2/template.ezt b/portail-citoyen2/static/pratic2/template.ezt new file mode 100644 index 0000000..684e560 --- /dev/null +++ b/portail-citoyen2/static/pratic2/template.ezt @@ -0,0 +1,27 @@ + + + + [page_title] + + [script] + + +
+

Pr@tic

+ [if-any breadcrumb][end] +
+

[if-any title][title][else][site_name][end]

+ [prelude] + [body] +
+

  Vous devez accepter les cookies pour vous identifier.

+ + +
+ + diff --git a/portail-citoyen2/static/pratic2/warning.png b/portail-citoyen2/static/pratic2/warning.png new file mode 100644 index 0000000..9a8c5bb Binary files /dev/null and b/portail-citoyen2/static/pratic2/warning.png differ diff --git a/portail-citoyen2/templates/base.html b/portail-citoyen2/templates/base.html new file mode 100644 index 0000000..618bb50 --- /dev/null +++ b/portail-citoyen2/templates/base.html @@ -0,0 +1,109 @@ + +{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags staticfiles %} + + + + + Compte Citoyen :: Démo :: {% page_attribute "page_title" %} + + + + {% render_block "css" %} + {% block extra_scripts %} + + {% endblock %} + + + {% cms_toolbar %} +
+
+

Pr@tic

+ +
+ {% block breadcrumb %} + + {% endblock %} +
+ + {% block menu %} + + {% endblock %} + + {% block messages %} + {% if messages %} +
+
    + {% for message in messages %} + {{ message }} + {% endfor %} +
+
+ {% endif %} + {% endblock %} + +
+ {% block content %} + {% endblock %} +
+
+ + +
+ {% render_block "js" %} + {% if messages %} + + {% endif %} + + + diff --git a/portail-citoyen2/templates/base.new.html b/portail-citoyen2/templates/base.new.html new file mode 100644 index 0000000..b06255f --- /dev/null +++ b/portail-citoyen2/templates/base.new.html @@ -0,0 +1,53 @@ +{% load staticfiles i18n %} + + + + + + {% block title %}User test{% endblock %} + {{ openid_meta }} + {% block extra_scripts %} + {% endblock %} + + + +
+
+

Pr@tic

+
+ + {% block breadcrumb %} + {% endblock %} + +
+ {% if request.user.is_authenticated %} +
+

+ {% blocktrans with request.user.get_full_name as username %}Hello {{ username }}.{% endblocktrans %} + {% trans "Logout" %}

+
+ {% endif %} + {% block messages %} + {% if messages %} +
    + {% for message in messages %} + {{ message }} + {% endfor %} +
+ {% endif %} + {% endblock %} + {% block content %}{% endblock %} +
+ + + +
+ + + diff --git a/portail-citoyen2/templates/base.old.html b/portail-citoyen2/templates/base.old.html new file mode 100644 index 0000000..15a1dd7 --- /dev/null +++ b/portail-citoyen2/templates/base.old.html @@ -0,0 +1,100 @@ + +{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags staticfiles %} + + + + + Compte Citoyen :: Démo :: {% page_attribute "page_title" %} + + {% render_block "css" %} + {% block extra_scripts %} + + {% endblock %} + + + {% cms_toolbar %} +
+ +
+
+ + {% block menu %} + + {% endblock %} + + {% block messages %} + {% if messages %} +
+
    + {% for message in messages %} + {{ message }} + {% endfor %} +
+
+ {% endif %} + {% endblock %} + +
+
+ {% block content %} + {% endblock %} +
+
+
+ + + {% render_block "js" %} + {% if messages %} + + {% endif %} + + + diff --git a/portail-citoyen2/templates/blurps/demandes_en_cours.html b/portail-citoyen2/templates/blurps/demandes_en_cours.html new file mode 100644 index 0000000..b034e81 --- /dev/null +++ b/portail-citoyen2/templates/blurps/demandes_en_cours.html @@ -0,0 +1,6 @@ + + diff --git a/portail-citoyen2/templates/blurps/teleservices.html b/portail-citoyen2/templates/blurps/teleservices.html new file mode 100644 index 0000000..692953a --- /dev/null +++ b/portail-citoyen2/templates/blurps/teleservices.html @@ -0,0 +1,8 @@ +
+
    + {% for d in teleservices.data|dictsort:"title" %} +
  • {{ d.title }}
  • + {% endfor %} +
+

Toutes les demandes

+
diff --git a/portail-citoyen2/templates/breadcrumb.html b/portail-citoyen2/templates/breadcrumb.html new file mode 100644 index 0000000..43d0a6d --- /dev/null +++ b/portail-citoyen2/templates/breadcrumb.html @@ -0,0 +1,9 @@ +{% for ance in ancestors %} +
  • + {% if not forloop.last %} + {{ ance.get_menu_title }} + {% else %} + {{ ance.get_menu_title }} + {% endif %} +
  • +{% endfor %}