summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/detail.html3
-rw-r--r--templates/main_map.html9
-rw-r--r--templates/welcome.html4
4 files changed, 12 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index 191d95d..da27cd2 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -25,7 +25,9 @@
<div id="content">
{% block content %}{% endblock %}
</div>
+ {% block footer %}
<div id='footer'>{% trans "This site uses Chimère"%} - Copyright © 2008 <a href='http://redmine.peacefrogs.net/projects/show/chimere'>Chimère project</a></div>
+ {% endblock %}
</body>
</html>
diff --git a/templates/detail.html b/templates/detail.html
index f8ef21d..03ffe25 100644
--- a/templates/detail.html
+++ b/templates/detail.html
@@ -6,5 +6,4 @@
<div>{% for property in marker.getProperties %}
<p id='{{property.propertymodel.getNamedId}}'>{{ property.value }}</p>
{% endfor %}</div>
-</div>
-<div id='detail_footer'><a href='javascript:hideDetail();'>{% trans "Close" %}</a></div> \ No newline at end of file
+</div> \ No newline at end of file
diff --git a/templates/main_map.html b/templates/main_map.html
index df422ee..c7b9e2f 100644
--- a/templates/main_map.html
+++ b/templates/main_map.html
@@ -12,10 +12,13 @@
</ul>
</form>
</div>
-<div id='detail'{% if detail_content%} style="display:block;"{% endif %}>
-{{ detail_content }}
-</div>{% endblock %}
+<div id='detail'>
+</div>
+{{welcome}}{% endblock %}
{% block content %}<div id='map'></div>
<script type='text/javascript'><!--
init();
// --> </script>{% endblock %}
+{% block footer %}
+ <div id='map-footer'><a href='javascript:show("welcome");'>{% trans "Welcome message"%}</a> - {% trans "This site uses Chimère"%} - Copyright © 2008 <a href='http://redmine.peacefrogs.net/projects/show/chimere'>Chimère project</a></div>
+{% endblock %}
diff --git a/templates/welcome.html b/templates/welcome.html
index d9825cf..8d15f8e 100644
--- a/templates/welcome.html
+++ b/templates/welcome.html
@@ -1,4 +1,5 @@
{% load i18n %}
+<div id='welcome' {% if not display %}style='display:None'{%endif%}>
<h2>{% trans "Welcome to Chimère"%}</h2>
<div id='detail_content'>
<p>{% trans "This is the default message. You can overload it by modifying the file welcome.html in the template directory of Chimère. Below this message all news message will be displayed. You can add them in administration pages."%}</p>
@@ -11,4 +12,5 @@
{%endfor%}
</div>{%endif%}
</div>
-<div id='detail_footer'><a href='javascript:hideDetail();'>{% trans "Close" %}</a></div> \ No newline at end of file
+<div id='detail_footer'><a href='javascript:hide("welcome");'>{% trans "Close" %}</a></div>
+</div> \ No newline at end of file