From c32d594d6587b2828553b7c5233b632c0f66a5f7 Mon Sep 17 00:00:00 2001 From: Vicente Ferrari Smith Date: Thu, 16 May 2024 15:53:30 +0000 Subject: [PATCH] git-svn-id: svn://losandesgames.com/alfheim-website@7 15359d88-9307-4e75-a9c1-e5686e5897df --- ui/account.html | 8 ++++++++ ui/base.html | 40 ++++++++++++++++++++++++++++++++++++++++ ui/index.html | 3 +++ ui/login.html | 35 +++++++++++++++++++++++++++++++++++ ui/logout.html | 11 +++++++++++ ui/register.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 142 insertions(+) create mode 100644 ui/account.html create mode 100644 ui/base.html create mode 100644 ui/index.html create mode 100644 ui/login.html create mode 100644 ui/logout.html create mode 100644 ui/register.html diff --git a/ui/account.html b/ui/account.html new file mode 100644 index 0000000..5d50e6e --- /dev/null +++ b/ui/account.html @@ -0,0 +1,8 @@ +{{define "body"}} +
+
Username: {{.Account.Username}}
+
First name: {{.Account.Firstname}}
+
Last name: {{.Account.Lastname}}
+
Color: {{.Account.Color}}
+
+{{end}} diff --git a/ui/base.html b/ui/base.html new file mode 100644 index 0000000..50af8a3 --- /dev/null +++ b/ui/base.html @@ -0,0 +1,40 @@ + + + + + Alfheim + + + + + + + + + +
+ +
+ +
+ {{template "body" .}} +
+ + + + diff --git a/ui/index.html b/ui/index.html new file mode 100644 index 0000000..7d6e6f5 --- /dev/null +++ b/ui/index.html @@ -0,0 +1,3 @@ +{{define "body"}} +
This is a great game coming soon.
+{{end}} diff --git a/ui/login.html b/ui/login.html new file mode 100644 index 0000000..8d3c3fe --- /dev/null +++ b/ui/login.html @@ -0,0 +1,35 @@ +{{define "body"}} +
+
+

Log in

+ + {{with .FormErrors.username}} + + {{end}} + +
+ +
+
+ + {{with .FormErrors.password}} + + {{end}} + +
+ +
+
+ + +
+ Have you forgotten your password? + + +
+
+{{end}} diff --git a/ui/logout.html b/ui/logout.html new file mode 100644 index 0000000..690d0bc --- /dev/null +++ b/ui/logout.html @@ -0,0 +1,11 @@ +{{define "body"}} +
+
+

Log out

+ + +
+
+{{end}} diff --git a/ui/register.html b/ui/register.html new file mode 100644 index 0000000..089e96d --- /dev/null +++ b/ui/register.html @@ -0,0 +1,45 @@ +{{define "body"}} +
+
+

Register

+ + {{with .Formerrors.username}} + + {{end}} + +
+ +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ + {{with .Formerrors.password}} + + {{end}} + +
+ +
+
+ + +
+
+{{end}}