cciw-website / templates / cciw / base.html

{% load static %}<!DOCTYPE html>
<html lang="en-gb">
<title>{% block title %}{{ title }} | CCIW{% endblock %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="{% static "css/style.css" %}" type="text/css" />
{% block extraheader %}{% endblock %}
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS_ACCOUNT }}']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

{% endif %}
{% block bodystart %}
{% endblock %}
<div id="header" {% block headerattr %}{% endblock %}>
  <div id="headerlogo">
    {% block extrapageheader %}
    {% endblock %}
    <a href="/" title="Home page" style="height: 66px; width: 200px; display: block;"></a>
{% block main %}
  <div id="mainbase">
    <div id="pageTitle">
      <h1>{{ title }}</h1>
    <div id="contentBody">
      {% block content %}
      {% endblock %}
{% endblock %}

    <!--[if lte IE 6]>
    <div id="ie-message">
      Your browser is obsolete, and probably doesn't display this site
      correctly. Please upgrade to <a href="">a better
    <!--[if IE]>
    <div id="winxp-ie-message" style="display: none;">
      You are running Internet Explorer on Windows XP. This does not suuport
      modern ways of supporting HTTP/SSL, so you will have seen an SSL
      certificate error to get to this page. Please use
      a <a href="">different browser</a>, or upgrade
      your operating system to a more recent version of Windows.
    <script type="text/javascript">
      if (/Windows NT 5.1/.test(window.navigator.userAgent)) {
         document.getElementById("winxp-ie-message").style.display = "block";

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.