This repository has been archived by the owner on Mar 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.handlebars
99 lines (98 loc) · 3.09 KB
/
template.handlebars
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>DeckCheck - TweetDeck changeset</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.1/css/bulma.min.css">
</head>
<style>
.message-header code {
background-color: unset;
color: #FFF;
}
.message-body pre {
background-color: unset;
white-space: normal;
}
</style>
<body>
<section class="hero is-info">
<div class="hero-body">
<div class="container">
<h1 class="title">
DeckCheck
</h1>
<h2 class="subtitle">
<i>EVERYONE ONTO THE DECKS, WE'VE LOCATED CHANGES!</i>
</h2>
</div>
</div>
</section>
<section class="section">
<div class="container">
<p>
<div class="tags has-addons">
<span class="tag">Legend</span>
<span class="tag is-success">Added</span>
<span class="tag is-info">Edited</span>
<span class="tag is-danger">Deleted</span>
</div>
</p>
{{#each diffs}}
{{#compare this.kind "N"}}
<article class="message is-success">
<div class="message-header">
<code>{{#fullPath this.path}}{{/fullPath}}</code>
</div>
<div class="message-body">
<pre style="color: green">{{this.rhs}}</pre>
</div>
</article>
{{/compare}}
{{#compare this.kind "D"}}
<article class="message is-danger">
<div class="message-header">
<code>{{#fullPath this.path}}{{/fullPath}}</code>
</div>
<div class="message-body">
<pre style="color: red">{{this.lhs}}</pre>
</div>
</article>
{{/compare}}
{{#compare this.kind "E"}}
<article class="message is-info">
<div class="message-header">
<code>{{#fullPath this.path}}{{/fullPath}}</code>
</div>
<div class="message-body">
<pre>{{#editDiff this.lhs this.rhs}}{{/editDiff}}</pre>
</div>
</article>
{{/compare}}
{{/each}}
</div>
</section>
<section class="hero is-dark">
<div class="hero-body">
<div class="container">
<h1 class="title">
Heads up!
</h1>
<h2 class="subtitle">
A asset dump should be available on <a href="http://assets.deckhack.io/">assets.deckhack.io</a> under the corresponding timestamp!
</h2>
</div>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="content has-text-centered">
<p>
<strong>DeckCheck</strong> by <a href="https://github.com/pixeldesu">pixeldesu</a>@<a href="http://github.com/DeckHackers">DeckHackers</a>.
</p>
</div>
</div>
</footer>
</body>
</html>