-
Notifications
You must be signed in to change notification settings - Fork 4
/
comparison.template.html
68 lines (68 loc) · 3.78 KB
/
comparison.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
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head>
<title>Chainguard Image Comparison | {{imageName}}</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, max-scale=1.0,user-scalable=0"/>
<link href="https://fonts.googleapis.com" rel="preconnect"/>
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous"/>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script>
<script type="text/javascript">WebFont.load({ google: { families: ["Noto Serif:regular","Inter:100,200,300,regular,500,600,700,800,900","IBM Plex Mono:200,300,regular,500,600,700"] }});</script>
<!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" type="text/javascript"></script><![endif]-->
<script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/timeago.js/2.0.2/timeago.min.js" integrity="sha512-sl01o/gVwybF1FNzqO4NDRDNPJDupfN0o2+tMm4K2/nr35FjGlxlvXZ6kK6faa9zhXbnfLIXioHnExuwJdlTMA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link href="https://assets.website-files.com/6228fdbc6c97145dad2a9c2b/css/chainguard.d38bb0367.min.css" rel="stylesheet" type="text/css"/>
<link href="comparison.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="case-studies-card" style="border: 0;box-shadow: none;padding: 0px;">
<div class="text-title-1">Chainguard {{imageName}} Image</div>
<div class="cve-block is-go">
<div class="cve-col">
<div class="text-title-2">CVEs</div>
<h2 class="text-headline-02">{{oursCvesNum}}</h2>
</div>
<div class="cve-col">
<div class="text-title-2">Size</div>
<h2 class="text-headline-02">{{oursSizeNum}}<span class="text-title-1 is-small">{{oursSizeUnit}}</span></h2>
</div>
<div class="cve-col">
<div class="text-title-2">Age</div>
<h2 class="text-headline-02"><script>var tmp=timeago.call('format').format({{oursTimestamp}}).split(" "); document.write(tmp[0] + '<span class="text-title-1 is-small">' + tmp[1] + '</span>')</script></h2>
</div>
</div>
<div class="is-relative">
<div class="text-title-1 is-go">Upstream {{imageName}}</div>
</div>
<div class="is-relative">
<div class="cve-block-1 is-go">
<div class="cve-row">
<div class="cve-col-25">
<div class="text-title-2">CVEs</div>
</div>
<div class="cve-col-25">
<div class="text-title-2">Size</div>
</div>
<div class="cve-col-25">
<div class="text-title-2">Age</div>
</div>
</div>
<div class="cve-row is-last">
<div class="cve-col-25">
<p class="text-body-02 text-is-primary">{{theirsCvesNum}}</p>
</div>
<div class="cve-col-25">
<p class="text-body-02 text-is-primary">{{theirsSizeNum}}{{theirsSizeUnit}}</p>
</div>
<div class="cve-col-25">
<p class="text-body-02 text-is-primary"><script>document.write(timeago.call('format').format({{theirsTimestamp}}));</script></p>
</div>
</div>
</div>
</div>
<div class="text-body-02 mg-t-12">
Generated from opensource <a href="https://github.com/chainguard-dev/image-comparison" class="link-text" target="_blank">dataset</a> <script>document.write(timeago.call('format').format({{generatedAtTimestamp}}));</script>
</div>
</div>
</body>
</html>