aboutsummaryrefslogtreecommitdiff
path: root/templates/project.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 /templates/project.html
parentb36868f1fc3a6df0da4d931f94f3c39f1c50ee59 (diff)
downloadmakeshiftci-fda7315f43b02cfae3050ece68a4d7cb26a826b4.tar.gz
makeshiftci-fda7315f43b02cfae3050ece68a4d7cb26a826b4.zip
restructure webUI
Diffstat (limited to 'templates/project.html')
-rw-r--r--templates/project.html119
1 files changed, 0 insertions, 119 deletions
diff --git a/templates/project.html b/templates/project.html
deleted file mode 100644
index 9b0aa58..0000000
--- a/templates/project.html
+++ /dev/null
@@ -1,119 +0,0 @@
-{% extends "base.html" %} {% block title %}/{{ project_path }}{% endblock %} {%
-block path %}/<a href="/{{ project_path }}">{{ project_path }}</a>{% endblock %}
-{% block extrastyle %}
-<style
- type="text/css"
- media="all"
->
- .heading-name {
- color: var(--secondary) !important;
- font-weight: bolder;
- font-style: italic;
- text-decoration: none;
- }
- .heading-info {
- display: flex;
- flex-direction: row;
- place-content: space-between;
- .heading-url {
- color: var(--blue);
- text-decoration: underline;
- font-style: italic;
- }
- .heading-cron {
- color: var(--orange);
- text-decoration: none;
- font-weight: bolder;
- }
- }
- .fullbody {
- display: grid;
- place-items: stretch;
- grid-template-columns: repeat(2, 1fr);
- padding: 20px;
- gap: 20px;
- .runcard {
- display: felx;
- background-color: var(--overlay);
- padding: 10px;
- border-radius: 4px;
- width: 90%;
- .runheader {
- display: flex;
- flex-direction: row;
- place-content: space-between;
- .runnumber {
- font-weight: bolder;
- color: var(--secondary);
- }
- .rundate {
- font-size: 12px;
- color: var(--secondary);
- }
- }
- .runstatus {
- padding: 4px;
- color: var(--overlay);
- &.success::before {
- content: "success";
- background-color: var(--green);
- border-radius: 5px;
- padding: 4px;
- }
- &.failure::before {
- content: "failure";
- background-color: var(--red);
- border-radius: 5px;
- padding: 4px;
- }
- &.running::before {
- content: "running";
- background-color: var(--brown);
- border-radius: 5px;
- padding: 4px;
- }
- }
- }
- }
-</style>
-{% endblock %} {% block headingcontent %}
-<h2 class="heading-name">{{ project.name }}</h2>
-<h4 class="heading-info"
- ><a
- href="{{ project.url }}"
- target="_blank"
- class="heading-url"
- >{{ project.url }}</a
- ><a
- href="https://crontab.guru/#{{ project.cron }}"
- target="_blank"
- class="heading-cron"
- >{{ project.cron }}</a
- ></h4
->
-{% endblock %} {% block content %}
-
-<div class="fullbody">
- {% for run in runlist %}
- <div class="runcard">
- <h3 class="runheader"
- ><span
- >run
- <span class="runnumber"
- ><a href="/{{ project_path }}/{{ run.number }}"
- >#{{ run.number }}</a
- ></span
- ></span
- ><span class="rundate">{{ run.date }}</span></h3
- >
- <hr style="margin: 5px" />
- <h4
- class="runstatus {{ {true: 'success', false: 'failure', none: 'running'}[run.status]
- }}"
- ></h4>
- </div>
- {% endfor %}
-</div>
-{% endblock %}
-
-<!-- vim: set filetype=jinja: -->