diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 22:37:51 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 22:37:51 +0800 |
commit | 11a8f2889e874ecebdbc49a6887918c7b043c503 (patch) | |
tree | 0ead7076fe6df7a1edf6d3a54963ae328a2f0084 /templates | |
parent | README.md: Update about SSH implementation (diff) | |
download | forge-11a8f2889e874ecebdbc49a6887918c7b043c503.tar.gz forge-11a8f2889e874ecebdbc49a6887918c7b043c503.tar.zst forge-11a8f2889e874ecebdbc49a6887918c7b043c503.zip |
{ssh,global}.go, index.html: Add global data containing ssh fp
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html.tmpl | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl index 505ea70..e88b568 100644 --- a/templates/index.html.tmpl +++ b/templates/index.html.tmpl @@ -3,13 +3,14 @@ <html lang="en"> <head> {{ template "head_common" . }} - <title>Groups – Lindenii Forge</title> + <title>Index – Lindenii Forge</title> </head> <body class="index"> <div class="padding-wrapper"> - <h1> + <h1>Lindenii Forge</h1> + <h2> Groups - </h1> + </h2> <ul> {{- range .groups }} <li> @@ -17,6 +18,21 @@ </li> {{- end }} </ul> + <h2> + Info + </h2> + <table class="wide"> + <tbody> + <tr> + <th scope="row">SSH Public Key</th> + <td><code>{{ .global.server_public_key_string }}</code></td> + </tr> + <tr> + <th scope="row">SSH Fingerprint</th> + <td><code>{{ .global.server_public_key_fingerprint }}</code></td> + </tr> + </tbody> + </table> </div> <footer> {{ template "footer" . }} |