Added beta and debug icons to master
[e_cidadania.git] / src / e_cidadania / templates / base.html
blob6929e5d3c4c9710ebde6e7f6512d1422dd44f4fd
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="http://www.google.com/jsapi?key=ABQIAAAATqrYeRgzMa92HeAJ337iJhRWlTAuTwYT79cviOHriikXgTyaXRSApoqdJPf4dwJKYRnFn_s4iABNkg" type="text/javascript"></script>
24 <script src="{{ STATIC_URL }}/js/advanced.js"></script>
25 <script src="{{ STATIC_URL }}/js/wysihtml5-0.4.0pre.min.js"></script>
26 <script type="text/javascript">
27 google.load("jquery", "1.7.1", {uncompressed:false});
28 google.load("jqueryui", "1.8.16", {uncompressed:false});
29 </script>
30 <script src="{{ STATIC_URL }}/js/bootstrap-wysihtml5.js"></script>
31 <!-- End load JavaScript -->
32 {% block extrajs %}
33 {% endblock %}
34 </head>
35 <body>
37 {# {% get_current_language as LANGUAGE_CODE %} #}
39 {# {% cache 500 base_cache_block_1 LANGUAGE_CODE request.user.username %} #}
40 <div class="navbar navbar-inverse navbar-fixed-top">
41 <div class="navbar-inner">
42 <div class="container">
43 {% block space %}
44 <a class="brand" style="font-family:Arial;" href="/">
45 {% if debug_mode %}
46 <img style="margin-top:-12px;margin-bottom:-10px;position:relative;" src="{{ STATIC_URL }}assets/icons/debug.png"/>
47 {% else %}
48 <img style="margin-top:-12px;margin-bottom:-10px;position:relative;" src="{{ STATIC_URL }}assets/icons/beta.png"/>
49 {% endif %}
50 <span style="margin-left:-13px;">e-</span><strong>cidadania</strong>
51 </a>
52 {% endblock %}
53 {% include "menu.html" %}
54 </div>
55 </div>
56 </div>
57 {# {% endcache %} #}
59 {% if messages %}
60 {% for message in messages %}
61 <div class="alert fade in {% if message.tags %}alert-{{ message.tags }}{% endif %}" style="margin-top:40px;">
62 <a class="close" data-dismiss="alert" href="#">x</a>
63 {{ message|safe }}
64 </div>
65 {% endfor %}
66 {% endif %}
68 <div id="jsnotify">
69 <div class="hidden" id="basic-template">
70 <a class="ui-notify-cross ui-notify-close" href="#">x</a>
71 <div style="float:left;margin:0 10px 0 0"><img src="{{ STATIC_URL }}assets/icons/#{icon}" alt="warning" /></div>
72 <h1>#{title}</h1>
73 <p>#{text}</p>
74 </div>
75 </div>
77 <div class="container">
78 <div style="margin-top:45px;">
79 <div class="row">
80 <div class="span12">
81 {% block header %}
82 <div id="logo">
83 {% block logo %}
84 <a href="/"><img src="{{ STATIC_URL }}assets/logos/index.png"/></a>
85 {% endblock %}
86 </div>
88 <div id="banner">
89 {% block banner %}
90 <img src="{{ STATIC_URL }}assets/banners/index.png"/>
91 {% endblock %}
92 </div>
93 {% endblock %}
94 </div>
95 </div>
96 </div>
98 <div class="content">
99 {% block content %}
100 {% endblock %}
101 </div>
103 </div>
105 {% block freewidth %}
106 {% endblock %}
108 <div class="row mainfooter">
109 <div style="padding: 0px 10px 0px 10px;">
110 (c) 2011-{% now "Y" %} <a href="http://ecidadania.org">e-cidadania</a> |
111 <a href="http://docs.ecidadania.org">Help</a> |
112 <a href="http://code.ecidadania.org">Developers</a> |
113 <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> |
114 Terms of use
115 <div style="float:right;margin-bottom:-5px;">
116 <a href="http://twitter.com/ecidadaniafloss"><i style="font-size: 24px;" class="icon-twitter"></i> </a>
117 <a href="https://www.facebook.com/pages/e-cidadania/220162834676928"><i style="font-size: 24px;margin-left:10px;" class="icon-facebook"></i> </a>
118 <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>
119 </div>
120 {% block extrainfo %}
121 {% endblock %}
122 </div>
123 </div>
125 <!-- Load JavaScript -->
126 <script src="{{ STATIC_URL }}/js/bootstrap.min.js" type="text/javascript"></script>
127 <script src="{{ STATIC_URL }}/js/site.js" type="text/javascript"></script>
128 <script src="{{ STATIC_URL }}/js/jquery.notify.min.js" type="text/javascript"></script>
129 <script type="text/javascript">
130 $(document).ready(function(){
131 $(".alert").alert();
132 $("[rel=tooltip]").tooltip();
134 </script>
135 <!-- End load JavaScript -->
137 </body>
138 </html>