Implemented project ship

This commit is contained in:
David Taylor
2015-05-27 02:36:30 +01:00
parent bb0a5e4b1e
commit d883f4b66e
3 changed files with 192 additions and 2 deletions

View File

@@ -55,8 +55,8 @@
{% endif %}
{% if perms.RIGS.add_event %}
<li><a href="{% url 'event_create' %}"><span class="glyphicon glyphicon-plus"></span> New Event</a></li>
{% endif %}
{% endif %}
</ul>
</li>
{% endif %}
@@ -81,6 +81,7 @@
{% if perms.RIGS.view_venue %}
<li><a href="{% url 'venue_list' %}">Venues</a></li>
{% endif %}
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
@@ -167,6 +168,7 @@
</script>
<script src="{% static "js/dropdown.js" %}"></script>
<script src="{% static "js/modal.js" %}"></script>
<script src="{% static "js/konami.js" %}"></script>
<script>
jQuery(document).ready(function () {
jQuery(document).on('click', '.modal-href', function (e) {
@@ -177,6 +179,16 @@
jQuery('#modal').modal();
});
});
var easter_egg = new Konami();
easter_egg.code = function() {
var s = document.createElement('script');
s.type='text/javascript';
document.body.appendChild(s);
s.src='/static/js/asteroids.min.js';
}
easter_egg.load();
});
</script>
{% block js %}