forked from jenkins-infra/update-center2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-template.html
60 lines (58 loc) · 1.45 KB
/
index-template.html
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
<html>
<head>
<title>{{ title }}</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<meta http-equiv="Content-Security-Policy" content="default-src 'none' ; style-src 'self' 'unsafe-inline' https://stackpath.bootstrapcdn.com ; img-src https://www.jenkins.io ;">
<style>
.artifact-list {
padding: 0;
}
.artifact-list li {
background-image: url(https://www.jenkins.io/images/jar.png);
background-position: left center;
background-repeat: no-repeat;
list-style: none;
padding-left: 2rem;
margin-bottom: .5rem;
align-items: center;
}
.artifact-list .version {
margin-right: 2rem;
}
.artifact-list .checksums {
font-size: .7rem;
}
.artifact-list .core-dependency {
font-size: .7rem;
}
.subtitle {
color: #999;
}
@media (min-width: 600px) {
.artifact-list {
display: table;
}
.artifact-list li {
display: table-row;
}
.version {
display: table-cell;
padding-left: 2rem;
vertical-align: middle;
}
.artifact-list .core-dependency {
margin-bottom: 10px;
}
}
</style>
</head>
<body>
<div class="container">
<h1 class="mt-3">{{ title }}</h1>
<div class="subtitle mb-2">{{ subtitle }}</div>
<ul class="artifact-list">
{{ content }}
</ul>
</div>
</body>
</html>