summaryrefslogtreecommitdiffstats
path: root/dmt/html
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-11-11 16:55:59 -0500
committerMalfurious <m@lfurio.us>2023-11-15 23:11:08 -0500
commit6f28e83f5d8924354a66b69241cb61a7b3162721 (patch)
treebd106e12946061b3362bf7ef166faac17bc6a899 /dmt/html
parent53607a71cf8a366402e43808e906f7055f64f2b4 (diff)
downloadcychedelic-6f28e83f5d8924354a66b69241cb61a7b3162721.tar.gz
cychedelic-6f28e83f5d8924354a66b69241cb61a7b3162721.zip
dmt: Add main page layout
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to '')
-rw-r--r--dmt/html/jobs.html26
-rw-r--r--dmt/html/master.html22
2 files changed, 48 insertions, 0 deletions
diff --git a/dmt/html/jobs.html b/dmt/html/jobs.html
new file mode 100644
index 0000000..72269f6
--- /dev/null
+++ b/dmt/html/jobs.html
@@ -0,0 +1,26 @@
+<h1>Latest Jobs</h1>
+
+<div class="box hidden" id="no_server">
+ <div class="box-title">
+ Please wait...
+ <span class="right progress"></span>
+ </div>
+ <div class="box-text">
+ Fetch failure - Attempting to contact server...
+ </div>
+</div>
+
+<div class="box" id="no_jobs">
+ <div class="box-title">
+ Please wait...
+ <span class="right progress"></span>
+ </div>
+ <div class="box-text">
+ Gathering job logs...
+ </div>
+</div>
+
+<div id="latest_jobs"></div>
+
+<h1>Older Jobs</h1>
+<div id="older_jobs"></div>
diff --git a/dmt/html/master.html b/dmt/html/master.html
new file mode 100644
index 0000000..14c7c6f
--- /dev/null
+++ b/dmt/html/master.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML>
+
+<html>
+ <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>
+ <nav class="links">
+ <a href="/">jobs</a>
+ | etc...
+
+ <span class="right">
+ %($CYCHE_SITE_NAME%)
+ <span id="nav_progress"></span>
+ </span>
+ </nav>
+ %{ template "$page_template" %}
+ </body>
+</html>