~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/base.html

  • Committer: franku
  • Date: 2016-05-15 14:41:54 UTC
  • mto: This revision was merged to the branch mainline in revision 409.
  • Revision ID: somal@arcor.de-20160515144154-00m3tiibyxm0nw2w
added the old threadedcomments app as wildelands app

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
1
 
 
2
<!DOCTYPE html>
2
3
{% comment %}
3
4
 vim:ft=htmldjango:
4
5
 
5
6
 This file is extended by all other files which are not
6
7
 included here
7
8
{% endcomment %}
8
 
<html xmlns="http://www.w3.org/1999/xhtml">
9
 
 
10
 
  <head>
11
 
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
12
 
 
13
 
    <title>{% block title %}Widelands.org{% endblock %}</title> 
14
 
    <link href="/wlmedia/favicon.ico" rel="SHORTCUT ICON" />
15
 
 
16
 
    <!--  CSS --> 
17
 
    <link rel="stylesheet" type="text/css" media="all" href="/wlmedia/css/base.css" />
18
 
    <link rel="stylesheet" type="text/css" media="all" href="/wlmedia/css/navigation.css" />
19
 
 
20
 
    <!-- Javascript Bread & Butter Scripts -->
21
 
    <script type="text/javascript" src="/wlmedia/js/jquery.js"></script>
22
 
    <script type="text/javascript" src="/wlmedia/js/jquery_csrf_ajax.js"></script>
23
 
    {% block extra_head %}{% endblock %}
24
 
  </head>
25
 
 
26
 
  <body>
27
 
 
28
 
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
29
 
 
30
 
      <tr>   
31
 
        <td>
32
 
 
33
 
          <!-- Header Bar -->
34
 
          <div id="headerbanner">
35
 
            <a href="{% url mainpage %}"><img src="/wlmedia/img/Logo.png" alt="Logo" align="middle" /></a>
36
 
          </div>
37
 
          <!-- Navigation -->
38
 
            {% include "navigation.html" %}
39
 
        </td>
40
 
      </tr>
41
 
 
42
 
      {% comment %}
43
 
      <!-- Main Page starts here -->
44
 
      <!-- 
45
 
         The decision here was between this table madness or a CSS + JS hack (resize
46
 
         divisions after page load). Both solutions are ugly, but I prefer tables to JS hacks.
47
 
         Can't wait for CSS3.
48
 
      -->
49
 
      {% endcomment %}
50
 
 
51
 
      <tr>
52
 
        <td>
53
 
 
54
 
          {% comment %}
55
 
          <!-- 
56
 
             Top Tables are not used by current theme, they
57
 
             might be in a future one though 
58
 
          -->
59
 
 
60
 
          <table border="0" cellpadding="0" cellspacing="0">
61
 
             <tr>
62
 
                <td id="table_topleft"></td>
63
 
                <td id="table_topright"></td>
64
 
             </tr>
65
 
          </table>
66
 
          {% endcomment %}
67
 
 
68
 
          <!-- Table with Menus and Content -->
69
 
          <table border="0" cellpadding="0" cellspacing="0" >
70
 
            <tr>
71
 
               {% comment %}
72
 
               <!-- Left Column -->
73
 
               <td id="leftcolumn">
74
 
                  <div id="leftcontent">
75
 
                  {% include "left_boxes.html" %}
76
 
                  </div>
77
 
 
78
 
               </td>
79
 
               {% endcomment %}
80
 
 
81
 
               <!-- Center Column/Content -->
82
 
               <td id="content" style="overflow: hidden;">
83
 
                 <!-- ################### CONTENT STARTS HERE ################### -->       
84
 
                 {% block content %}
85
 
                  No Content here!
86
 
                 {% endblock %}
87
 
                 <!-- ###################  CONTENT ENDS HERE  ################### -->       
88
 
               </td>
89
 
             
90
 
               <!-- Right Column -->
91
 
               <td id="rightcolumn">
92
 
                  <div id="rightcontent">
93
 
                    {% include "right_boxes.html" %}
94
 
                  </div>
95
 
               </td>
96
 
            </tr>
97
 
          </table>
98
 
 
99
 
        </td>
100
 
      </tr>
101
 
 
102
 
 
103
 
      {% comment %}
104
 
      <tr>
105
 
        <td>
106
 
          <!-- Footer -->
107
 
          {% include "footer.html" %}
108
 
 
109
 
          <!-- Bottom Table -->
110
 
          <table border="0" cellpadding="0" cellspacing="0" id="table_bottom">
111
 
             <tr>
112
 
                <td id="table_bottomleft">
113
 
                </td>
114
 
                <td id="table_bottomright">
115
 
                </td>
116
 
             </tr>
117
 
          </table>
118
 
        </td>
119
 
      </tr>
120
 
      {% endcomment %}
121
 
 
122
 
    </table>
123
 
 
124
 
  </body>
 
9
<html>
 
10
 
 
11
        <head>
 
12
                <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
 
13
 
 
14
      <!-- Google Webmaster Site Verification token -->
 
15
      <meta name="google-site-verification" content="1A5uFV_zNuXazJ46-572-_lLzcCTEQ77iHaSPFZd53Y" />
 
16
 
 
17
                <title>{% block title %}Widelands.org{% endblock %}</title> 
 
18
                <link href="{{ MEDIA_URL }}favicon.ico" rel="SHORTCUT ICON" />
 
19
 
 
20
                <!--  CSS --> 
 
21
                <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/base.css" />
 
22
                <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/navigation.css" />
 
23
                <!--[if lt IE 9]>
 
24
                <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/base_ielt9.css" />
 
25
                <![endif]-->
 
26
                <!--[if lt IE 8]>
 
27
                <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/base_ielt8.css" />
 
28
                <![endif]-->
 
29
 
 
30
                {% if USE_GOOGLE_ANALYTICS %}
 
31
                <!-- Google Analytics -->
 
32
                <script>
 
33
                        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 
34
                        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
 
35
                        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 
36
                        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
37
                        ga('create', 'UA-42120570-2', 'widelands.org');
 
38
                        ga('send', 'pageview');
 
39
                </script>
 
40
                {% endif %}
 
41
 
 
42
                <!-- Javascript Bread & Butter Scripts -->
 
43
                <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script>
 
44
                <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery_csrf_ajax.js"></script>
 
45
                <script type="text/javascript" src="{{ MEDIA_URL }}js/scripts.js"></script>
 
46
                {% block extra_head %}{% endblock %}
 
47
        </head>
 
48
 
 
49
        <body>
 
50
                <a id="top"></a>
 
51
                <div id="wrapper">
 
52
                        <div id="header">
 
53
                                <div class="loginBox posRight">
 
54
                                        {% include "login_box.html" %}
 
55
                                </div>
 
56
                                <a href="{% url 'mainpage' %}"><img src="{{ MEDIA_URL }}img/Logo.png" class="posLeft" alt="Widelands Logo" /></a>
 
57
                        </div>
 
58
                        <div id="topmenu">
 
59
                                <!-- Navigation -->
 
60
                                {% include "navigation.html" %}
 
61
                        </div>
 
62
                        <div id="main" class="clear">
 
63
                                <div id="rightColumn" class="posRight">
 
64
                                        {% include "right_boxes.html" %}
 
65
                                </div>
 
66
                                <div id="content">
 
67
                                        {% block content %}
 
68
                                                No Content here!
 
69
                                        {% endblock %}
 
70
                                </div>
 
71
                        </div>
 
72
                        <div class="clear"></div>
 
73
 
 
74
                <!-- Footer -->
 
75
                {% include "footer.html" %}
 
76
 
 
77
                </div>
 
78
        </body>
125
79
</html>
126