summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authormartin speleo <martin.speleo@gmail.com>2009-06-28 19:33:24 +0100
committermartin speleo <martin.speleo@gmail.com>2009-06-28 19:33:24 +0100
commitca7bc171c96821fd4f6f58137d94f53e5de1afe6 (patch)
treefa6a8f85a073f96e28500266ec5f5db44778f967 /templates
parentb55b17ccc1c7c4c3b1ab120603cca80a33081ba5 (diff)
downloadtroggle-ca7bc171c96821fd4f6f58137d94f53e5de1afe6.tar.gz
troggle-ca7bc171c96821fd4f6f58137d94f53e5de1afe6.tar.bz2
troggle-ca7bc171c96821fd4f6f58137d94f53e5de1afe6.zip
[svn] Fixed small semantics issues stopping base.js working with IE.
Made toggle eyecandy persistent (using a cookie) Made toggle eyecandy turn off footer menu images Only load footer menu images if the eyecandy is being used.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html19
-rw-r--r--templates/eyecandy.html3
2 files changed, 12 insertions, 10 deletions
diff --git a/templates/base.html b/templates/base.html
index ff06ebf..6fc3e30 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -27,9 +27,9 @@ window.onload = contentHeight;
{% endif %}.
| <a href="{% url auth_logout %}">Log out</a> {% else %} <a href="{% url registration_register %}">Sign up</a> | <a href="{% url auth_login %}">Log in</a> {% endif %}
{% endblock%}
- | <a href="{{ settings.URL_ROOT }}">Home</a> | <a class="toggleEyeCandy">Kill Eyecandy</a><a class="toggleEyeCandy" style="display: none;">Show Eyecandy</a>
+ | <a href="{{ settings.URL_ROOT }}">Home</a> | <a class="killEyeCandy">Kill Eyecandy</a><a class="showEyeCandy" style="display: none;">Show Eyecandy</a>
{% block editLink %}
-
+
{% endblock %}
</div>
</div>
@@ -42,19 +42,18 @@ window.onload = contentHeight;
<div id="content" >
-
+
{% block contentheader %}
{% endblock %}
-
+
{% block content %}
REPLACE : The content
{% endblock %}
-
+
</div>
+<div id="eyeCandyFooterPopUps" class = "eyeCandy">
-<img id="richardBanner" class="footer eyeCandy" src="{{ settings.MEDIA_URL }}expoBanner.gif"/>
-<img id="timeMachine" class="footer eyeCandy" src="{{ settings.MEDIA_URL }}timemachine.gif"/>
-<img id="surveyHover" class="footer eyeCandy" src="{{ settings.MEDIA_URL }}surveyHover.gif"/>
+</div>
{% block margins %}
<img class="leftMargin eyeCandy" src="{{ settings.MEDIA_URL }}eieshole.jpg">
<img class="rightMargin eyeCandy" src="{{ settings.MEDIA_URL }}goesser.jpg">
@@ -90,9 +89,9 @@ window.onload = contentHeight;
<li><a id="cuccLink" href="{% url controlpanel %}">Import / export data</a></li>
<li><a id="expoWebsiteLink" href="{{ settings.URL_ROOT }}admin">Troggle administration pages</a></li>
</ul>
- <li class="toggleMenu"><a href="#">hide menu</a></li>
+ <li class="toggleMenu"><a href="#">hide menu</a></li>
</ul>
- <div class="toggleMenu" style="display:none; position:fixed; bottom:0; right:130px"><a href="#">Show menu</a></li>
+ <div class="toggleMenu" style="display:none; position:fixed; bottom:0; right:130px"><a href="#">Show menu</a></li>
</body>
</html>
diff --git a/templates/eyecandy.html b/templates/eyecandy.html
new file mode 100644
index 0000000..a1b9b3f
--- /dev/null
+++ b/templates/eyecandy.html
@@ -0,0 +1,3 @@
+<img id="richardBanner" class="footer" src="{{ settings.MEDIA_URL }}expoBanner.gif" style="display: none;"/>
+<img id="timeMachine" class="footer" src="{{ settings.MEDIA_URL }}timemachine.gif" style="display: none;"/>
+<img id="surveyHover" class="footer" src="{{ settings.MEDIA_URL }}surveyHover.gif" style="display: none;"/> \ No newline at end of file