summaryrefslogtreecommitdiff
path: root/templates/public/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/public/index.html')
-rw-r--r--templates/public/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index 0be4f18c..abf16afd 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -211,9 +211,14 @@
</a>
</div>
{% endcache %}
+{% endblock %}
+
+{% block content_after %}
+<div id="konami" style="display:none;"></div>
{% load cdn %}{% jquery %}
<script type="text/javascript" src="{% static "bootstrap-typeahead.min.js" %}"></script>
+<script type="text/javascript" src="{% static "konami.pack.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#pkgsearch-field').typeahead({
@@ -228,5 +233,16 @@ $(document).ready(function() {
items: 10
}).attr('autocomplete', 'off');
});
+$(document).ready(function() {
+ var konami = new Konami();
+ konami.code = function() {
+ $('#konami').html('<img src="{% static "vector_tux.png" %}" alt=""/>');
+ setTimeout(function() {
+ $('#konami').fadeIn(500);
+ }, 500);
+ };
+ konami.iphone.code = konami.code;
+ konami.load();
+});
</script>
{% endblock %}