Mercurial > agora-palash
annotate templates/base.djhtml @ 122:4ca1b54f07f3
Use IDs instead of classes for the header icons
No real reason, it just feels more logical
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Fri, 14 Sep 2012 22:18:49 -0400 |
parents | 2d5d80c0e967 |
children | 7a27b1c9cb84 |
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 — |
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 |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
26 <link href="/static/css/imports.less" |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
27 rel="stylesheet/less" type="text/css" media="screen" /> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
28 |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
29 <script src="/static/js/less.min.js" type="text/javascript"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
30 </script> |
23
d9658d30b814
Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
17
diff
changeset
|
31 {% 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
|
32 </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
|
33 |
33
28a512881850
Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
32
diff
changeset
|
34 <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
|
35 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
|
36 |
6c2d400091fd
Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff
changeset
|
37 <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
|
38 <div id="header"> |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
39 <div class="wrap"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
40 <a href="{% url home %}"> |
117
12dd104b1227
Make <img> for logo image self-closing
dellsystem <ilostwaldo@gmail.com>
parents:
107
diff
changeset
|
41 <img src="/static/img/logo.png" alt="Agora Octave" class="logo" /> |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
42 </a> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
43 <ul class="nav"> |
122
4ca1b54f07f3
Use IDs instead of classes for the header icons
dellsystem <ilostwaldo@gmail.com>
parents:
119
diff
changeset
|
44 <li><a href="{% url code %}" id="code-icon">Code</a></li> |
4ca1b54f07f3
Use IDs instead of classes for the header icons
dellsystem <ilostwaldo@gmail.com>
parents:
119
diff
changeset
|
45 <li><a href="{% url discuss %}" id="discuss-icon">Discuss</a></li> |
4ca1b54f07f3
Use IDs instead of classes for the header icons
dellsystem <ilostwaldo@gmail.com>
parents:
119
diff
changeset
|
46 <li><a href="{% url help %}" id="help-icon">Help</a></li> |
4ca1b54f07f3
Use IDs instead of classes for the header icons
dellsystem <ilostwaldo@gmail.com>
parents:
119
diff
changeset
|
47 <li><a href="{% url about %}" id="about-icon">About</a></li> |
9
2da64c6aa689
Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
8
diff
changeset
|
48 </ul> |
2da64c6aa689
Begin implementing Fotios' design
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
8
diff
changeset
|
49 </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
|
50 </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
|
51 <!-- END Header --> |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
52 {% block billboard %}<div id="header-below"></div>{% endblock %} |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
53 <div id="content"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
54 {% block navbar %} |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
55 <div id="breadcrumbs"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
56 <div class="right-float"> |
107 | 57 {% block login_breadcrumbs %} |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
58 {% if user.is_authenticated %} |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
59 <a href="{% url auth_logout %}">Logout</a> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
60 :: |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
61 <a href="{% url edit_profile %}">Account settings</a> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
62 :: |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
63 <a href="{% url show_profile user %}">View your profile ({{ user }})</a> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
64 {% else %} |
107 | 65 <a href="{% url login %}?next={{ request.path }}" class="login-link"> |
66 Login or register | |
67 </a> | |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
68 {% endif %} |
107 | 69 {% endblock %} |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
70 </div> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
71 <div> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
72 {% block breadcrumbs %} |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
73 |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
74 {% endblock %} |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
75 </div> |
33
28a512881850
Several fixes. See detailed commit message.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
32
diff
changeset
|
76 </div> |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
77 {% endblock %} |
17
cb9a7c6c3800
Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
15
diff
changeset
|
78 |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
79 {% block content %} |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
80 {% 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
|
81 </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
|
82 <!-- 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
|
83 </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
|
84 <!-- 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
|
85 <div id="footer"> |
b2fd20d03fb4
CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
23
diff
changeset
|
86 <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
|
87 © 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
|
88 <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
|
89 John W. Eaton and others</a> unless otherwise noted. |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
90 :: |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
91 Help us build this site! Clone the |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
92 <a href="http://inversethought.com/hg/hgwebdir.cgi/agora/">source</a> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
71
diff
changeset
|
93 and start contributing. :: About |
31
b2fd20d03fb4
CSS hack to make the footer stick to the bottom
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
23
diff
changeset
|
94 </p> |
102
f872c643b056
Updates to snippet functionality (see details)
dellsystem <ilostwaldo@gmail.com>
parents:
80
diff
changeset
|
95 </div> |
f872c643b056
Updates to snippet functionality (see details)
dellsystem <ilostwaldo@gmail.com>
parents:
80
diff
changeset
|
96 <!-- END #footer --> |
107 | 97 {% block login_form %} |
98 <div id="login-popup" class="hidden"> | |
99 <div id="login-form"> | |
100 {% include "login_form.djhtml" %} | |
101 </div> | |
102 </div> | |
103 {% endblock %} | |
119
2d5d80c0e967
Add type attribute to script tags on home page
dellsystem <ilostwaldo@gmail.com>
parents:
117
diff
changeset
|
104 <script src="/static/js/jquery.min.js" type="text/javascript"></script> |
2d5d80c0e967
Add type attribute to script tags on home page
dellsystem <ilostwaldo@gmail.com>
parents:
117
diff
changeset
|
105 <script src="/static/js/agora.js" type="text/javascript"></script> |
47
139e4b8ffb17
Fix display of js code and copy-pastability of displayed code
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
42
diff
changeset
|
106 {% 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
|
107 {% 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
|
108 </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
|
109 </html> |