From f9bc305acaaf26bf3c5ef4ae49f7b5a20c9c1dfe Mon Sep 17 00:00:00 2001
From: f0x52
Date: Mon, 21 Jun 2021 19:46:10 +0200
Subject: new styling for frontpage, update login and authorize templates (#46)
* new styling for frontpage, update login and authorize templates
* run go fmt
* add AssetBaseDir to command flag parsing
* untested: move landing page to it's own router
* go fmt, fix typo
* fix package, adapt to proper Route structure
---
web/template/authorize.tmpl | 43 ++++++++++++-----------------------------
web/template/footer.tmpl | 13 +++++++++++++
web/template/header.tmpl | 16 +++++++++++++++
web/template/index.tmpl | 47 +++++++++++++++++++++++++++++++++++++++++++++
web/template/sign-in.tmpl | 41 +++++++++++++--------------------------
5 files changed, 101 insertions(+), 59 deletions(-)
create mode 100644 web/template/footer.tmpl
create mode 100644 web/template/header.tmpl
create mode 100644 web/template/index.tmpl
(limited to 'web/template')
diff --git a/web/template/authorize.tmpl b/web/template/authorize.tmpl
index fa6338b35..bc609ed66 100644
--- a/web/template/authorize.tmpl
+++ b/web/template/authorize.tmpl
@@ -1,34 +1,15 @@
-
-
-
-
- GoToSocial Authorization
-
-
-
-
-
-
-
-
-
+
+
+{{ template "footer.tmpl" .}}
\ No newline at end of file
diff --git a/web/template/footer.tmpl b/web/template/footer.tmpl
new file mode 100644
index 000000000..19e9cdbc4
--- /dev/null
+++ b/web/template/footer.tmpl
@@ -0,0 +1,13 @@
+
+
+