aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-03-16 08:33:29 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-03-16 08:45:06 +0000
commit90e7db16a6652847489be214372cadb2b882c61b (patch)
tree735a4cf21c46913323722d47eb89e4080a2ea054 /csit.infra.dash/app
parent22999c2df14eb455080ff0a09bf93dc795a4049f (diff)
feat(docs): Unify path in cdash
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I1b26e0031743e49de79529e0939c9e833f0d50c1
Diffstat (limited to 'csit.infra.dash/app')
-rw-r--r--csit.infra.dash/app/app.ini2
-rw-r--r--csit.infra.dash/app/cdash/templates/base_layout.jinja211
2 files changed, 9 insertions, 4 deletions
diff --git a/csit.infra.dash/app/app.ini b/csit.infra.dash/app/app.ini
index 0f93f34fbf..7ad49e2ef0 100644
--- a/csit.infra.dash/app/app.ini
+++ b/csit.infra.dash/app/app.ini
@@ -2,7 +2,7 @@
ini = :cdash
py-autoreload = 0
static-index = index.html
-static-map = /cdocs/=/app/cdocs/
+static-map = /cdocs/=/var/app/current/cdocs/
[cdash]
strict = true
diff --git a/csit.infra.dash/app/cdash/templates/base_layout.jinja2 b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
index eb7fc17076..ff31c72178 100644
--- a/csit.infra.dash/app/cdash/templates/base_layout.jinja2
+++ b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
@@ -16,7 +16,7 @@
<h1 class="text-white">
{{ title }}
</h1>
- <p class="lead">
+ <p class="lead">
{{ description }}
</p>
<p class="lead">
@@ -26,7 +26,7 @@
</a>
</p>
<p>
- <a href="/report/" class="btn btn-primary fw-bold w-25">
+ <a href="/report/" class="btn btn-primary fw-bold w-25">
{{ report_title }}
</a>
</p>
@@ -40,11 +40,16 @@
{{ news_title }}
</a>
</p>
+ <p>
+ <a href="/cdocs/" class="btn btn-primary fw-bold w-25">
+ Documentation
+ </a>
+ </p>
</p>
</main>
<footer class="mt-auto text-white-50">
- <p>Copyright © 2016-2022 <a href="https://fd.io" class="text-white">The Fast Data Project</a>, a series of LF Projects, LLC.</p>
+ <p>Copyright © 2016-2023 <a href="https://fd.io" class="text-white">The Fast Data Project</a>, a series of LF Projects, LLC.</p>
</footer>
</div>
{% endblock %}