aboutsummaryrefslogtreecommitdiff
path: root/web/templates/home.html
blob: 20ef75a19d66779391d101bcaee8045761afe3e7 (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
{% 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: -->