diff options
author | rtz12 <koenig@fagott.pw> | 2016-11-13 02:47:19 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-11-13 02:47:19 (UTC) |
commit | c6df1d768240d14e8129b51d6916931f1c4f35db (patch) | |
tree | 4aba83338c8a732e0d40887f9cabe3aeaa1f6d26 /views/pages/api_couple.html | |
parent | c5517076f492e878a21123ae4bcb927f25bbc0a2 (diff) |
Anilist-API in Grilist implementiert
Diffstat (limited to 'views/pages/api_couple.html')
-rw-r--r-- | views/pages/api_couple.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/views/pages/api_couple.html b/views/pages/api_couple.html new file mode 100644 index 0000000..b21d349 --- /dev/null +++ b/views/pages/api_couple.html | |||
@@ -0,0 +1,28 @@ | |||
1 | {{ define "api_couple" }} | ||
2 | <html> | ||
3 | <head> | ||
4 | {{ template "materialize" }} | ||
5 | <title>{{ .name }} - grilist</title> | ||
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | ||
7 | </head> | ||
8 | <body> | ||
9 | {{ template "navbar" . }} | ||
10 | <div class="container"> | ||
11 | {{ if .error }} | ||
12 | <div class="card-panel red darken-4"> | ||
13 | <span class="white-text">{{ .error }}</span> | ||
14 | </div> | ||
15 | {{ end }} | ||
16 | <form method="POST" action="couple"> | ||
17 | <blockquote> | ||
18 | {{ .name }} wurde in einem neuen Tab/Fenster geöffnet. Bitte bestätige dort Grilist und kopiere den Code in das unten stehende Feld. | ||
19 | </blockquote> | ||
20 | <input name="code" placeholder="Code" type="text" class="validate"> | ||
21 | <button class="btn waves-effect waves-light purple lighten-2" type="submit"> | ||
22 | {{ .name }} verbinden <i class="material-icons right">send</i> | ||
23 | </button> | ||
24 | </form> | ||
25 | </div> | ||
26 | </body> | ||
27 | </html> | ||
28 | {{ end }} | ||