Replaced old Google APIS access for the new one and fied a problem with the
[e_cidadania.git] / src / e_cidadania / templates / base.html
blobad673af17b517453b9f3f3ed3ba4e5e402c3a8f4
1 {% load i18n %}
2 {% load cache %}
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="es-ES" xml:lang="es-ES">
5 <head>
6 <title>{% block title %}{% endblock %}</title>
7 <!-- Load CSS -->
8 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/bootstrap.min.css" media="screen" />
9 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/ui.notify.css" media="screen" />
10 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/smoothness/jquery-ui-1.8.13.custom.css" media="screen" />
11 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/bootstrap-wysihtml5.css" media="screen">
12 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/font-awesome.css" media="screen" />
13 <link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }}/css/screen.css"/>
14 <link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }}/css/debate.css"/>
15 <link href='http://fonts.googleapis.com/css?family=Duru+Sans' rel='stylesheet' type='text/css'>
16 <!-- End load CSS -->
17 <link rel="shortcut icon" href="{{ STATIC_URL }}/assets/favicon.ico" type="image/ico"/>
18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
19 <meta name="Description" content="e-cidadania es una plataforma de democracia participativa"/>
20 <meta name="Robots" content="all"/>
21 <!-- Load JavaScript -->
22 <script type="text/javascript" src="{% url 'django.views.i18n.javascript_catalog' %}"></script>
23 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
24 <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"></script>
25 <script src="{{ STATIC_URL }}/js/advanced.js"></script>
26 <script src="{{ STATIC_URL }}/js/wysihtml5-0.4.0pre.min.js"></script>
27 <script src="{{ STATIC_URL }}/js/bootstrap-wysihtml5.js"></script>
28 <!-- End load JavaScript -->
29 {% block extrajs %}
30 {% endblock %}
31 </head>
32 <body>
34 {# {% get_current_language as LANGUAGE_CODE %} #}
36 {# {% cache 500 base_cache_block_1 LANGUAGE_CODE request.user.username %} #}
37 <div class="navbar navbar-inverse navbar-fixed-top">
38 <div class="navbar-inner">
39 <div class="container">
40 {% block space %}
41 <a class="brand" style="font-family:Arial;" href="/">
42 {% if debug_mode %}
43 <img style="margin-top:-12px;margin-bottom:-10px;position:relative;" src="{{ STATIC_URL }}assets/icons/debug.png"/>
44 {% else %}
45 <img style="margin-top:-12px;margin-bottom:-10px;position:relative;" src="{{ STATIC_URL }}assets/icons/beta.png"/>
46 {% endif %}
47 <span style="margin-left:-20px;">e-</span><strong>cidadania</strong>
48 </a>
49 {% endblock %}
50 {% include "menu.html" %}
51 </div>
52 </div>
53 </div>
54 {# {% endcache %} #}
56 {% if messages %}
57 {% for message in messages %}
58 <div class="alert fade in {% if message.tags %}alert-{{ message.tags }}{% endif %}" style="margin-top:40px;">
59 <a class="close" data-dismiss="alert" href="#">x</a>
60 {{ message|safe }}
61 </div>
62 {% endfor %}
63 {% endif %}
65 <div id="jsnotify">
66 <div class="hidden" id="basic-template">
67 <a class="ui-notify-cross ui-notify-close" href="#">x</a>
68 <div style="float:left;margin:0 10px 0 0"><img src="{{ STATIC_URL }}assets/icons/#{icon}" alt="warning" /></div>
69 <h1>#{title}</h1>
70 <p>#{text}</p>
71 </div>
72 </div>
74 <div class="container">
75 <div>
76 <div class="row">
77 <div class="span12">
78 {% block header %}
79 <div id="logo">
80 {% block logo %}
81 <a href="/"><img src="{{ STATIC_URL }}assets/logos/index.png"/></a>
82 {% endblock %}
83 </div>
85 <div id="banner">
86 {% block banner %}
87 <img src="{{ STATIC_URL }}assets/banners/index.png"/>
88 {% endblock %}
89 </div>
90 {% endblock %}
91 </div>
92 </div>
93 </div>
95 <div class="content">
96 {% block content %}
97 {% endblock %}
98 </div>
100 </div>
102 {% block freewidth %}
103 {% endblock %}
105 <div class="row mainfooter">
106 <div style="padding: 0px 10px 0px 10px;">
107 (c) 2011-{% now "Y" %} <a href="http://ecidadania.org">e-cidadania</a> |
108 <a href="http://docs.ecidadania.org">Help</a> |
109 <a href="http://code.ecidadania.org">Developers</a> |
110 <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#101;&#99;&#105;&#100;&#97;&#100;&#97;&#110;&#105;&#97;&#46;&#111;&#114;&#103;">Contact</a> |
111 Terms of use
112 <div style="float:right;margin-bottom:-5px;">
113 <a href="http://twitter.com/ecidadaniafloss"><i style="font-size: 24px;" class="icon-twitter"></i> </a>
114 <a href="https://www.facebook.com/pages/e-cidadania/220162834676928"><i style="font-size: 24px;margin-left:10px;" class="icon-facebook"></i> </a>
115 <a href="https://plus.google.com/u/1/b/102485470041693312794/102485470041693312794"><i style="font-size: 24px;margin-left:10px;" class="icon-google-plus"></i> </a>
116 </div>
117 {% block extrainfo %}
118 {% endblock %}
119 </div>
120 </div>
122 <!-- Load JavaScript -->
123 <script src="{{ STATIC_URL }}/js/bootstrap.min.js" type="text/javascript"></script>
124 <script src="{{ STATIC_URL }}/js/site.js" type="text/javascript"></script>
125 <script src="{{ STATIC_URL }}/js/jquery.notify.min.js" type="text/javascript"></script>
126 <script type="text/javascript">
127 $(document).ready(function(){
128 $(".alert").alert();
129 $("[rel=tooltip]").tooltip();
131 </script>
132 <!-- End load JavaScript -->
134 </body>
135 </html>