summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-07-14 17:15:15 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-07-14 17:15:15 +0200
commit3344638c00754b1fe15f547bf07a9ac78e5d9840 (patch)
tree7aecbe2ab8b49bcaa6a4f931884cd19b4a29b1a8
parentf905aad90b8ea30e672061ca2efef91fbaa7d144 (diff)
downloadChimère - projet de référence-3344638c00754b1fe15f547bf07a9ac78e5d9840.tar.bz2
Chimère - projet de référence-3344638c00754b1fe15f547bf07a9ac78e5d9840.zip
Ajout de liens sur la gauche
-rw-r--r--chimere_example_static/chimere/css/extra-styles.css13
-rw-r--r--templates/chimere/blocks/actions.html10
2 files changed, 20 insertions, 3 deletions
diff --git a/chimere_example_static/chimere/css/extra-styles.css b/chimere_example_static/chimere/css/extra-styles.css
index 1264f4b..594696b 100644
--- a/chimere_example_static/chimere/css/extra-styles.css
+++ b/chimere_example_static/chimere/css/extra-styles.css
@@ -406,13 +406,20 @@ span#permalink, .navbar-nav .lbl, #areas-div label, #permalink, #simple_button,
content:"\f14e";
}
+#home-lnk .fa-home{
+ color:#99CA3C;
+}
+
+.fa-twitter{
+ color:#2ca8d2;
+}
+
#maps-lnk label, #contact-lnk .lbl, #simple_button-lnk .lbl, #rss-lnk .lbl{
display:none;
}
@media (min-width: 1552px) {
- #maps-lnk label,
- #contact-lnk .lbl{
+ #maps-lnk label{
display:inline;
}
}
@@ -433,7 +440,7 @@ span#permalink, .navbar-nav .lbl, #areas-div label, #permalink, #simple_button,
}
@media (max-width: 767px) {
- #news-lnk .lbl, #simple_button-lnk .lbl, #maps-lnk label, #contact-lnk .lbl{
+ #news-lnk .lbl, #simple_button-lnk .lbl, #maps-lnk label{
display:inline-block;
}
.selection-sep{
diff --git a/templates/chimere/blocks/actions.html b/templates/chimere/blocks/actions.html
index 580b3ac..e311c25 100644
--- a/templates/chimere/blocks/actions.html
+++ b/templates/chimere/blocks/actions.html
@@ -50,6 +50,16 @@
</a>
</li>
{% endfor %}
+ <li id='twitter-lnk'>
+ <a href='https://twitter.com/CarteOuverte' target='_blank' onclick='jQuery("#map").chimere("saveExtent");'>
+ <span class='fa fa-chimere-action fa-twitter'></span>
+ </a>
+ </li>
+ <li id='home-lnk'>
+ <a href='http://www.carte-ouverte.org' onclick='jQuery("#map").chimere("saveExtent");'>
+ <span class='fa fa-chimere-action fa-home'></span>
+ </a>
+ </li>
</ul>
</div>