Files

36 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2017-09-11 20:40:43 +02:00
{{define "Note"}}
2017-09-09 20:49:45 +02:00
<!DOCTYPE html>
<html>
<head>
2021-04-05 23:20:39 +03:00
<title>Notes &mdash; {{.Title}}</title>
2017-09-09 20:49:45 +02:00
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<link href="/style.css" rel="stylesheet" type="text/css" />
2017-09-23 23:29:06 +02:00
<script src='/note.js'></script>
2017-09-09 20:49:45 +02:00
</head>
<body>
2018-02-12 21:04:39 +01:00
{{if .Fraud}}
2017-09-18 23:59:01 +02:00
{{.Ads}}
2018-02-12 21:04:39 +01:00
<input type="hidden" id="encoded" value="{{.Encoded}}" />
<article></article>
<script>
document.getElementsByTagName("article")[0].innerHTML =
decodeURIComponent(escape(window.atob(document.getElementById("encoded").value)));
</script>
{{else}}
2017-09-09 20:49:45 +02:00
<article>
{{.Content}}
</article>
2018-02-12 21:04:39 +01:00
{{end}}
2017-09-09 20:49:45 +02:00
<footer>
2021-04-05 23:21:18 +03:00
<a href="/">&#8962; main page</a> &middot;
2017-09-17 13:39:35 +02:00
{{if .ID}}
2017-09-26 22:50:11 +02:00
<a href="/{{.ID}}/stats">stats</a> &middot;
2017-09-11 22:59:06 +02:00
<a href="/{{.ID}}/edit">edit</a> &middot;
<a href="/{{.ID}}/export">export</a> &middot;
2017-09-17 13:39:35 +02:00
{{end}}
2017-09-09 20:49:45 +02:00
</footer>
</body>
</html>
2017-09-11 20:40:43 +02:00
{{end}}