-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.tpl
165 lines (153 loc) · 5.01 KB
/
index.tpl
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html>
<head>
<title>SUSE Edge Helm Charts</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.10.0/github-markdown.min.css" />
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
margin: 0 auto;
padding: 45px;
width: fit-content;
block-size: fit-content;
}
.markdown-head {
box-sizing: border-box;
min-width: 200px;
margin: 0 auto;
width: fit-content;
block-size: fit-content;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
.clippy {
margin-top: -3px;
position: relative;
top: 3px;
}
.snippet { position: relative; }
.snippet:hover .btn, .snippet .btn:focus {
opacity: 1;
}
.snippet .btn {
-webkit-transition: opacity .3s ease-in-out;
-o-transition: opacity .3s ease-in-out;
transition: opacity .3s ease-in-out;
opacity: 0;
padding: 2px 6px;
position: absolute;
right: 4px;
top: 4px;
}
.btn {
position: relative;
display: inline-block;
padding: 6px 12px;
font-size: 13px;
font-weight: 700;
line-height: 20px;
color: #333;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
background-color: #eee;
background-image: linear-gradient(#fcfcfc,#eee);
border: 1px solid #d5d5d5;
border-radius: 3px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-appearance: none;
}
.charts {
display: flex;
flex-wrap: wrap;
}
.chart {
border-radius: 8px;
overflow: hidden;
border: 1px solid #d7d9dd;
transition: transform .2s ease;
background-color: #eaedef;
width: 250px;
margin: 0.5em;
}
.chart .icon {
display: flex;
justify-content: center;
width: 100%;
height: 110px;
background-color: #fff;
align-items: center;
}
.chart .icon img {
max-height: 80%;
}
.chart .body {
position: relative;
display: flex;
justify-content: center;
flex: 1;
border-top: 1px solid #d7d9dd;
padding: 0 1em;
flex-direction: column;
word-wrap: break-word;
text-align: center;
}
.chart .body .info {
word-wrap: break-word;
text-align: center;
}
.chart .body .description {
text-align: left;
}
</style>
</head>
<body>
<section class="markdown-body">
<section class="markdown-head">
<img alt="SUSE Logo" src="https://www.suse.com/assets/img/suse-black-logo-green.svg" height="140" />
<h1>SUSE Edge Helm Charts</h1>
<h2>Usage</h2>
<pre lang="no-highlight"><code>helm repo add suse-edge https://suse-edge.github.io/charts</code></pre>
<p>This is an unofficial and unsupported repository. Use it with caution.</p>
</section>
<h2>Charts</h2>
<div class="charts">
{{range $key, $chartEntry := .Entries }}
{{ if not (index $chartEntry 0).Deprecated }}
<div class="chart">
<a href="{{ (index (index $chartEntry 0).Urls 0) }}" title="{{ (index (index $chartEntry 0).Urls 0) }}">
<div class="icon">
<img class="chart-item-logo" alt="{{ $key }}'s logo" src="{{ if (index $chartEntry 0).Icon }}{{ (index $chartEntry 0).Icon }}{{ else }}https://raw.githubusercontent.com/suse-edge/charts/main/_images/placeholder.png{{end}}">
</div>
<div class="body">
<p class="info">
{{ (index $chartEntry 0).Name }}
({{ (index $chartEntry 0).Version }}@{{ (index $chartEntry 0).AppVersion }})
<a href="https://github.com/suse-edge/charts/tree/main/charts/{{ $key }}">
<img src="https://raw.githubusercontent.com/suse-edge/charts/main/_images/GitHub-Mark-32px.png" alt="github link" style="height: 16px; width: 16px; vertical-align: middle;" />
</a>
</p>
<p class="description">
{{ (index $chartEntry 0).Description }}
</p>
</div>
</a>
</div>
{{end}}
{{end}}
</div>
Generated on: <time datetime="{{ .Generated.Format "2006-01-02T15:04:05" }}" pubdate id="generated">{{ .Generated.Format "Mon Jan 2 2006 03:04:05PM MST-07:00" }}</time>
</section>
<script src="https://unpkg.com/clipboard@2/dist/clipboard.min.js"></script>
<script>new ClipboardJS('.btn');</script>
</body>
</html>