summaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: c7fa4629b0f364190b8b90207153c47179c48a5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="{{ settings.MEDIA_URL }}css/main3.css" />
<title>{% block title %}THE TITLE{% endblock %}</title>
<script src="{{ settings.MEDIA_URL }}js/base.js" type="text/javascript"></script>
<script src="{{ settings.MEDIA_URL }}js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
 
$("#killEyeCandy").click(function () {
      $("#leftMargin").fadeIn("slow");
 });



</script>

{% block head %}{% endblock %}
</head>
<body>

<div id="header"> 
  <h1>CUCC Expeditions to Austria: 1976 - 2009</h1>
  <div id="editLinks"> {% block loginInfo %}
    {% if user.username %}
    You are logged in as {{ user.username }} {% if user.person %}<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>{% endif %}. 
    | <a href="{{ settings.URL_ROOT }}/accounts/logout/">Log out</a> {% else %} <a href="{{ settings.URL_ROOT }}/accounts/register">Sign up</a> | <a href="{{ settings.URL_ROOT }}/accounts/login/">Log in</a> {% endif %}
    {% endblock%}
    | <a href="{{ settings.URL_ROOT }}">Home </a> | <a href="#" id="killEyeCandy">Kill Eyecandy</a> |
    {% block editLink %}
    
    {% endblock %}
   </div>
</div>
    
  {% block nav %}
  <!-- Use id="nav" for the left side menu -->
  {% endblock %}
  <div id="content" > {% block contentheader %}
    {% endblock %}
    {% block content %}
    REPLACE : The content
    {% endblock %} <br class="clearfloat" />
    <!--This is to ensure that the content div expands around floated objects*/-->
  </div>
</div>
<div class="push"></div>
<div class="footer"> 
<img id="banner" src="{{ settings.MEDIA_URL }}expoBanner.gif"/>
</div> 

<img id="leftMargin" src="{{ settings.MEDIA_URL }}eieshole.jpg">
<img id="rightMargin" src="{{ settings.MEDIA_URL }}goesser.jpg">

<div class="footer" id="footerLinks"> 
<a href="http://cucc.survex.com"> CUCC website</a>| <a href="http://cucc.survex.com/expo"> Expedition website </a>| <a href="{% url frontpage %}"> Troggle front page </a>| <a href="{% url caveindex %}"> All caves </a>| <a href="{% url personindex %}"> All cavers </a>| <a href="{% url caveindex %}"> Virtual survey binder </a>| <a href="{% url survey %}"> Expedition statistics </a>| <a href="{% url calendar 2007 %}"> Expedition calendar </a> 
</div> 

</body>
</html>