aboutsummaryrefslogtreecommitdiff
path: root/tmpl/index_login.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tmpl/index_login.tmpl35
1 files changed, 35 insertions, 0 deletions
diff --git a/tmpl/index_login.tmpl b/tmpl/index_login.tmpl
new file mode 100644
index 0000000..da3396c
--- /dev/null
+++ b/tmpl/index_login.tmpl
@@ -0,0 +1,35 @@
+{{- /*
+ * Copyright (c) 2024 Runxi Yu
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */ -}}
+{{ define "index_login" }}
+<!DOCTYPE html>
+<html>
+<head>
+<title>
+Login required &ndash; FBFP
+</title>
+</head>
+<body>
+<p>
+You have not authenticated.
+</p>
+<p>
+You must <a href="login">login</a> to use this service.
+</p>
+</body>
+</html>
+{{ end }}