root/trunk/common/templates/base.html

Revision 43, 4.0 kB (checked in by nobu, 1 year ago)

remove spaces.

Line 
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
4 {% load i18n navigation %}
5     <head>
6         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
7         {% block keywords %}{% endblock %}
8         {% block robots %}<meta name="ROBOTS" content="INDEX,FOLLOW" />{% endblock %}
9         <title>{% block title %}{% trans "Untitled" %}{% endblock %} - {{ SITE_NAME }}</title>
10         <link
11             rel="alternate"
12             href="{% url blog_entry_feeds "latest" %}"
13             type="application/rss+xml"
14             title="RSS2.0 feed of latest entries"
15             charset="utf-8"
16         />
17         <style type="text/css" media="screen">
18             /* <![CDATA[ */
19             @import "{{ MEDIA_URL }}/themes/{{ DESIGN_THEME }}/css/import.css";
20             /* ]]> */
21         </style>
22         <script
23             src="{{ MEDIA_URL }}/themes/common/javascript/jquery.js"
24             type="text/javascript"
25             charset="utf-8"
26         ></script>
27         <script
28             src="{{ MEDIA_URL }}/themes/common/javascript/jquery.hotkeys.js"
29             type="text/javascript"
30             charset="utf-8"
31         ></script>
32         <script
33             src="{{ MEDIA_URL }}/themes/common/javascript/swfobject.js"
34             type="text/javascript"
35             charset="utf-8"
36         ></script>
37         <script
38             src="{{ MEDIA_URL }}/themes/common/javascript/utilities.js"
39             type="text/javascript"
40             charset="utf-8"
41         ></script>
42         {% block javascript %}{% endblock %}
43     </head>
44     <body class="{% block layout %}lms{% endblock %}">
45         <div id="container">
46             <div id="header">
47                 <h1><a href="{% url top_page %}">{{ SITE_NAME }}</a></h1>
48                 <div id="navigation">
49                     <form
50                         action="{% url blog_entry_search_query %}"
51                         method="get"
52                         accept-charset="utf-8"
53                     >
54                         <fieldset>
55                             <legend>{% trans "Search" %}</legend>
56                             <input
57                                 type="search"
58                                 results="10"
59                                 autosave="{{ SITE_DOMAIN }}"
60                                 name="query"
61                                 value="{{ query }}"
62                                 id="query"
63                             >
64                             <button
65                                 type="submit"
66                                 name="search"
67                             >{% trans "Search" %}</button>
68                         </fieldset>
69                     </form>
70                     {% navigation PATH_INFO %}
71                 </div>
72             </div>
73             <div id="wrapper">
74                 <div id="main-content">
75                     {% block mainContent %}&nbsp;{% endblock %}
76                 </div>
77             </div>
78             <div id="sub-content">
79                 {% block subContent %}&nbsp;{% endblock %}
80             </div>
81             <div id="extra-content">
82                 {% block extraContent %}&nbsp;{% endblock %}
83             </div>
84             <div id="footer">
85                 <p>
86                     <a
87                         rel="license"
88                         href="http://creativecommons.org/licenses/by-nc-sa/2.1/jp/"
89                     >
90                     <img
91                         alt="Creative Commons License"
92                         src="http://i.creativecommons.org/l/by-nc-sa/2.1/jp/80x15.png"
93                     />
94                     </a>
95                     This work is licensed under a
96                     <a
97                         rel="license"
98                         href="http://creativecommons.org/licenses/by-nc-sa/2.1/jp/"
99                     >Creative Commons Attribution-Noncommercial-Share Alike 2.1 Japan License</a>.
100                 </p>
101             </div>
102         </div>
103     </body>
104 </html>
Note: See TracBrowser for help on using the browser.