diff options
author | 2018-01-02 22:04:48 -0800 | |
---|---|---|
committer | 2018-01-02 22:04:48 -0800 | |
commit | 320d1b016747ba4501da9417d9ce5f99368a5768 (patch) | |
tree | 1054d96afde6022951b76cc4a09b78e1e3f05058 /template/html/about.html | |
parent | c39f2e1a8d2de6d412bcc673d29eb0f7a2d1f5f7 (diff) |
Refactor packages to have more idiomatic code base
Diffstat (limited to 'template/html/about.html')
-rw-r--r-- | template/html/about.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/template/html/about.html b/template/html/about.html new file mode 100644 index 0000000..24c0f2c --- /dev/null +++ b/template/html/about.html @@ -0,0 +1,40 @@ +{{ define "title"}}{{ t "About" }}{{ end }} + +{{ define "content"}} +<section class="page-header"> + <h1>{{ t "About" }}</h1> + <ul> + <li> + <a href="{{ route "settings" }}">{{ t "Settings" }}</a> + </li> + <li> + <a href="{{ route "integrations" }}">{{ t "Integrations" }}</a> + </li> + <li> + <a href="{{ route "sessions" }}">{{ t "Sessions" }}</a> + </li> + {{ if .user.IsAdmin }} + <li> + <a href="{{ route "users" }}">{{ t "Users" }}</a> + </li> + {{ end }} + </ul> +</section> + +<div class="panel"> + <h3>{{ t "Version" }}</h3> + <ul> + <li><strong>{{ t "Version:" }}</strong> {{ .version }}</li> + <li><strong>{{ t "Build Date:" }}</strong> {{ .build_date }}</li> + </ul> +</div> + +<div class="panel"> + <h3>{{ t "Authors" }}</h3> + <ul> + <li><strong>{{ t "Author:" }}</strong> Frédéric Guillot</li> + <li><strong>{{ t "License:" }}</strong> Apache 2.0</li> + </ul> +</div> + +{{ end }} |