summaryrefslogtreecommitdiffstats
path: root/dmt
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-11-16 04:29:09 -0500
committerMalfurious <m@lfurio.us>2023-11-18 00:45:27 -0500
commit8448d52fa33ad03e2d46ead0b6c384318d6594a0 (patch)
treef89e1ad854335eeae2025e8a309b91c1817dcec6 /dmt
parent0e5ca160ed5a8cc92f56df6b07f4f1554d62a9f4 (diff)
downloadcychedelic-8448d52fa33ad03e2d46ead0b6c384318d6594a0.tar.gz
cychedelic-8448d52fa33ad03e2d46ead0b6c384318d6594a0.zip
dmt: jobs: Scope javascript to this page
The script.js file is only really intended to run against the main jobs page at this point. So, move its inclusion from the page master to the jobs page specifically. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'dmt')
-rw-r--r--dmt/html/jobs.html2
-rw-r--r--dmt/html/master.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/dmt/html/jobs.html b/dmt/html/jobs.html
index 6ad138a..31ab6be 100644
--- a/dmt/html/jobs.html
+++ b/dmt/html/jobs.html
@@ -1,3 +1,5 @@
+<script defer type="text/javascript" src="/script.js"></script>
+
<h1>Latest Jobs</h1>
<div class="box hidden" id="no_server">
diff --git a/dmt/html/master.html b/dmt/html/master.html
index 14c7c6f..8118ca0 100644
--- a/dmt/html/master.html
+++ b/dmt/html/master.html
@@ -4,7 +4,6 @@
<head>
<title>%($CYCHE_SITE_NAME%)</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
- <script defer type="text/javascript" src="/script.js"></script>
</head>
<body>