Mercurial > public > sg101
comparison gpp/templates/base.html @ 12:f408971657b9
Changed the shoutbox: posts are now made by Ajax. The smiley farm is loaded only on demand. jQuery is now in the base template. May add scrolling later.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Apr 2009 01:13:17 +0000 |
parents | dbd703f7d63a |
children | aa2b41c5212b |
comparison
equal
deleted
inserted
replaced
11:cc8eb028def1 | 12:f408971657b9 |
---|---|
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | 4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
5 {% load shoutbox_tags %} | 5 {% load shoutbox_tags %} |
6 {% load irc_tags %} | 6 {% load irc_tags %} |
7 {% load potd_tags %} | 7 {% load potd_tags %} |
8 {% load messages_tags %} | 8 {% load messages_tags %} |
9 {% load script_tags %} | |
9 <head><title>SurfGuitar101.com | {% block title %}{% endblock %}</title> | 10 <head><title>SurfGuitar101.com | {% block title %}{% endblock %}</title> |
10 <meta http-equiv="Content-Type" content="text/html" /> | 11 <meta http-equiv="Content-Type" content="text/html" /> |
11 <meta http-equiv="Content-Language" content="en-US" /> | 12 <meta http-equiv="Content-Language" content="en-US" /> |
12 <meta name="robots" content="all" /> | 13 <meta name="robots" content="all" /> |
13 <meta name="Author" content="Brian Neal" /> | 14 <meta name="Author" content="Brian Neal" /> |
17 <!--[if IE]> | 18 <!--[if IE]> |
18 <link rel="stylesheet" href="{{ MEDIA_URL }}css/blueprint/ie.css" type="text/css" media="screen, projection" /> | 19 <link rel="stylesheet" href="{{ MEDIA_URL }}css/blueprint/ie.css" type="text/css" media="screen, projection" /> |
19 <![endif]--> | 20 <![endif]--> |
20 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/base.css" /> | 21 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/base.css" /> |
21 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/shoutbox.css" /> | 22 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/shoutbox.css" /> |
22 <!--<script type="text/javascript" src="{{ MEDIA_URL }}js/shoutbox.js"></script>--> | 23 {% script_tags "jquery" %} |
23 {% block custom_head %}{% endblock %} | 24 {% block custom_head %}{% endblock %} |
24 {% block custom_css %}{% endblock %} | 25 {% block custom_css %}{% endblock %} |
25 {% block custom_js %}{% endblock %} | 26 {% block custom_js %}{% endblock %} |
27 {% if user.is_authenticated %} | |
28 <script type="text/javascript" src="{{ MEDIA_URL }}js/shoutbox.js"></script> | |
29 {% endif %} | |
26 <!-- <link rel="shortcut icon" type="image/vnd.microsoft.com" href="{{ MEDIA_URL }}images/favicon.ico" /> --> | 30 <!-- <link rel="shortcut icon" type="image/vnd.microsoft.com" href="{{ MEDIA_URL }}images/favicon.ico" /> --> |
27 </head> | 31 </head> |
28 <body> | 32 <body> |
29 <div id="page" class="container"> | 33 <div id="page" class="container"> |
30 <div id="header" class="span-24"> | 34 <div id="header" class="span-24"> |