summaryrefslogtreecommitdiff
path: root/iss
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2020-09-28 22:56:26 +0300
committerYuval Adam <_@yuv.al>2020-09-28 22:56:26 +0300
commitcd087e80469327c1a8651944155305231f7757fe (patch)
treec3404573fd1617723952327eaf88ed9c448b7c39 /iss
parent7d5644d3e7b1362820a7820bdf98e1209a30de68 (diff)
Add vue scripts in templates
Diffstat (limited to 'iss')
-rw-r--r--iss/templates/base.html2
-rw-r--r--iss/templates/passes.html5
2 files changed, 7 insertions, 0 deletions
diff --git a/iss/templates/base.html b/iss/templates/base.html
index a010f26..708083c 100644
--- a/iss/templates/base.html
+++ b/iss/templates/base.html
@@ -9,6 +9,8 @@
<link rel="stylesheet" href="/static/css/tachyons.min.css">
<link rel="stylesheet" href="/static/css/style.css">
<link rel="shortcut icon" href="favicon.ico"/>
+ {% block extrahead %}
+ {% endblock %}
</head>
<body class="bg-near-black near-white">
<div class="pa4 mw8 center">
diff --git a/iss/templates/passes.html b/iss/templates/passes.html
index 1368368..c89aef7 100644
--- a/iss/templates/passes.html
+++ b/iss/templates/passes.html
@@ -1,5 +1,10 @@
{% extends "base.html" %}
+{% block extrahead %}
+<script src="/static/js/vue.min.js"></script>
+<script src="/static/js/core.js"></script>
+{% endblock %}
+
{% block content %}
<p class="f3">Passes for {{ location.lat }}, {{ location.lng }}</p>
<table class="tl pa1 w-100">