diff --git a/requirements.txt b/requirements.txt
index 6366da5c..532cadea 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -20,7 +20,7 @@ python-dateutil==2.4.2
pytz==2015.4
raven==5.8.1
reportlab==3.1.44
-selenium==2.46.0
+selenium==2.53.1
simplejson==3.7.2
six==1.9.0
sqlparse==0.1.15
diff --git a/templates/base.html b/templates/base.html
index 23476432..c27231bd 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -14,14 +14,16 @@
-
+
{% block css %}
{% endblock %}
-
+
{% block preload_js %}
@@ -46,32 +48,40 @@
{% if user.is_authenticated %}
- - Home
- -
- Rigboard
-
-
+ - Home
+ -
+ Rigboard
+
+
{% endif %}
{% if perms.RIGS.view_invoice %}
-
Invoices
{% endif %}
@@ -84,7 +94,7 @@
{% if perms.RIGS.view_venue %}
- Venues
{% endif %}
-
+
-
@@ -177,7 +187,7 @@
jQuery(document).on('click', '.modal-href', function (e) {
$link = jQuery(this);
// Anti modal inception
- if($link.parents('#modal').length == 0) {
+ if ($link.parents('#modal').length == 0) {
e.preventDefault();
modaltarget = $link.data('target');
modalobject = "";
@@ -189,11 +199,11 @@
var easter_egg = new Konami();
- easter_egg.code = function() {
+ easter_egg.code = function () {
var s = document.createElement('script');
- s.type='text/javascript';
+ s.type = 'text/javascript';
document.body.appendChild(s);
- s.src='{% static "js/asteroids.min.js"%}';
+ s.src = '{% static "js/asteroids.min.js"%}';
ga('send', 'event', 'easter_egg', 'activated');
}
easter_egg.load();