misc: remove themes toulouse, toulouse-metropole & thonon-agglomeration (#75500) #223
|
@ -1,92 +0,0 @@
|
|||
div#rub_service div.category h3,
|
||||
.gru-content div.a2-block h2,
|
||||
.gru-content div.block h2,
|
||||
div.links-list h2,
|
||||
div#services > ul > li > strong > a,
|
||||
.gru-content div.textcell h2:first-child,
|
||||
.gru-content div.cell h2:first-child {
|
||||
border-bottom-left-radius: $title-border-radius;
|
||||
border-bottom-right-radius: $title-border-radius;
|
||||
}
|
||||
|
||||
#logo {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#logo a {
|
||||
margin: 10px;
|
||||
background: url(img/logo.png) no-repeat left bottom;
|
||||
background-size: contain;
|
||||
display: block;
|
||||
height: 68px;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: $nav-mobile-limit) {
|
||||
#logo {
|
||||
padding-top: 40px;
|
||||
}
|
||||
div.gru-nav-wrapper {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
.gru-nav ul li {
|
||||
font-family: "Raleway", sans-serif;
|
||||
}
|
||||
|
||||
h3, h4 {
|
||||
color: #253A8E;
|
||||
}
|
||||
|
||||
#messages li,
|
||||
div.infonotice,
|
||||
div.successnotice,
|
||||
div.warningnotice,
|
||||
div.errornotice {
|
||||
color: black;
|
||||
}
|
||||
|
||||
form.quixote {
|
||||
div.error {
|
||||
color: #A06718;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.comment-field {
|
||||
padding: 0.9rem;
|
||||
padding-left: 3.6rem;
|
||||
}
|
||||
|
||||
input, select {
|
||||
border: 1px solid #999;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
div.title label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.TableWidget th span {
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
button.cancel {
|
||||
background: #D4CAC8;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
form[action="removedraft"] button {
|
||||
background: #DB635C;
|
||||
}
|
||||
|
||||
// Steps
|
||||
.wcs-steps--list {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wcs-step--label {
|
||||
text-align: center;
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
$font-color: #222;
|
||||
$link-color: #253a8e;
|
||||
$font-family: "Roboto", sans-serif; // "Roboto", Gill Sans, sans-serif;
|
||||
$footer-background: #1c1b19;
|
||||
$border-radius: 3px;
|
||||
$mobile-width: none;
|
||||
|
||||
$title-background: #fec307;
|
||||
$title-color: #222;
|
||||
$title-transform: uppercase;
|
||||
$title-font-family: "Raleway", sans-serif; // "Raleway", Impact, fantasy;
|
||||
$title-font-size: 1.0rem; // 1.4rem;
|
||||
$title-padding: 8px 20px;
|
||||
$title-weight: 900;
|
||||
$title-border-radius: 25px;
|
||||
|
||||
$nav-button-color: white;
|
||||
$nav-button-background: #fec307;
|
||||
|
||||
$nav-background: #D4CAC8;
|
||||
$nav-full-width-background: true;
|
||||
$nav-color: #222;
|
||||
$nav-active-color: #fec307;
|
||||
// $nav-height: 3em;
|
||||
$nav-item-spacing: 2px;
|
||||
$nav-mobile-menu-background: #fec307;
|
||||
$nav-item-selected-color: black;
|
||||
$nav-submenu-color: black;
|
||||
|
||||
$form-sidebar-position: top;
|
||||
|
||||
$button-background: #fec307;
|
||||
$button-color: black; // ou white, selon $button-background;
|
||||
|
||||
$widget-border: 1px solid #cecac4;
|
||||
$widget-focus-background: #fec307;
|
||||
$widget-focus-border: 1px solid #fec307;
|
||||
$widget-border-radius: 8px;
|
||||
$widget-custom-radio-checkbox: true;
|
||||
$widget-unique-checkbox-position: left;
|
||||
|
||||
$cell-border: none; // 1px solid #cecac4;
|
||||
$cell-entry-border: 1px solid #cecac4;
|
||||
$cell-entry-hover-background: inherit;
|
||||
|
||||
$notification_info_color: #79adc2;
|
||||
$notification_success_color: #cfcd00;
|
||||
$notification_warning_color: #f6a106;
|
||||
$notification_error_color: #db635c;
|
||||
|
||||
|
||||
$wcs-step-border-bottom: none;
|
||||
$wcs-step-current-color: black;
|
||||
$wcs-step-current-marker-background: #fec307;
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"label": "Thonon Agglomération",
|
||||
"variables": {
|
||||
"theme_color": "#fec307"
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 4.3 KiB |
|
@ -1,7 +0,0 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
@import 'vars';
|
||||
@import '../includes/publik';
|
||||
@import '../includes/fonts/roboto';
|
||||
@import '../includes/fonts/raleway';
|
||||
@import 'custom';
|
|
@ -1,40 +0,0 @@
|
|||
$orange: #ff6900;
|
||||
$violet: #da0068;
|
||||
$primary-color: $orange;
|
||||
|
||||
$border-radius: 3px;
|
||||
$font-family: AauxPro, Arial, Helvetica, sans-serif;
|
||||
$width: auto;
|
||||
$mobile-width: none;
|
||||
$font-color: #666;
|
||||
$font-size: 0.812em;
|
||||
|
||||
$nav-background: transparent;
|
||||
$nav-color: white;
|
||||
|
||||
$font-color: #313435;
|
||||
$link-color: $primary-color;
|
||||
$dark-link-color: #2e2d35;
|
||||
|
||||
$footer-background: white;
|
||||
$footer-color: #333;
|
||||
|
||||
$cell-border: 0;
|
||||
$cell-title-cover-border: false;
|
||||
|
||||
$form-sidebar-position: top;
|
||||
$form-style: light;
|
||||
$widget-background: #f5f5f5;
|
||||
$widget-custom-radio-checkbox: true;
|
||||
$widget-custom-radio-checkbox-color: $primary-color;
|
||||
$widget-unique-checkbox-position: left;
|
||||
$button-border-radius: 50px;
|
||||
$button-border: 2px solid $orange;
|
||||
$button-background: $orange;
|
||||
$button-color: white;
|
||||
|
||||
$nav-after-image: false;
|
||||
$nav-mobile-mode: hidden;
|
||||
$nav-mobile-bottom-bar-background: #6a5f5b;
|
||||
$nav-mobile-bottom-bar-item-hover-background: $violet;
|
||||
$nav-mobile-bottom-bar-item-selected-background: $violet;
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
"label": "Toulouse Métropole",
|
||||
"variables": {
|
||||
"email_header_img": "img/logo-metropole.png",
|
||||
"theme_color": "#ff6900"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
"JSON_CELL_TYPES.update": {
|
||||
"communes-toulouse": {
|
||||
"url": "https://data.toulouse-metropole.fr/api/records/1.0/search/?dataset=communes-de-toulouse-metropole&sort=ville&rows=100",
|
||||
"name": "Communes de Toulouse",
|
||||
"cache_duration": 3600
|
||||
}
|
||||
},
|
||||
"COMBO_ASSET_SLOTS.update": {
|
||||
"picto:dechets-fagots": { "label": "Déchets : Fagots" },
|
||||
"picto:dechets-sacs": { "label": "Déchets : Sacs" },
|
||||
"picto:encombrants-armoire-commode": { "label": "Encombrants : Armoire / Commode" },
|
||||
"picto:encombrants-aspirateur": { "label": "Encombrants : Aspirateur" },
|
||||
"picto:encombrants-autre-objet-volumineux": { "label": "Encombrants : Autre objet volumineux" },
|
||||
"picto:encombrants-canape": { "label": "Encombrants : Canapé" },
|
||||
"picto:encombrants-chaise": { "label": "Encombrants : Chaise" },
|
||||
"picto:encombrants-cuisiniere": { "label": "Encombrants : Cuisinière" },
|
||||
"picto:encombrants-etagere-table": { "label": "Encombrants : Étagère / Table" },
|
||||
"picto:encombrants-lave-vaisselle-four": { "label": "Encombrants : Lave-vaisselle / Four" },
|
||||
"picto:encombrants-machine-a-laver": { "label": "Encombrants : Machine à laver" },
|
||||
"picto:encombrants-matelas-sommier": { "label": "Encombrants : Matelas / Sommier" },
|
||||
"picto:encombrants-ordinateur-tele": { "label": "Encombrants : Ordinateur / Télévision" },
|
||||
"picto:encombrants-palette": { "label": "Encombrants : Palette" },
|
||||
"picto:encombrants-petit-electromenager": { "label": "Encombrants : Petit électroménager" },
|
||||
"picto:encombrants-refrigerateur": { "label": "Encombrants : Réfrigérateur" },
|
||||
"picto:encombrants-refrigerateur-americain": { "label": "Encombrants : Réfrigérateur américain" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,70 +0,0 @@
|
|||
$(function() {
|
||||
// from django/contrib/admin/static/admin/js/urlify.js
|
||||
var LATIN_MAP = {
|
||||
'À': 'A', 'Á': 'A', 'Â': 'A', 'Ã': 'A', 'Ä': 'A', 'Å': 'A', 'Æ': 'AE',
|
||||
'Ç': 'C', 'È': 'E', 'É': 'E', 'Ê': 'E', 'Ë': 'E', 'Ì': 'I', 'Í': 'I',
|
||||
'Î': 'I', 'Ï': 'I', 'Ð': 'D', 'Ñ': 'N', 'Ò': 'O', 'Ó': 'O', 'Ô': 'O',
|
||||
'Õ': 'O', 'Ö': 'O', 'Ő': 'O', 'Ø': 'O', 'Ù': 'U', 'Ú': 'U', 'Û': 'U',
|
||||
'Ü': 'U', 'Ű': 'U', 'Ý': 'Y', 'Þ': 'TH', 'Ÿ': 'Y', 'ß': 'ss', 'à': 'a',
|
||||
'á': 'a', 'â': 'a', 'ã': 'a', 'ä': 'a', 'å': 'a', 'æ': 'ae', 'ç': 'c',
|
||||
'è': 'e', 'é': 'e', 'ê': 'e', 'ë': 'e', 'ì': 'i', 'í': 'i', 'î': 'i',
|
||||
'ï': 'i', 'ð': 'd', 'ñ': 'n', 'ò': 'o', 'ó': 'o', 'ô': 'o', 'õ': 'o',
|
||||
'ö': 'o', 'ő': 'o', 'ø': 'o', 'ù': 'u', 'ú': 'u', 'û': 'u', 'ü': 'u',
|
||||
'ű': 'u', 'ý': 'y', 'þ': 'th', 'ÿ': 'y'
|
||||
};
|
||||
|
||||
function downcode(string) {
|
||||
return string.toLowerCase().replace(/[^A-Za-z0-9\[\] ]/g,function(a){ return LATIN_MAP[a]||a })
|
||||
};
|
||||
|
||||
$('#nav-tracking-code form').on('submit', function() {
|
||||
var $real_form = $('.wcs-tracking-code-input form');
|
||||
$real_form.find('input#tracking-code').val($(this).find('input').val());
|
||||
$real_form.submit();
|
||||
return false;
|
||||
});
|
||||
$('.gru-content').delegate('div.wcsformsofcategorycell h2', 'click', function() {
|
||||
$(this).parents('div').first().toggleClass('opened');
|
||||
});
|
||||
$('#section-particuliers #search button').on('click', function() {
|
||||
$('#section-particuliers #search input').trigger('paste');
|
||||
return false;
|
||||
});
|
||||
$('#section-particuliers #search input').on('change keyup paste', function() {
|
||||
var q = $(this).val();
|
||||
var $search_results = $('#section-particuliers .search-results');
|
||||
if (!q) {
|
||||
$search_results.empty().hide();
|
||||
$('#section-particuliers .wcsformsofcategorycell').show();
|
||||
} else {
|
||||
$('#section-particuliers .wcsformsofcategorycell').hide();
|
||||
q = downcode(q);
|
||||
var results = Array();
|
||||
$('#section-particuliers .wcsformsofcategorycell li').each(function(idx, elem) {
|
||||
var haystack = downcode($(elem).data('keywords') + ' ' + $(elem).text());
|
||||
if (haystack.search(q) != -1) {
|
||||
results.push(elem);
|
||||
}
|
||||
});
|
||||
if (results.length == 0) {
|
||||
$search_results.empty();
|
||||
$('<p class="no-hits">Aucun résultat.</p>').appendTo($search_results);
|
||||
} else {
|
||||
$search_list = $('<ul>');
|
||||
$(results).each(function(idx, hit) {
|
||||
$(hit).clone().appendTo($search_list);
|
||||
});
|
||||
$search_results.empty();
|
||||
$search_list.appendTo($search_results);
|
||||
}
|
||||
$search_results.show();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$('.communes-toulouse').delegate('select', 'change', function() {
|
||||
var selection = $(this).val();
|
||||
if (selection !== "") {
|
||||
window.location = selection;
|
||||
}
|
||||
});
|
||||
});
|
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 345 KiB |
Before Width: | Height: | Size: 342 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1006 B |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 134 KiB |
|
@ -1,5 +0,0 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
@import 'vars';
|
||||
@import '../includes/publik';
|
||||
@import 'custom';
|
|
@ -1,33 +0,0 @@
|
|||
$list-illus:
|
||||
dechets-fagots,
|
||||
dechets-sacs,
|
||||
encombrants-activites-de-loisir-gros,
|
||||
encombrants-activites-de-loisir-moyen,
|
||||
encombrants-activites-de-loisir-petit,
|
||||
encombrants-armoire-commode,
|
||||
encombrants-aspirateur,
|
||||
encombrants-autre-objet-volumineux,
|
||||
encombrants-canape,
|
||||
encombrants-chaise,
|
||||
encombrants-cuisiniere,
|
||||
encombrants-decoration-interieure,
|
||||
encombrants-equipements-bricolage,
|
||||
encombrants-etagere-table,
|
||||
encombrants-fauteuil,
|
||||
encombrants-lave-vaisselle-four,
|
||||
encombrants-machine-a-laver,
|
||||
encombrants-matelas-sommier,
|
||||
encombrants-mobilier-metallique,
|
||||
encombrants-ordinateur-tele,
|
||||
encombrants-palette,
|
||||
encombrants-petit-electromenager,
|
||||
encombrants-refrigerateur,
|
||||
encombrants-refrigerateur-americain;
|
||||
|
||||
@each $list-illu in $list-illus {
|
||||
form div.widget.#{$list-illu} div.title {
|
||||
background: url(/assets/picto:#{$list-illu}) 0px 20px no-repeat;
|
||||
background-size: contain;
|
||||
height: 150px;
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
$primary-color: #de3559;
|
||||
|
||||
$border-radius: 3px;
|
||||
$font-family: Montserrat, Arial, sans-serif;
|
||||
$width: auto;
|
||||
$mobile-width: none;
|
||||
$font-color: #666;
|
||||
$font-size: 0.812em;
|
||||
$columns-gutter: 3rem;
|
||||
|
||||
$nav-background: transparent;
|
||||
$nav-color: white;
|
||||
|
||||
$font-color: #313435;
|
||||
$link-color: $primary-color;
|
||||
$dark-link-color: #2e2d35;
|
||||
|
||||
$footer-background: white;
|
||||
$footer-color: #333;
|
||||
|
||||
$cell-border: 0;
|
||||
$cell-title-cover-border: false;
|
||||
|
||||
$form-sidebar-position: top;
|
||||
$form-style: light;
|
||||
$widget-background: #f5f5f5;
|
||||
$widget-custom-radio-checkbox: true;
|
||||
$widget-custom-radio-checkbox-color: $primary-color;
|
||||
$widget-unique-checkbox-position: left;
|
||||
$button-background: $primary-color;
|
||||
$button-color: white;
|
||||
|
||||
$nav-mobile-mode: bottom-bar;
|
||||
$nav-after-image: false;
|
||||
$nav-item-transform: uppercase;
|
|
@ -1 +0,0 @@
|
|||
@import 'encombrants';
|
|
@ -1,155 +0,0 @@
|
|||
{
|
||||
"label": "Toulouse",
|
||||
"variables": {
|
||||
"favicon": "toulouse/img/favicon-16.png",
|
||||
"email_header_img": "img/email-header.png",
|
||||
"email_header_width": "100%",
|
||||
"theme_color": "#de3559",
|
||||
"icon_prefix": "img/launcher-icon-",
|
||||
"icon_sizes": [
|
||||
"48",
|
||||
"96",
|
||||
"192",
|
||||
"256",
|
||||
"512"
|
||||
]
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
"COMBO_PUBLIC_TEMPLATES.update": {
|
||||
"homepage_family": {
|
||||
"name": "Page d’accueil famille",
|
||||
"template": "combo/page_template_family.html"
|
||||
}
|
||||
},
|
||||
"COMBO_ASSET_SLOTS.update": {
|
||||
"picto:dechets-fagots": { "label": "Déchets : Fagots" },
|
||||
"picto:dechets-sacs": { "label": "Déchets : Sacs" },
|
||||
"picto:encombrants-activites-de-loisir-gros": { "label": "Encombrants : Activités de loisir - gros" },
|
||||
"picto:encombrants-activites-de-loisir-moyen": { "label": "Encombrants : Activités de loisir - moyen" },
|
||||
"picto:encombrants-activites-de-loisir-petit": { "label": "Encombrants : Activités de loisir - petit" },
|
||||
"picto:encombrants-armoire-commode": { "label": "Encombrants : Armoire / Commode" },
|
||||
"picto:encombrants-aspirateur": { "label": "Encombrants : Aspirateur" },
|
||||
"picto:encombrants-autre-objet-volumineux": { "label": "Encombrants : Autre objet volumineux" },
|
||||
"picto:encombrants-canape": { "label": "Encombrants : Canapé" },
|
||||
"picto:encombrants-chaise": { "label": "Encombrants : Chaise" },
|
||||
"picto:encombrants-cuisiniere": { "label": "Encombrants : Cuisinière" },
|
||||
"picto:encombrants-decoration-interieure": { "label": "Encombrants : Décoration intérieure" },
|
||||
"picto:encombrants-equipements-bricolage": { "label": "Encombrants : Équipemeents de bricolage" },
|
||||
"picto:encombrants-etagere-table": { "label": "Encombrants : Étagère / Table" },
|
||||
"picto:encombrants-fauteuil": { "label": "Encombrants : Fauteuil" },
|
||||
"picto:encombrants-lave-vaisselle-four": { "label": "Encombrants : Lave-vaisselle / Four" },
|
||||
"picto:encombrants-machine-a-laver": { "label": "Encombrants : Machine à laver" },
|
||||
"picto:encombrants-matelas-sommier": { "label": "Encombrants : Matelas / Sommier" },
|
||||
"picto:encombrants-mobilier-metallique": { "label": "Encombrants : Mobilier métallique" },
|
||||
"picto:encombrants-ordinateur-tele": { "label": "Encombrants : Ordinateur / Télévision" },
|
||||
"picto:encombrants-palette": { "label": "Encombrants : Palette" },
|
||||
"picto:encombrants-petit-electromenager": { "label": "Encombrants : Petit électroménager" },
|
||||
"picto:encombrants-refrigerateur": { "label": "Encombrants : Réfrigérateur" },
|
||||
"picto:encombrants-refrigerateur-americain": { "label": "Encombrants : Réfrigérateur américain" }
|
||||
},
|
||||
"WCS_CATEGORY_ASSET_SLOTS": {
|
||||
"picto": {
|
||||
"prefix": "Pictogramme"
|
||||
},
|
||||
"picto-hover": {
|
||||
"prefix": "Pictogramme",
|
||||
"suffix": "Survol"
|
||||
}
|
||||
},
|
||||
"JSON_CELL_TYPES.update": {
|
||||
"toulouse_activites": {
|
||||
"cache_duration": 0,
|
||||
"force_async": true,
|
||||
"name": "DUI (Teamnet Axel) : Activités auxquelles l'enfant est inscrit·e",
|
||||
"url": "{{passerelle_url}}toulouse-axel/{{slug}}/clae_children_activities_info?NameID={{user_nameid}}&booking_date={% now \"Y-m-d\" %}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": true}
|
||||
]
|
||||
},
|
||||
"toulouse_enfant": {
|
||||
"cache_duration": 0,
|
||||
"force_async": true,
|
||||
"name": "DUI (Teamnet Axel) : Informations générales sur l'enfant",
|
||||
"url": "{{passerelle_url}}toulouse-axel/{{slug}}/child_info?NameID={{user_nameid}}&idpersonne={{idpersonne}}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": true}
|
||||
]
|
||||
},
|
||||
"toulouse_enfants": {
|
||||
"cache_duration": 0,
|
||||
"force_async": true,
|
||||
"name": "DUI (Teamnet Axel) : Liste des enfants",
|
||||
"url": "{{passerelle_url}}toulouse-axel/{{slug}}/family_info?NameID={{user_nameid}}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": true}
|
||||
]
|
||||
},
|
||||
"toulouse_foyer": {
|
||||
"cache_duration": 0,
|
||||
"force_async": true,
|
||||
"name": "DUI (Teamnet Axel) : Informations générales sur le foyer",
|
||||
"url": "{{passerelle_url}}toulouse-axel/{{slug}}/family_info?NameID={{user_nameid}}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": true}
|
||||
]
|
||||
},
|
||||
"toulouse_reservations": {
|
||||
"cache_duration": 0,
|
||||
"force_async": true,
|
||||
"name": "DUI (Teamnet Axel) : Réservations sur les 4 prochaines semaines",
|
||||
"url": "{{passerelle_url}}toulouse-axel/{{slug}}/clae_booking_activities_info?NameID={{ user_nameid }}&idpersonne={{ idpersonne }}&start_date={% now \"Y-m-d\" as today %}{{ today|date:\"Y-m-d\" }}&end_date={{ today|add_days:28|date:\"Y-m-d\" }}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": true}
|
||||
]
|
||||
},
|
||||
"toulouse_responsables": {
|
||||
"cache_duration": 0,
|
||||
"force_async": true,
|
||||
"name": "DUI (Teamnet Axel) : Liste des responsables du foyer",
|
||||
"url": "{{passerelle_url}}toulouse-axel/{{slug}}/family_info?NameID={{user_nameid}}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": true}
|
||||
]
|
||||
},
|
||||
"toulouse_revenus": {
|
||||
"cache_duration": 0,
|
||||
"force_async": true,
|
||||
"name": "DUI (Teamnet Axel) : Revenus mensuel pris en compte",
|
||||
"url": "{{passerelle_url}}toulouse-axel/{{slug}}/family_info?NameID={{user_nameid}}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": true}
|
||||
]
|
||||
},
|
||||
"phone-calls": {
|
||||
"url": "{% if callee %}{{passerelle_url}}phonecalls/{{system}}/calls?callee={{callee}}{% endif %}",
|
||||
"name": "Appels téléphoniques",
|
||||
"force_async": false,
|
||||
"varnames": ["callee"],
|
||||
"cache_duration": 0,
|
||||
"form": [
|
||||
{"label": "Slug du connecteur", "varname": "system", "required": true}
|
||||
],
|
||||
"actions": {
|
||||
"refresh": {
|
||||
"url": "{{passerelle_url}}phonecalls/{{system}}/calls?callee={{ callee }}",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dpark": {
|
||||
"name": "Information abonnement stationnement",
|
||||
"url": "{{ passerelle_url }}dpark/{{ dpark_instance }}/infos/{{ user_nameid }}/",
|
||||
"varnames": [],
|
||||
"form": [
|
||||
{"label": "Slug du connecteur Dpark", "varname": "dpark_instance"},
|
||||
{"label": "Url du formulaire d'appairage", "varname": "pairing_form_url"}
|
||||
],
|
||||
"log_errors": true,
|
||||
"cache_duration": 30,
|
||||
"force_async": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,84 +0,0 @@
|
|||
$(function() {
|
||||
// from django/contrib/admin/static/admin/js/urlify.js
|
||||
var LATIN_MAP = {
|
||||
'À': 'A', 'Á': 'A', 'Â': 'A', 'Ã': 'A', 'Ä': 'A', 'Å': 'A', 'Æ': 'AE',
|
||||
'Ç': 'C', 'È': 'E', 'É': 'E', 'Ê': 'E', 'Ë': 'E', 'Ì': 'I', 'Í': 'I',
|
||||
'Î': 'I', 'Ï': 'I', 'Ð': 'D', 'Ñ': 'N', 'Ò': 'O', 'Ó': 'O', 'Ô': 'O',
|
||||
'Õ': 'O', 'Ö': 'O', 'Ő': 'O', 'Ø': 'O', 'Ù': 'U', 'Ú': 'U', 'Û': 'U',
|
||||
'Ü': 'U', 'Ű': 'U', 'Ý': 'Y', 'Þ': 'TH', 'Ÿ': 'Y', 'ß': 'ss', 'à': 'a',
|
||||
'á': 'a', 'â': 'a', 'ã': 'a', 'ä': 'a', 'å': 'a', 'æ': 'ae', 'ç': 'c',
|
||||
'è': 'e', 'é': 'e', 'ê': 'e', 'ë': 'e', 'ì': 'i', 'í': 'i', 'î': 'i',
|
||||
'ï': 'i', 'ð': 'd', 'ñ': 'n', 'ò': 'o', 'ó': 'o', 'ô': 'o', 'õ': 'o',
|
||||
'ö': 'o', 'ő': 'o', 'ø': 'o', 'ù': 'u', 'ú': 'u', 'û': 'u', 'ü': 'u',
|
||||
'ű': 'u', 'ý': 'y', 'þ': 'th', 'ÿ': 'y'
|
||||
};
|
||||
|
||||
function downcode(string) {
|
||||
return string.toLowerCase().replace(/[^A-Za-z0-9\[\] ]/g,function(a){ return LATIN_MAP[a]||a })
|
||||
};
|
||||
|
||||
$('#actu img').on('click', function() {
|
||||
set_newsitems();
|
||||
$('#main-content').toggleClass('news-open');
|
||||
$(this).parent().toggleClass('open');
|
||||
});
|
||||
function set_newsitems() {
|
||||
var $feed_content = $('footer .feed-content');
|
||||
if ($feed_content.length == 0) return;
|
||||
$('#actu-content .feed-content').replaceWith($feed_content);
|
||||
$('#actu-content a.rss').attr('href', $('[data-feed-url]').data('feed-url'));
|
||||
$feed_content.show();
|
||||
}
|
||||
$('#nav-tracking-code form').on('submit', function() {
|
||||
var $real_form = $('.wcs-tracking-code-input form');
|
||||
$real_form.find('input#tracking-code').val($(this).find('input').val());
|
||||
$real_form.submit();
|
||||
return false;
|
||||
});
|
||||
$('.gru-content').delegate('div.wcsformsofcategorycell h2', 'click', function() {
|
||||
$(this).parents('div').first().toggleClass('opened');
|
||||
});
|
||||
$('#section-particuliers #search button').on('click', function() {
|
||||
$('#section-particuliers #search input').trigger('paste');
|
||||
return false;
|
||||
});
|
||||
$('#section-particuliers #search input').on('change keyup paste', function() {
|
||||
var q = $(this).val();
|
||||
var $search_results = $('#section-particuliers .search-results');
|
||||
if (!q) {
|
||||
$search_results.empty().hide();
|
||||
$('#section-particuliers .wcsformsofcategorycell').show();
|
||||
} else {
|
||||
$('#section-particuliers .wcsformsofcategorycell').hide();
|
||||
q = downcode(q);
|
||||
var results = Array();
|
||||
$('#section-particuliers .wcsformsofcategorycell li').each(function(idx, elem) {
|
||||
var haystack = downcode($(elem).data('keywords') + ' ' + $(elem).text());
|
||||
if (haystack.search(q) != -1) {
|
||||
results.push(elem);
|
||||
}
|
||||
});
|
||||
if (results.length == 0) {
|
||||
$search_results.empty();
|
||||
$('<p class="no-hits">Aucun résultat.</p>').appendTo($search_results);
|
||||
} else {
|
||||
$search_list = $('<ul>');
|
||||
$(results).each(function(idx, hit) {
|
||||
$(hit).clone().appendTo($search_list);
|
||||
});
|
||||
$search_results.empty();
|
||||
$search_list.appendTo($search_results);
|
||||
}
|
||||
$search_results.show();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$('#toplinks').on('click', function(e) {
|
||||
var $a = $('#toplinks a').first();
|
||||
if ($a.length == 1) {
|
||||
window.location = $a.attr('href');
|
||||
}
|
||||
ev.stopPropagation();
|
||||
return false;
|
||||
});
|
||||
});
|
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB |