diff options
author | Julien Dessaux | 2021-04-21 17:23:07 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-04-21 17:23:07 +0200 |
commit | 4a2fb7e82d5d617298cb28b66485fc6f30c55781 (patch) | |
tree | 4ae55d8208e3ebf603f3a17ac56f6efd0e011efc /internal/webui/html/base.html | |
parent | Implemented the ResumeSession function (diff) | |
download | trains-4a2fb7e82d5d617298cb28b66485fc6f30c55781.tar.gz trains-4a2fb7e82d5d617298cb28b66485fc6f30c55781.tar.bz2 trains-4a2fb7e82d5d617298cb28b66485fc6f30c55781.zip |
Reworked the webui package, added authentication feature and tests
Diffstat (limited to 'internal/webui/html/base.html')
-rw-r--r-- | internal/webui/html/base.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/webui/html/base.html b/internal/webui/html/base.html new file mode 100644 index 0000000..7522e94 --- /dev/null +++ b/internal/webui/html/base.html @@ -0,0 +1,18 @@ +{{ define "base" }} +<!doctype html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>{{ .Title }}</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <link rel="icon" type="image/png" href="/static/favicon.png" /> + <link rel="stylesheet" href="/static/main.css"> + </head> + <body> + <main> + {{ template "main" . }} + </main> + </body> +</html> +{{ end }} |