view templates/base.djhtml @ 33:28a512881850

Several fixes. See detailed commit message. - Clarify dependencies in README - Display real name in userpage if available - Change styling of login/logout links in navigation bar - Cleanup whitespace
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Thu, 01 Jul 2010 20:14:16 -0500
parents 3c56be2f61fc
children 290dd9208cc4
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />

    <title>Agora Octave &mdash;
      {% block title %}
      Free your math!
      {% endblock %}
    </title>

    <meta name="Copyright" content="Agora Octave is free software
    under the Affero General Public License version 3 as published by
    the Free Software Foundation, or at your option, any later
    version" />

    <meta name="keywords" content="Octave, mathematics, numerical
    analysis, open source, free software, Agora" />

    <meta name="description" content="Agora Octave is a website that
    enables collaboration with Octave-related personal projects and
    code" />

    <link href="/static/{% block cssid %}base{% endblock %}.css"
          rel="stylesheet" type="text/css" media="screen" />
    {% block extrahead %}{% endblock %}
  </head>

  <body id="{% block sectionid %}generic{% endblock %}"
        class="{% block coltype %}default{% endblock %}">

  <div id="container">
    <div id="header">
      <img src="/static/agora.png" id="agora-logo">
      <h1 id="logo"><a href="/">Agora Octave</a>
      </h1>
      <div id="nav">
        <div id="nav-top"></div>
        <div id="nav-right">
          {% block session %}{% endblock %}
        </div>
        <ul  id="nav-main">
          <li id="nav-bundles"><a href="/bundles" class="first">Latest</a></li>
          <li id="nav-snippets"><a href="/snippets">Snippets</a></li>
          <li id="nav-discuss"><a href="/discuss">Discussions</a></li>
          <li id="nav-about"><a href="/about">About</a></li>
        </ul>
      <div id="nav-bot"></div>
      </div>
    </div>
    <!-- END Header -->
    <div id="billboard">{% block billboard %}{% endblock %}</div>
    <div id="columnwrap">

      <div id="content-main">
        {% block content %}
        {% endblock %}
      </div>
      <!-- END #content-main -->
      <div id="content-related" class="sidebar">
        {% block content-related %}
        {% endblock %}
      </div>
      <!-- END #content-related -->

    </div>
    <!-- END #content -->
  </div>
  <!-- END #container -->
  <div id="footer">
    <p id="copyright">
      &copy; 1998-{% now "Y"%}
      <a href="http://www.gnu.org/software/octave/acknowledgments.html">
        John W. Eaton and others</a> unless otherwise noted.
    </p>
  </div>
  <!-- END #footer -->
  </body>
</html>