From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/jobs/debug.html | 42 +++++++++++++++++++++++++++++ gn2/wqflask/templates/jobs/no-such-job.html | 13 +++++++++ 2 files changed, 55 insertions(+) create mode 100644 gn2/wqflask/templates/jobs/debug.html create mode 100644 gn2/wqflask/templates/jobs/no-such-job.html (limited to 'gn2/wqflask/templates/jobs') diff --git a/gn2/wqflask/templates/jobs/debug.html b/gn2/wqflask/templates/jobs/debug.html new file mode 100644 index 00000000..828ab1cc --- /dev/null +++ b/gn2/wqflask/templates/jobs/debug.html @@ -0,0 +1,42 @@ +{%extends "base.html"%} +{%block title%}Debug Job{% endblock%} +{%block css%} +{%endblock%} + +{%block content%} +

Debug Job

+ +The following show details for job "{{job_id}}" to assist in debugging. + +

Metadata

+ + + +

STDERR

+ +
+ {%for line in stderr:%} +

{{line}}

+ {%endfor%} +
+ +

STDOUT

+ +
+ {%for line in stdout:%} +

{{line}}

+ {%endfor%} +
+ + +{%endblock%} + +{%block js%} +{%endblock%} diff --git a/gn2/wqflask/templates/jobs/no-such-job.html b/gn2/wqflask/templates/jobs/no-such-job.html new file mode 100644 index 00000000..6fe7d014 --- /dev/null +++ b/gn2/wqflask/templates/jobs/no-such-job.html @@ -0,0 +1,13 @@ +{%extends "base.html"%} +{%block title%}No Such Job{% endblock%} +{%block css%} +{%endblock%} + +{%block content%} +

No Such Job

+ +

The job with id {{job_id | string}} does not exist

+{%endblock%} + +{%block js%} +{%endblock%} -- cgit v1.2.3