Source

tracko / app / templates / base.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>{% block title %}Tracko - Public BitTorrent Tracker{% endblock %}</title>
    {% block styles %}
      <link rel="stylesheet" type="text/css" href="/static/site.css">
    {% endblock %}
    {% block prescripts %}{% endblock %}
  </head>
  <body>
    <div id="page-frame">
      <div id="header">
        <div>
          {% block caption %}{% endblock %}
        </div>
      </div>
      <div id="content">
        {% block content %}{% endblock %}
      </div>
      <div id="footer">
        <span id="kudos">
          <a href="http://python.org/">
            <img id="python-logo"
                 width="74" height="30"
                 src="/static/python-powered.png"
                 alt="Powered by Python">
          </a>
          <a href="http://code.google.com/appengine/">
            <img id="gae-logo"
                 width="120" height="30"
                 src="/static/gae.gif"
                 alt="Powered by Google App Engine">
          </a>
        </span>
        <span id="badges">
          <a id="valid-html"
             href="http://validator.w3.org/check?uri=referer">HTML 4.01</a>
          +
          <a id="valid-css"
             href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.1</a>
        </span>
      </div>
    </div>
    {% block postscripts %}{% endblock %}
    {% block ga %}
      {% if ga_token %}
        <script type="text/javascript"
                src="http://www.google-analytics.com/ga.js">
        </script>
        <script type="text/javascript">
          var pageTracker = _gat._getTracker("{{ ga_token }}");
          pageTracker._initData();
          pageTracker._trackPageview();
        </script>
      {% endif %}
    {% endblock %}
  </body>
</html>