From c9b4eee4c589b8b40c02d0c96f887ec991580a24 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 6 Apr 2025 09:33:11 +0800 Subject: Restructure static/templates into forged --- forged/templates/index.tmpl | 63 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 forged/templates/index.tmpl (limited to 'forged/templates/index.tmpl') diff --git a/forged/templates/index.tmpl b/forged/templates/index.tmpl new file mode 100644 index 0000000..ff7c127 --- /dev/null +++ b/forged/templates/index.tmpl @@ -0,0 +1,63 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu +*/}} +{{- define "index" -}} + + + + {{- template "head_common" . -}} + Index – {{ .global.forge_title -}} + + + {{- template "header" . -}} +
+ + + + + + + + + + + + {{- range .groups -}} + + + + + {{- end -}} + +
Groups
NameDescription
+ {{- .Name -}} + + {{- .Description -}} +
+ + + + + + + + + + + + + + + + +
+ Info +
SSH public key{{- .global.server_public_key_string -}}
SSH fingerprint{{- .global.server_public_key_fingerprint -}}
+
+ + + +{{- end -}} -- cgit v1.2.3