diff options
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 }} | ||
