aboutsummaryrefslogtreecommitdiff
path: root/web/templates/home.html
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-05-15 02:24:12 +0300
committertoufic ar <contact@toufy.me>2026-05-15 02:24:12 +0300
commitfda7315f43b02cfae3050ece68a4d7cb26a826b4 (patch)
treedef28890a3c92cd7c2cb53d01f8e76c74fe362e7 /web/templates/home.html
parentb36868f1fc3a6df0da4d931f94f3c39f1c50ee59 (diff)
downloadmakeshiftci-fda7315f43b02cfae3050ece68a4d7cb26a826b4.tar.gz
makeshiftci-fda7315f43b02cfae3050ece68a4d7cb26a826b4.zip
restructure webUI
Diffstat (limited to 'web/templates/home.html')
-rw-r--r--web/templates/home.html66
1 files changed, 66 insertions, 0 deletions
diff --git a/web/templates/home.html b/web/templates/home.html
new file mode 100644
index 0000000..20ef75a
--- /dev/null
+++ b/web/templates/home.html
@@ -0,0 +1,66 @@
+{% extends "base.html" %} {% block extrastyle %}
+<style
+ type="text/css"
+ media="all"
+>
+ .fullbody {
+ display: grid;
+ place-items: stretch;
+ grid-template-columns: repeat(2, 1fr);
+ padding: 20px;
+ gap: 20px;
+ .projectcard {
+ display: felx;
+ background-color: var(--overlay);
+ padding: 10px;
+ border-radius: 4px;
+ width: 90%;
+ .headlink a {
+ color: var(--secondary);
+ font-weight: bolder;
+ font-style: italic;
+ text-decoration: none;
+ }
+ .urllink a {
+ color: var(--blue);
+ text-decoration: underline;
+ font-style: italic;
+ }
+ .cronlink a {
+ color: var(--orange);
+ text-decoration: none;
+ font-weight: bolder;
+ }
+ }
+ }
+</style>
+{% endblock %} {% block content %}
+<div class="fullbody">
+ {% for project in projects %}
+ <div class="projectcard">
+ <h2 class="headlink"
+ ><a href="/{{ project[0] }}">{{ project[1]['name'] }}</a></h2
+ >
+ <hr style="margin: 10px 0" />
+ <h4 class="urllink"
+ >url:
+ <a
+ href="{{ project[1]['url'] }}"
+ target="_blank"
+ >{{ project[1]['url'] }}</a
+ ></h4
+ >
+ <h4 class="cronlink"
+ >cron:
+ <a
+ href="https://crontab.guru/#{{ project[1]['cron'] }}"
+ target="_blank"
+ >{{ project[1]['cron'] }}</a
+ ></h4
+ >
+ </div>
+ {% endfor %}
+</div>
+{% endblock %}
+
+<!-- vim: set filetype=jinja: -->