Nouvelles cartes

This commit is contained in:
Evarin 2017-05-16 20:55:44 +02:00
parent ce563447b4
commit 2d36898bc4
6 changed files with 129 additions and 122 deletions

View file

@ -1,5 +1,5 @@
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Dosis:300,500,700|Podkova:700");
@import url("https://fonts.googleapis.com/css?family=Dosis:300,500,700|Podkova:700|Alegreya:700|Lato:300,300i,700");
/* line 5, ../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
@ -81,7 +81,7 @@ body {
/* line 19, ../../sass/screen.scss */
h1, h2, h3, h4 {
font-family: Podkova, serif;
font-family: Alegreya, serif;
line-height: 1.2;
}
@ -319,8 +319,9 @@ ul.infos li.lieu {
/* line 248, ../../sass/screen.scss */
article.stage {
font-weight: normal;
font-family: "Lato", sans-serif;
}
/* line 251, ../../sass/screen.scss */
/* line 252, ../../sass/screen.scss */
article.stage h2 {
background: #ddda78;
color: #000;
@ -329,7 +330,7 @@ article.stage h2 {
margin-bottom: 25px;
text-shadow: -3px 3px 0 rgba(255, 255, 255, 0.3);
}
/* line 259, ../../sass/screen.scss */
/* line 260, ../../sass/screen.scss */
article.stage h3 {
border-bottom: 2px solid #cb954e;
margin-left: -25px;
@ -339,58 +340,58 @@ article.stage h3 {
color: #000;
text-shadow: -3px 3px 0 rgba(0, 0, 0, 0.1);
}
/* line 270, ../../sass/screen.scss */
/* line 271, ../../sass/screen.scss */
article.stage #stage-map {
height: 300px;
width: 100%;
}
/* line 275, ../../sass/screen.scss */
/* line 276, ../../sass/screen.scss */
article.stage section {
background: #eee;
padding: 14px;
max-width: 600px;
margin: 30px auto;
}
/* line 281, ../../sass/screen.scss */
/* line 282, ../../sass/screen.scss */
article.stage section:first-child {
margin-top: 0;
}
/* line 283, ../../sass/screen.scss */
/* line 284, ../../sass/screen.scss */
article.stage section:first-child h3 {
margin-top: 0;
}
/* line 288, ../../sass/screen.scss */
/* line 289, ../../sass/screen.scss */
article.stage section.misc {
padding-top: 0;
}
/* line 292, ../../sass/screen.scss */
/* line 293, ../../sass/screen.scss */
article.stage section .chapo, article.stage section .avis-texte {
margin-bottom: 15px;
background: #fff;
padding: 20px;
}
/* line 297, ../../sass/screen.scss */
/* line 298, ../../sass/screen.scss */
article.stage section .chapo {
font-size: 1.1em;
font-weight: 500;
font-variant: small-caps;
}
/* line 302, ../../sass/screen.scss */
/* line 303, ../../sass/screen.scss */
article.stage section .avis-texte {
border-left: 1px solid #ccc;
padding-left: 15px;
}
/* line 307, ../../sass/screen.scss */
/* line 308, ../../sass/screen.scss */
article.stage section .plusmoins {
max-width: 600px;
margin: 15px auto;
}
/* line 311, ../../sass/screen.scss */
/* line 312, ../../sass/screen.scss */
article.stage section .plusmoins > div {
display: table;
width: 100%;
}
/* line 315, ../../sass/screen.scss */
/* line 316, ../../sass/screen.scss */
article.stage section .plusmoins > div:before {
content: "&nbsp";
width: 100px;
@ -399,72 +400,72 @@ article.stage section .plusmoins > div:before {
text-align: right;
padding-right: 12px;
}
/* line 324, ../../sass/screen.scss */
/* line 325, ../../sass/screen.scss */
article.stage section .plusmoins > div > *, article.stage section .plusmoins > div:before {
display: table-cell;
}
/* line 328, ../../sass/screen.scss */
/* line 329, ../../sass/screen.scss */
article.stage section .plusmoins > div > div {
padding: 15px;
color: #fff;
}
/* line 331, ../../sass/screen.scss */
/* line 332, ../../sass/screen.scss */
article.stage section .plusmoins > div > div h4 {
font-weight: normal;
margin-left: -5px;
font-size: 0.9em;
opacity: 0.9;
}
/* line 337, ../../sass/screen.scss */
/* line 338, ../../sass/screen.scss */
article.stage section .plusmoins > div > div p {
font-weight: bold;
margin: 2px;
}
/* line 345, ../../sass/screen.scss */
/* line 346, ../../sass/screen.scss */
article.stage section .plusmoins .plus > div {
background: #1775c6;
}
/* line 348, ../../sass/screen.scss */
/* line 349, ../../sass/screen.scss */
article.stage section .plusmoins .plus:before {
content: "Les +";
vertical-align: bottom;
color: #1567af;
}
/* line 355, ../../sass/screen.scss */
/* line 356, ../../sass/screen.scss */
article.stage section .plusmoins .moins > div {
background: #df076c;
}
/* line 358, ../../sass/screen.scss */
/* line 359, ../../sass/screen.scss */
article.stage section .plusmoins .moins:before {
content: "Les -";
vertical-align: top;
color: #c70660;
}
/* line 370, ../../sass/screen.scss */
/* line 371, ../../sass/screen.scss */
.article-wrapper {
display: table;
margin-left: -15px;
}
/* line 374, ../../sass/screen.scss */
/* line 375, ../../sass/screen.scss */
.article-wrapper .toc-wrapper, .article-wrapper article {
display: table-cell;
vertical-align: top;
}
/* line 378, ../../sass/screen.scss */
/* line 379, ../../sass/screen.scss */
.article-wrapper .toc-wrapper {
max-width: 250px;
width: 25%;
background: #f6f6f6;
padding: 5px;
}
/* line 384, ../../sass/screen.scss */
/* line 385, ../../sass/screen.scss */
.article-wrapper .toc {
position: -webkit-sticky;
position: sticky;
top: 12px;
}
/* line 389, ../../sass/screen.scss */
/* line 390, ../../sass/screen.scss */
.article-wrapper .toc a {
display: block;
color: inherit;
@ -473,46 +474,46 @@ article.stage section .plusmoins .moins:before {
padding: 7px;
line-height: 1;
}
/* line 397, ../../sass/screen.scss */
/* line 398, ../../sass/screen.scss */
.article-wrapper .toc a:hover {
background-color: #8fcc33;
}
/* line 401, ../../sass/screen.scss */
/* line 402, ../../sass/screen.scss */
.article-wrapper .toc .toc-h1 a {
font-weight: 900;
}
/* line 404, ../../sass/screen.scss */
/* line 405, ../../sass/screen.scss */
.article-wrapper .toc .toc-h2 {
margin-top: 15px;
}
/* line 407, ../../sass/screen.scss */
/* line 408, ../../sass/screen.scss */
.article-wrapper .toc .toc-h3 a {
font-weight: 300;
}
/* line 410, ../../sass/screen.scss */
/* line 411, ../../sass/screen.scss */
.article-wrapper .toc .toc-active a {
background-color: #d2ebad;
}
/* line 418, ../../sass/screen.scss */
/* line 419, ../../sass/screen.scss */
.edit-box {
background: #eee;
margin: 10px;
padding: 10px 20px;
text-align: center;
}
/* line 424, ../../sass/screen.scss */
/* line 425, ../../sass/screen.scss */
.edit-box.public {
background: #cae3f9;
border: 1px solid #125b9b;
}
/* line 429, ../../sass/screen.scss */
/* line 430, ../../sass/screen.scss */
.edit-box.prive {
background: #fdcfe4;
border: 1px solid #ad0654;
}
/* line 442, ../../sass/screen.scss */
/* line 443, ../../sass/screen.scss */
input, textarea, select, div.tinymce, option, optgroup:before {
background: #fff;
font-size: 1em;
@ -522,13 +523,13 @@ input, textarea, select, div.tinymce, option, optgroup:before {
padding: 5px;
text-align: left;
}
/* line 451, ../../sass/screen.scss */
/* line 452, ../../sass/screen.scss */
input:focus, input.mce-edit-focus, textarea:focus, textarea.mce-edit-focus, select:focus, select.mce-edit-focus, div.tinymce:focus, div.tinymce.mce-edit-focus, option:focus, option.mce-edit-focus, optgroup:before:focus, optgroup:before.mce-edit-focus {
background-color: #e9f5d6;
outline: none;
}
/* line 458, ../../sass/screen.scss */
/* line 459, ../../sass/screen.scss */
input[type='text'], input[type='password'],
input[type='email'], textarea, select {
border: none;
@ -538,7 +539,7 @@ input[type='email'], textarea, select {
transition: border 1s ease-out, background 1s ease-out;
}
/* line 467, ../../sass/screen.scss */
/* line 468, ../../sass/screen.scss */
select {
-moz-appearance: none;
appearance: none;
@ -546,21 +547,21 @@ select {
margin-right: 5px;
cursor: pointer;
}
/* line 474, ../../sass/screen.scss */
/* line 475, ../../sass/screen.scss */
select option {
padding: 3px;
white-space: pre-wrap;
}
/* line 480, ../../sass/screen.scss */
/* line 481, ../../sass/screen.scss */
select optgroup option {
padding-left: 10px;
}
/* line 483, ../../sass/screen.scss */
/* line 484, ../../sass/screen.scss */
select optgroup:before {
font-weight: bold;
}
/* line 489, ../../sass/screen.scss */
/* line 490, ../../sass/screen.scss */
input[type="submit"], .btn {
font: 19px "Dosis", sans-serif;
background-color: #8fcc33;
@ -573,14 +574,14 @@ input[type="submit"], .btn {
margin-right: 0;
}
/* line 501, ../../sass/screen.scss */
/* line 502, ../../sass/screen.scss */
p input[type="submit"],
p .btn,
h1 .btn {
display: inline-block;
}
/* line 507, ../../sass/screen.scss */
/* line 508, ../../sass/screen.scss */
.edit-btn {
border-color: #706c00;
color: #000;
@ -589,14 +590,14 @@ h1 .btn {
background-origin: content-box;
background-size: contain;
}
/* line 515, ../../sass/screen.scss */
/* line 516, ../../sass/screen.scss */
.edit-btn:after {
content: "";
width: 30px;
display: inline-block;
}
/* line 522, ../../sass/screen.scss */
/* line 523, ../../sass/screen.scss */
textarea, div.tinymce {
border: none;
border-left: 1px solid #8fcc33;
@ -605,20 +606,20 @@ textarea, div.tinymce {
transition: border 1s ease-out, background 1s ease-out;
}
/* line 530, ../../sass/screen.scss */
/* line 531, ../../sass/screen.scss */
textarea {
height: 200px;
resize: vertical;
}
/* line 538, ../../sass/screen.scss */
/* line 539, ../../sass/screen.scss */
form .field {
margin: 5px 0;
display: flex;
background: #fff;
padding: 10px;
}
/* line 544, ../../sass/screen.scss */
/* line 545, ../../sass/screen.scss */
form .field label, form .field .label {
display: inline-block;
width: 250px;
@ -627,39 +628,39 @@ form .field label, form .field .label {
padding-top: 5px;
flex-shrink: 0;
}
/* line 552, ../../sass/screen.scss */
/* line 553, ../../sass/screen.scss */
form .field label.required:before, form .field .label.required:before {
margin-right: 5px;
content: "*";
color: #f70978;
}
/* line 558, ../../sass/screen.scss */
/* line 559, ../../sass/screen.scss */
form .field label {
font-family: Podkova, serif;
font-family: Alegreya, serif;
font-weight: bold;
}
/* line 562, ../../sass/screen.scss */
/* line 563, ../../sass/screen.scss */
form .field .help_text {
font-style: italic;
font-size: 0.9em;
}
/* line 566, ../../sass/screen.scss */
/* line 567, ../../sass/screen.scss */
form .field .input {
display: inline-block;
flex-grow: 1;
margin-right: 10px;
}
/* line 576, ../../sass/screen.scss */
/* line 577, ../../sass/screen.scss */
ul.as-selections {
display: flex;
flex-wrap: wrap;
}
/* line 580, ../../sass/screen.scss */
/* line 581, ../../sass/screen.scss */
ul.as-selections li {
display: inline-block;
}
/* line 584, ../../sass/screen.scss */
/* line 585, ../../sass/screen.scss */
ul.as-selections .as-selection-item {
padding: 0 5px;
background: #f99b20;
@ -668,52 +669,52 @@ ul.as-selections .as-selection-item {
border-radius: 2px;
font-weight: 500;
}
/* line 592, ../../sass/screen.scss */
/* line 593, ../../sass/screen.scss */
ul.as-selections .as-selection-item a.as-close {
color: #fff;
-webkit-cursor: pointer;
cursor: pointer;
margin-right: 5px;
}
/* line 599, ../../sass/screen.scss */
/* line 600, ../../sass/screen.scss */
ul.as-selections .as-selection-item.selected {
background: #8fcc33;
}
/* line 604, ../../sass/screen.scss */
/* line 605, ../../sass/screen.scss */
ul.as-selections .as-original {
flex-grow: 1;
min-width: 200px;
}
/* line 608, ../../sass/screen.scss */
/* line 609, ../../sass/screen.scss */
ul.as-selections .as-original input {
width: 100%;
}
/* line 614, ../../sass/screen.scss */
/* line 615, ../../sass/screen.scss */
div.as-results {
position: relative;
}
/* line 616, ../../sass/screen.scss */
/* line 617, ../../sass/screen.scss */
div.as-results ul {
position: absolute;
width: 100%;
background: #fff;
border: 1px solid #d2ebad;
}
/* line 623, ../../sass/screen.scss */
/* line 624, ../../sass/screen.scss */
div.as-results ul li {
padding: 3px 5px;
}
/* line 629, ../../sass/screen.scss */
/* line 630, ../../sass/screen.scss */
div.as-results ul li.as-result-item.active {
background: #fddeb5;
}
/* line 634, ../../sass/screen.scss */
/* line 635, ../../sass/screen.scss */
div.as-results ul li.as-message {
font-style: italic;
}
/* line 644, ../../sass/screen.scss */
/* line 645, ../../sass/screen.scss */
.window {
display: none;
position: fixed;
@ -724,11 +725,11 @@ div.as-results ul li.as-message {
left: 0;
z-index: 50;
}
/* line 654, ../../sass/screen.scss */
/* line 655, ../../sass/screen.scss */
.window.visible {
display: block;
}
/* line 658, ../../sass/screen.scss */
/* line 659, ../../sass/screen.scss */
.window .window-bg {
background: #000;
opacity: 0.7;
@ -739,7 +740,7 @@ div.as-results ul li.as-message {
top: 0;
z-index: -1;
}
/* line 669, ../../sass/screen.scss */
/* line 670, ../../sass/screen.scss */
.window .window-content {
position: relative;
margin: 0 auto;
@ -753,11 +754,11 @@ div.as-results ul li.as-message {
max-height: 100%;
overflow: auto;
}
/* line 683, ../../sass/screen.scss */
/* line 684, ../../sass/screen.scss */
.window .window-content form label, .window .window-content form .label {
width: 150px;
}
/* line 689, ../../sass/screen.scss */
/* line 690, ../../sass/screen.scss */
.window .window-closer {
position: absolute;
top: 0;
@ -765,65 +766,65 @@ div.as-results ul li.as-message {
padding: 12px;
z-index: 3;
}
/* line 695, ../../sass/screen.scss */
/* line 696, ../../sass/screen.scss */
.window .window-closer:after {
content: "×";
}
/* line 706, ../../sass/screen.scss */
/* line 707, ../../sass/screen.scss */
#lieu_widget .lieu-ui {
position: relative;
}
/* line 708, ../../sass/screen.scss */
/* line 709, ../../sass/screen.scss */
#lieu_widget .lieu-ui .map {
height: 400px;
width: 100%;
}
/* line 712, ../../sass/screen.scss */
/* line 713, ../../sass/screen.scss */
#lieu_widget .lieu-ui.hidden {
display: none;
}
/* line 715, ../../sass/screen.scss */
/* line 716, ../../sass/screen.scss */
#lieu_widget .lieu-ui .masked {
visibility: hidden;
}
/* line 720, ../../sass/screen.scss */
/* line 721, ../../sass/screen.scss */
#lieu_widget .lieu-choixmodif {
display: none;
}
/* line 725, ../../sass/screen.scss */
/* line 726, ../../sass/screen.scss */
#lieu_widget.modif .lieu-choixmodif {
display: unset;
}
/* line 730, ../../sass/screen.scss */
/* line 731, ../../sass/screen.scss */
#lieu_widget.modif .lieu-ui, #lieu_widget.attente .lieu-ui {
display: none;
}
/* line 737, ../../sass/screen.scss */
/* line 738, ../../sass/screen.scss */
#lieu_widget.edit .lieu-ui .lieu-acinput {
display: none;
}
/* line 740, ../../sass/screen.scss */
/* line 741, ../../sass/screen.scss */
#lieu_widget.edit .lieu-ui .map {
height: 200px;
}
/* line 746, ../../sass/screen.scss */
/* line 747, ../../sass/screen.scss */
#lieu_widget #avis_lieu_vide {
display: none;
}
/* line 750, ../../sass/screen.scss */
/* line 751, ../../sass/screen.scss */
#lieu_widget .message {
background: #fddeb5;
padding: 5px;
font-style: italic;
font-size: 0.9em;
}
/* line 756, ../../sass/screen.scss */
/* line 757, ../../sass/screen.scss */
#lieu_widget .message.hidden {
display: none;
}
/* line 762, ../../sass/screen.scss */
/* line 763, ../../sass/screen.scss */
a.lieu-change {
color: #fff;
background: #f99b20;
@ -836,25 +837,25 @@ a.lieu-change {
border-radius: 5px;
margin-right: 7px;
}
/* line 774, ../../sass/screen.scss */
/* line 775, ../../sass/screen.scss */
a.lieu-change.ajout:before {
content: "+";
margin-right: 5px;
}
/* line 780, ../../sass/screen.scss */
/* line 781, ../../sass/screen.scss */
#stages-map {
width: 100%;
height: 600px;
max-height: 90vh;
}
/* line 787, ../../sass/screen.scss */
/* line 788, ../../sass/screen.scss */
#id_stage-thematiques {
display: none;
}
/* line 793, ../../sass/screen.scss */
/* line 794, ../../sass/screen.scss */
.homeh1 {
display: flex;
justify-content: space-between;
@ -864,22 +865,22 @@ a.lieu-change.ajout:before {
border-bottom: 3px solid #000;
margin-bottom: 15px;
}
/* line 802, ../../sass/screen.scss */
/* line 803, ../../sass/screen.scss */
.homeh1 > * {
display: inline-block;
}
/* line 805, ../../sass/screen.scss */
/* line 806, ../../sass/screen.scss */
.homeh1 p {
text-align: right;
}
/* line 810, ../../sass/screen.scss */
/* line 811, ../../sass/screen.scss */
.betacadre {
background: #fa6cae;
padding: 10px;
}
/* line 815, ../../sass/screen.scss */
/* line 816, ../../sass/screen.scss */
.entrer {
background: #fff;
max-width: 500px;
@ -888,82 +889,82 @@ a.lieu-change.ajout:before {
margin: 15px auto;
}
/* line 823, ../../sass/screen.scss */
/* line 824, ../../sass/screen.scss */
article.promo {
display: block;
font-size: 1.1em;
}
/* line 827, ../../sass/screen.scss */
/* line 828, ../../sass/screen.scss */
article.promo .explications {
display: table;
}
/* line 830, ../../sass/screen.scss */
/* line 831, ../../sass/screen.scss */
article.promo .explications:first-child {
direction: rtl;
}
/* line 832, ../../sass/screen.scss */
/* line 833, ../../sass/screen.scss */
article.promo .explications:first-child > * {
direction: ltr;
}
/* line 837, ../../sass/screen.scss */
/* line 838, ../../sass/screen.scss */
article.promo .explications > div {
display: table-cell;
vertical-align: middle;
text-align: center;
}
/* line 842, ../../sass/screen.scss */
/* line 843, ../../sass/screen.scss */
article.promo .explications > div p {
margin: 15px 15px;
}
/* line 850, ../../sass/screen.scss */
/* line 851, ../../sass/screen.scss */
.faq-toc {
display: block;
max-width: 700px;
margin: 0 auto;
}
/* line 854, ../../sass/screen.scss */
/* line 855, ../../sass/screen.scss */
.faq-toc ul {
margin: 20px;
}
/* line 858, ../../sass/screen.scss */
/* line 859, ../../sass/screen.scss */
.faq-toc ul li a {
color: #000;
display: block;
padding: 5px;
}
/* line 864, ../../sass/screen.scss */
/* line 865, ../../sass/screen.scss */
.faq-toc ul li.toc-h1 {
display: none;
}
/* line 868, ../../sass/screen.scss */
/* line 869, ../../sass/screen.scss */
.faq-toc ul li.toc-h2 a {
background: #fcc883;
}
/* line 872, ../../sass/screen.scss */
/* line 873, ../../sass/screen.scss */
.faq-toc ul li.toc-h3 a {
padding-left: 10px;
background: #fff;
font-weight: normal;
}
/* line 878, ../../sass/screen.scss */
/* line 879, ../../sass/screen.scss */
.faq-toc ul li a:hover {
color: #fff;
background: #f99b20 !important;
}
/* line 887, ../../sass/screen.scss */
/* line 888, ../../sass/screen.scss */
.faq article {
background: #fff;
padding: 15px;
}
/* line 890, ../../sass/screen.scss */
/* line 891, ../../sass/screen.scss */
.faq article h2 {
background: #fcc883;
margin: -15px;
padding: 15px;
}
/* line 896, ../../sass/screen.scss */
/* line 897, ../../sass/screen.scss */
.faq article h3 {
background: #1a82dd;
color: #fff;
@ -971,15 +972,15 @@ article.promo .explications > div p {
margin-top: 30px;
padding: 10px 15px;
}
/* line 903, ../../sass/screen.scss */
/* line 904, ../../sass/screen.scss */
.faq article h3:nth-child(2) {
margin-top: 0;
}
/* line 908, ../../sass/screen.scss */
/* line 909, ../../sass/screen.scss */
.faq article ul {
padding-left: 20px;
}
/* line 910, ../../sass/screen.scss */
/* line 911, ../../sass/screen.scss */
.faq article ul li {
list-style: initial;
}

View file

@ -15,6 +15,7 @@ function SelectLieuWidget(STATIC_ROOT, API_LIEU, target, callback) {
var message_el = $el.find(".lieu-message");
var closer = $el.find(".window-closer");
var cmodif_el = $el.find(".lieu-choixmodif");
var marqueurs = L.markerClusterGroup();
// Variables globales
var ui_ready = false;
@ -57,8 +58,9 @@ function SelectLieuWidget(STATIC_ROOT, API_LIEU, target, callback) {
// Affiche la carte
map = L.map(map_el[0]).setView([48.8422411,2.3430553], 13);
var layer = new L.StamenTileLayer("terrain");
var layer = new L.TileLayer("https://korona.geog.uni-heidelberg.de/tiles/roads/x={x}&y={y}&z={z}", {attribution: 'Map tiles by <a href="http://korona.geog.uni-heidelberg.de/">GIScience Heidelberg</a>'});
map.addLayer(layer);
map.addLayer(marqueurs);
// Autocomplete
autocomplete = new google.maps.places.Autocomplete(input[0]);
@ -219,7 +221,7 @@ function SelectLieuWidget(STATIC_ROOT, API_LIEU, target, callback) {
}
desc.append($("<p>").append(activeBtn));
marqueur.bindPopup(desc[0]).addTo(map);
marqueur.bindPopup(desc[0]).addTo(marqueurs);
}
// Remet le marqueur à sa place originale (s'il a été déplacé)

View file

@ -13,7 +13,7 @@
var STATIC_ROOT = "{{ STATIC_URL|escapejs }}";
function initStageMap(lieux) {
var map = L.map("stage-map");
var layer = new L.StamenTileLayer("terrain");
var layer = new L.TileLayer("https://korona.geog.uni-heidelberg.de/tiles/roads/x={x}&y={y}&z={z}", {attribution: 'Map tiles by <a href="http://korona.geog.uni-heidelberg.de/">GIScience Heidelberg</a>'});
map.addLayer(layer);
function makeIcon(couleur){

View file

@ -43,6 +43,9 @@
<p>Il est fortement conseillé de renseigner une adresse autre que celle de l'ENS, pour que vous puissiez être contacté aussi après la fin de votre scolarité.</p>
<p>Si vous voulez laisser des consignes aux personnes qui vous contacteraient (ex: "Je ne réponds pas aux questions sur..."), précisez-le dans votre profil.</p>
<h3>Est-ce que je peux écrire anonymement&nbsp;?</h3>
<p>Non, ce n'est pas possible et ne le sera pas. Ce n'est pas dans l'esprit du site.</p>
<h3>Que mettre dans mon profil&nbsp;?</h3>
<p>Vos centres d'intérêt, un peu de votre personnalité, pour que les lecteurs puissent savoir à quel point vos avis leur correspondent.</p>
<p>Également, vous pouvez y mettre des consignes quant à comment vous contacter, si vous n'avez pas envie de répondre à n'importe quelle demande.</p>

View file

@ -7,11 +7,13 @@
<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?libraries=places&key=AIzaSyDd4innPShfHcW8KDJB833vZHZSsqt-ACw"></script>
<script type="text/javascript" src="{% static "js/leaflet.js" %}"></script>
<script type="text/javascript" src="{% static "js/leaflet-gplaces-autocomplete.js" %}"></script>
<script type="text/javascript" src="{% static "js/leaflet.markercluster.js" %}"></script>
<script type="text/javascript" src="{% static "jquery-autosuggest/js/jquery.autoSuggest.minified.js" %}"> </script>
<link rel="stylesheet" type="text/css" href="{% static "css/leaflet.css" %}" />
<script type="text/javascript" src="{% static "js/tile.stamen.js" %}"></script>
<script type="text/javascript" src="{% static "js/tinymce/tinymce.min.js" %}"></script>
<script type="text/javascript" src="{% static "js/select_lieu.js" %}"></script>
<link rel="stylesheet" type="text/css" href="{% static "css/MarkerCluster.css" %}" />
<link rel="stylesheet" type="text/css" href="{% static "css/MarkerCluster.Default.css" %}" />
<script type="text/javascript">
$(function() {
var has_changes = true;

View file

@ -10,13 +10,12 @@
<link rel="stylesheet" type="text/css" href="{% static "css/leaflet.css" %}" />
<link rel="stylesheet" type="text/css" href="{% static "css/MarkerCluster.css" %}" />
<link rel="stylesheet" type="text/css" href="{% static "css/MarkerCluster.Default.css" %}" />
<script type="text/javascript" src="{% static "js/tile.stamen.js" %}"></script>
<script type="text/javascript">
$(function () {
var STATIC_ROOT = "{{ STATIC_URL|escapejs }}";
var API_LIEU = "{% url 'avisstage:api_dispatch_list' resource_name="lieu" api_name="v1" %}";
var map = L.map("stages-map").panTo([30, 0]).setZoom(2);
var layer = new L.StamenTileLayer("terrain");
var map = L.map("stages-map").panTo([30, 15]).setZoom(2);
var layer = new L.TileLayer("https://korona.geog.uni-heidelberg.de/tiles/roads/x={x}&y={y}&z={z}", {attribution: 'Map tiles by <a href="http://korona.geog.uni-heidelberg.de/">GIScience Heidelberg</a>'});
map.addLayer(layer);
function makeIcon(couleur){