-
Notifications
You must be signed in to change notification settings - Fork 22
/
paste.tmpl
40 lines (40 loc) · 989 Bytes
/
paste.tmpl
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
<!DOCTYPE html>
<html>
<head>
<title>{{with .Title}}{{.}}{{else}}Untitled PokePaste{{end}}</title>
<link rel="stylesheet" href="/css/paste.css">
<meta name="robots" content="noindex">
</head>
<body>
{{- range .Paste}}
<article>
<div class="img">
<img class="img-pokemon" src="/img/pokemon/{{.Pokemon}}-{{.Form}}.png">
{{- with .Item}}
<img class="img-item" src="/img/items/{{.}}.png">
{{- end}}
</div>
<pre>{{.Text}}
</pre>
</article>
{{- end}}
<aside>
{{- with .Title}}
<h1>{{.}}</h1>
{{- end}}
{{- with .Author}}
<h2> by {{.}}</h2>
{{- end}}
{{- with .Notes}}
<p>{{.}}</p>
{{- end}}
<input id="vgcmode" type="checkbox">
<label for="vgcmode">Columns Mode</label> /
<input id="evivmode" type="checkbox">
<label for="evivmode">Stat Colours</label> /
<input id="lightmode" type="checkbox">
<label for="lightmode">Light Mode</label>
</aside>
<script src="/js/preferences.js"></script>
</body>
</html>