annotate templates/base.djhtml @ 71:f181ee227dc6

Add an explanation to the title
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 19 Jul 2012 09:36:02 -0400
parents cd71470af46c
children eaa36eaaf74a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
4 <head>
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
6 <meta http-equiv="Content-Language" content="en-us" />
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
7
33
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
8 <title>Agora Octave &mdash;
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 17
diff changeset
9 {% block title %}
35
290dd9208cc4 Implement editing user profiles and fix bugs related to the login/logout buttons. Implement 403 exception
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 33
diff changeset
10 Free your numbers!
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 17
diff changeset
11 {% endblock %}
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 17
diff changeset
12 </title>
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
13
9
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
14 <meta name="Copyright" content="Agora Octave is free software
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
15 under the Affero General Public License version 3 as published by
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
16 the Free Software Foundation, or at your option, any later
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
17 version" />
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
18
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
19 <meta name="keywords" content="Octave, mathematics, numerical
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
20 analysis, open source, free software, Agora" />
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
21
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
22 <meta name="description" content="Agora Octave is a website that
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
23 enables collaboration with Octave-related personal projects and
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
24 code" />
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
25
33
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
26 <link href="/static/{% block cssid %}base{% endblock %}.css"
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
27 rel="stylesheet" type="text/css" media="screen" />
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 17
diff changeset
28 {% block extrahead %}{% endblock %}
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
29 </head>
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
30
33
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
31 <body id="{% block sectionid %}generic{% endblock %}"
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
32 class="{% block coltype %}default{% endblock %}">
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
33
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
34 <div id="container">
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
35 <div id="header">
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 15
diff changeset
36 <img src="/static/agora.png" id="agora-logo">
71
f181ee227dc6 Add an explanation to the title
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 67
diff changeset
37 <h1 id="logo"><a href="/">Agora Octave &mdash; contributions
f181ee227dc6 Add an explanation to the title
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 67
diff changeset
38 from Octave users</a>
15
3058a25a7c7c Use new simpler Agora logo
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 13
diff changeset
39 </h1>
9
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
40 <div id="nav">
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
41 <div id="nav-top"></div>
32
3c56be2f61fc Move login/logout buttons to navigation bar, remove cargo-cult CSS
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 31
diff changeset
42 <div id="nav-right">
3c56be2f61fc Move login/logout buttons to navigation bar, remove cargo-cult CSS
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 31
diff changeset
43 {% block session %}{% endblock %}
3c56be2f61fc Move login/logout buttons to navigation bar, remove cargo-cult CSS
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 31
diff changeset
44 </div>
9
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
45 <ul id="nav-main">
32
3c56be2f61fc Move login/logout buttons to navigation bar, remove cargo-cult CSS
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 31
diff changeset
46 <li id="nav-bundles"><a href="/bundles" class="first">Latest</a></li>
42
ab608f27ecd5 Copy preliminary django-paste code for snippets along with mptt. Works clunkily. Still need to adapt it for Agora.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 35
diff changeset
47 <li id="nav-snippets"><a href="/snippet">Snippets</a></li>
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 15
diff changeset
48 <li id="nav-discuss"><a href="/discuss">Discussions</a></li>
32
3c56be2f61fc Move login/logout buttons to navigation bar, remove cargo-cult CSS
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 31
diff changeset
49 <li id="nav-about"><a href="/about">About</a></li>
9
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
50 </ul>
32
3c56be2f61fc Move login/logout buttons to navigation bar, remove cargo-cult CSS
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 31
diff changeset
51 <div id="nav-bot"></div>
9
2da64c6aa689 Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 8
diff changeset
52 </div>
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
53 </div>
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
54 <!-- END Header -->
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
55 <div id="billboard">{% block billboard %}{% endblock %}</div>
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
56 <div id="columnwrap">
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 15
diff changeset
57
33
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
58 <div id="content-main">
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
59 {% block content %}
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
60 {% endblock %}
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
61 </div>
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
62 <!-- END #content-main -->
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
63 <div id="content-related" class="sidebar">
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
64 {% block content-related %}
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
65 {% endblock %}
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
66 </div>
28a512881850 Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 32
diff changeset
67 <!-- END #content-related -->
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 15
diff changeset
68
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
69 </div>
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
70 <!-- END #content -->
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
71 </div>
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
72 <!-- END #container -->
31
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
73 <div id="footer">
62
7886e9c7fa50 Add a desperate cry for help
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 47
diff changeset
74 <p>
67
cd71470af46c Update the current Agora source hosting
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 62
diff changeset
75 <a href="http://inversethought.com/hg/hgwebdir.cgi/agora/">HELP US BUILD THIS
62
7886e9c7fa50 Add a desperate cry for help
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 47
diff changeset
76 SITE!</a> Clone the source and start contributing.
7886e9c7fa50 Add a desperate cry for help
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 47
diff changeset
77 </p>
7886e9c7fa50 Add a desperate cry for help
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 47
diff changeset
78
31
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
79 <p id="copyright">
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
80 &copy; 1998-{% now "Y"%}
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
81 <a href="http://www.gnu.org/software/octave/acknowledgments.html">
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
82 John W. Eaton and others</a> unless otherwise noted.
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
83 </p>
47
139e4b8ffb17 Fix display of js code and copy-pastability of displayed code
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 42
diff changeset
84 {% block script_footer %}
139e4b8ffb17 Fix display of js code and copy-pastability of displayed code
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 42
diff changeset
85 {% endblock %}
31
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
86 </div>
b2fd20d03fb4 CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
87 <!-- END #footer -->
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
88 </body>
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
89 </html>