--- a/src/ldt/ldt/templates/ldt/ldt_base.html Wed Mar 02 16:32:28 2011 +0100
+++ b/src/ldt/ldt/templates/ldt/ldt_base.html Wed Mar 02 18:58:29 2011 +0100
@@ -61,6 +61,21 @@
}});
});
+ $(document).ready(function() {
+
+ $("#version").css('visibility','hidden');
+
+ $("#versionwrapper").hover(
+ function(event) {
+ $("#version",event.target).css('visibility','visible');
+ },
+ function(event) {
+ $("#version",event.target).css('visibility','hidden');
+ }
+ );
+
+ });
+
</script>
{% endblock %}
@@ -131,8 +146,10 @@
<div class="footer_img">
<a href="http://www.iri.centrepompidou.fr"><img src="{{LDT_MEDIA_PREFIX}}/img/logo_IRI_footer.png" alt="Logo IRI" /></a>
</div>
- <div class="version" id="version"><a>{{VERSION}}</a></div>
- <div style="float: right;" class="small">©2010 <a style="text-decoration: none; color: #4F5155;" href="http://www.iri.centrepompidou.fr">IRI / Centre Pompidou</a></div>
+ <div style="float: right; text-align: right;" class="small" id="copyright_version">
+ <div>©2011 <a style="text-decoration: none; color: #4F5155;" href="http://www.iri.centrepompidou.fr">IRI</a></div>
+ <div id="versionwrapper"><span class="version" id="version">{{VERSION}}</span></div>
+ </div>
{% endblock %}
</div>
</div>
--- a/web/static/ldt/css/style.css Wed Mar 02 16:32:28 2011 +0100
+++ b/web/static/ldt/css/style.css Wed Mar 02 18:58:29 2011 +0100
@@ -106,44 +106,9 @@
border-top: 1px solid gray;
}
-.version
-{
- text-align: right;
- color: white;
- font-size:9px;
-}
-
-.version a:link
-{
- text-decoration: none;
- color: white;
- text-decoration: bold;
- font-weight: bold;
- border-bottom-style: none;
-}
-
-.version a:hover
+#copyright_version
{
- color: #2c8084;
- text-decoration: none;
- font-weight: bold;
- border-bottom-width: 0px;
- border-bottom-style: none;
-}
-
-.version a:active
-{
- color: white;
- text-decoration: none;
- font-weight: bold;
- border-bottom-style: none;
-}
-
-.version a:visited
-{
- color: white;
- font-weight: bold;
- border-bottom-style: none;
+ text-align: right;
}
.small