From 2f9fe2cfad83416647beed9c3c9085d686c43b09 Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Sat, 14 Feb 2015 23:11:57 +0100 Subject: Initial commit. --- app/views/App/Index.html | 13 +++++++++ app/views/App/Index.html.bak | 23 ++++++++++++++++ app/views/App/Register.html | 50 ++++++++++++++++++++++++++++++++++ app/views/debug.html | 64 ++++++++++++++++++++++++++++++++++++++++++++ app/views/errors/404.html | 20 ++++++++++++++ app/views/errors/500.html | 16 +++++++++++ app/views/flash.html | 18 +++++++++++++ app/views/footer.html | 19 +++++++++++++ app/views/header.html | 19 +++++++++++++ app/views/navbar.html | 23 ++++++++++++++++ 10 files changed, 265 insertions(+) create mode 100644 app/views/App/Index.html create mode 100644 app/views/App/Index.html.bak create mode 100644 app/views/App/Register.html create mode 100644 app/views/debug.html create mode 100644 app/views/errors/404.html create mode 100644 app/views/errors/500.html create mode 100644 app/views/flash.html create mode 100644 app/views/footer.html create mode 100644 app/views/header.html create mode 100644 app/views/navbar.html (limited to 'app/views') diff --git a/app/views/App/Index.html b/app/views/App/Index.html new file mode 100644 index 0000000..cf36a51 --- /dev/null +++ b/app/views/App/Index.html @@ -0,0 +1,13 @@ +{{set . "title" "Home"}} +{{template "header.html" .}} +{{template "navbar.html" .}} + +
+
+
+
+
+
+ + +{{template "footer.html" .}} diff --git a/app/views/App/Index.html.bak b/app/views/App/Index.html.bak new file mode 100644 index 0000000..deb2304 --- /dev/null +++ b/app/views/App/Index.html.bak @@ -0,0 +1,23 @@ +{{set . "title" "Home"}} +{{template "header.html" .}} + +
+
+
+
+

It works!

+

+
+
+
+
+ +
+
+
+ {{template "flash.html" .}} +
+
+
+ +{{template "footer.html" .}} diff --git a/app/views/App/Register.html b/app/views/App/Register.html new file mode 100644 index 0000000..9c8683c --- /dev/null +++ b/app/views/App/Register.html @@ -0,0 +1,50 @@ +{{set . "title" "Register"}} +{{template "header.html" .}} +{{template "navbar.html" .}} + +
+
+
+
+ +
Please note: We haven't started yet! This is just a demo page.
+
+
+
+
+ + +
+
+
+
+
+ +

Mail Exchange

+

Free E-Mail hosting for your own domain.
Reqister yourself below and point your MX entry to "mx.iamfabulous.de"

+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + +
+
+
+
+
+ +{{template "footer.html" .}} diff --git a/app/views/debug.html b/app/views/debug.html new file mode 100644 index 0000000..f3975b7 --- /dev/null +++ b/app/views/debug.html @@ -0,0 +1,64 @@ + + + + + diff --git a/app/views/errors/404.html b/app/views/errors/404.html new file mode 100644 index 0000000..ebdfe10 --- /dev/null +++ b/app/views/errors/404.html @@ -0,0 +1,20 @@ + + + + Not found + + +{{if eq .RunMode "dev"}} +{{template "errors/404-dev.html" .}} +{{else}} + {{with .Error}} +

+ {{.Title}} +

+

+ {{.Description}} +

+ {{end}} +{{end}} + + diff --git a/app/views/errors/500.html b/app/views/errors/500.html new file mode 100644 index 0000000..0cef4de --- /dev/null +++ b/app/views/errors/500.html @@ -0,0 +1,16 @@ + + + + Application error + + + {{if eq .RunMode "dev"}} + {{template "errors/500-dev.html" .}} + {{else}} +

Oops, an error occured

+

+ This exception has been logged. +

+ {{end}} + + diff --git a/app/views/flash.html b/app/views/flash.html new file mode 100644 index 0000000..9c9ade9 --- /dev/null +++ b/app/views/flash.html @@ -0,0 +1,18 @@ +{{if .flash.success}} +
+ {{.flash.success}} +
+{{end}} + +{{if or .errors .flash.error}} +
+ {{if .flash.error}} + {{.flash.error}} + {{end}} + +
+{{end}} diff --git a/app/views/footer.html b/app/views/footer.html new file mode 100644 index 0000000..1b06355 --- /dev/null +++ b/app/views/footer.html @@ -0,0 +1,19 @@ + {{if eq .RunMode "dev"}} + {{template "debug.html" .}} + {{end}} + {{range .moreScripts}} + + {{end}} + + + + + diff --git a/app/views/header.html b/app/views/header.html new file mode 100644 index 0000000..2875487 --- /dev/null +++ b/app/views/header.html @@ -0,0 +1,19 @@ + + + + + + {{.title}} + + + + + {{range .moreStyles}} + + {{end}} + + + + diff --git a/app/views/navbar.html b/app/views/navbar.html new file mode 100644 index 0000000..2e45d0a --- /dev/null +++ b/app/views/navbar.html @@ -0,0 +1,23 @@ + -- cgit v1.2.3