Commit 673a5042b7e024b3a255f287784eb7f117ca92c6

Authored by Charles Oliveira
1 parent 4dc20bf0

Updated and fixed browserid logins

Conflicts:
	requirements.txt
	src/templates/base.html
Showing 2 changed files with 2 additions and 9 deletions   Show diff stats
requirements.txt
@@ -18,7 +18,6 @@ django-hitcounter==0.1.1 @@ -18,7 +18,6 @@ django-hitcounter==0.1.1
18 Pillow==2.5.1 18 Pillow==2.5.1
19 django-i18n-model==0.0.7 19 django-i18n-model==0.0.7
20 django-tastypie==0.11.0 20 django-tastypie==0.11.0
21 -  
22 gunicorn==19.1.0 21 gunicorn==19.1.0
23 eventlet==0.15.0 22 eventlet==0.15.0
24 23
src/templates/base.html
@@ -44,6 +44,7 @@ @@ -44,6 +44,7 @@
44 <body class="container"> 44 <body class="container">
45 {% browserid_info %} 45 {% browserid_info %}
46 46
  47 +
47 {% block navbar %} 48 {% block navbar %}
48 <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> 49 <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
49 <div class="container"> 50 <div class="container">
@@ -139,6 +140,7 @@ @@ -139,6 +140,7 @@
139 </div> 140 </div>
140 </div> 141 </div>
141 </nav> 142 </nav>
  143 +
142 {% endblock %} 144 {% endblock %}
143 145
144 {% block messages %} 146 {% block messages %}
@@ -186,21 +188,13 @@ @@ -186,21 +188,13 @@
186 </div> 188 </div>
187 {% endblock %} 189 {% endblock %}
188 190
189 -  
190 {% if not is_mobile %} 191 {% if not is_mobile %}
191 {% conversejs_chatpanel %} 192 {% conversejs_chatpanel %}
192 {% conversejs_initialize %} 193 {% conversejs_initialize %}
193 {% endif %} 194 {% endif %}
194 195
195 {% include "tz/set_utc_offset.html" %} 196 {% include "tz/set_utc_offset.html" %}
196 - {% browserid_js %}  
197 197
198 - {% if not is_mobile %}  
199 - {% conversejs_chatpanel %}  
200 - {% conversejs_initialize %}  
201 - {% endif %}  
202 -  
203 - {% include "tz/set_utc_offset.html" %}  
204 <script src="https://login.persona.org/include.js"></script> 198 <script src="https://login.persona.org/include.js"></script>
205 <script src="{% static 'browserid/api.js' %}"></script> 199 <script src="{% static 'browserid/api.js' %}"></script>
206 <script src="{% static 'browserid/browserid.js' %}"></script> 200 <script src="{% static 'browserid/browserid.js' %}"></script>