blob: 733f9ef2e749ea64fcf2f3236f0f8615f0c95f62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
{% 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;
}
.branchlink a {
color: var(--orange);
text-decoration: none;
font-weight: bolder;
font-style: italic;
}
.cronlink a {
color: var(--orange);
text-decoration: none;
text-decoration: underline;
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="branchlink"
>branch:
<a
href="{{ project[1]['url'] }}"
target="_blank"
>
{% if not project[1]['branch'] %} not set {% else %} {{
project[1]['branch'] }} {% endif %}
</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: -->
|