From 5e0a24511d51f1b1ba56fe80d5c5b673fe3245b0 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 17 Nov 2023 04:43:40 -0500 Subject: dmt: Add services page Signed-off-by: Malfurious --- dmt/dmt | 6 ++++++ dmt/html/master.html | 2 +- dmt/html/services.html | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ dmt/style.css | 4 ++++ 4 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 dmt/html/services.html diff --git a/dmt/dmt b/dmt/dmt index f3e68f3..9234d97 100755 --- a/dmt/dmt +++ b/dmt/dmt @@ -4,6 +4,7 @@ # cychedelic is an automated Continuous Deployment solution. See the README for # more information. +CYCHE_SERVICE_DIR="/data/services" CYCHE_LOG_DIR="/data/logs" CYCHE_STATUS_FILE="/data/status" CYCHE_VERSION_FILE="/version" @@ -110,6 +111,11 @@ case ${route[0]} in template "html/master.html" text/html ;; + "services") + page_template="html/services.html" + template "html/master.html" text/html + ;; + "style.css") template "style.css" text/css ;; diff --git a/dmt/html/master.html b/dmt/html/master.html index 570c511..fd57476 100644 --- a/dmt/html/master.html +++ b/dmt/html/master.html @@ -9,7 +9,7 @@