-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathgallery.html
More file actions
70 lines (70 loc) · 2.17 KB
/
gallery.html
File metadata and controls
70 lines (70 loc) · 2.17 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<style type="text/css">
.short-screenshot {
height: 200px;
width: 200px;
margin-bottom: 10px;
overflow: hidden;
display: block;
}
.filename {
word-break: break-all;
}
</style>
<title>Screenshots - {{project}}</title>
</head>
<body>
<div class="container">
<div class="row page-header">
<h1>List of screenshots for {{project}}</h1>
</div>
<div class="row">
<div class="col-lg-3">
<div class="panel">
<h3>Screenshots:</h3>
<ul class="list-group list-group-flush list-unstyled">
{{#dirs}}
<li><a href="#/{{#resolve}}{{.}}{{/resolve}}">/{{#resolve}}{{.}}{{/resolve}}</a></li>
{{/dirs}}
</ul>
</div>
</div>
<div class="col-lg-9">
{{#images}}
{{#dir}}
<div class="row">
<a name="/{{#resolve}}{{dir}}{{/resolve}}"></a>
<h2>/{{#resolve}}{{dir}}{{/resolve}}</h2></a>
</div>
{{/dir}}
<div class="row">
<h4 class="col-lg-1 text-muted">{{size}}px</h4>
<div class="col-lg-3">
<a class="short-screenshot" href="{{#resolve}}{{base}}{{/resolve}}">
<img class="img-thumbnail" width="200" src="./{{#resolve}}{{base}}{{/resolve}}">
</a>
<p class="text-center filename">{{#resolve}}{{base}}{{/resolve}}</p>
</div>
<div class="col-lg-3">
<a class="short-screenshot" href="{{#resolve}}{{compare}}{{/resolve}}">
<img class="img-thumbnail" width="200" src="./{{#resolve}}{{compare}}{{/resolve}}">
</a>
<p class="text-center filename">{{#resolve}}{{compare}}{{/resolve}}</p>
</div>
<div class="col-lg-3">
<a class="short-screenshot" href="{{#resolve}}{{output}}{{/resolve}}">
<img class="img-thumbnail" width="200" src="./{{#resolve}}{{output}}{{/resolve}}">
</a>
<p class="text-center filename">diff</p>
<p class="text-center filename text-muted">{{#contents}}{{diff}}{{/contents}}%</p>
</div>
</div>
{{/images}}
</div>
</div>
</div>
</body>
</html>