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

Log in

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

Log out

- - -
-
-{{end}} diff --git a/models/models.go b/models.go similarity index 97% rename from models/models.go rename to models.go index 8cc9f14..117f8df 100644 --- a/models/models.go +++ b/models.go @@ -1,4 +1,8 @@ -package models +// +// Created by vfs on 02.05.2024. +// + +package main import "errors" import "time" diff --git a/register/index.html b/register/index.html deleted file mode 100644 index 089e96d..0000000 --- a/register/index.html +++ /dev/null @@ -1,45 +0,0 @@ -{{define "body"}} -
-
-

Register

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