From 3d42ddb5f4b465cd78b792d12e426f18b2ca3dc4 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 21 Sep 2013 12:11:27 +0200 Subject: Fancy forms. --- static/style.css | 13 ++++++++++++- tpls/login.tpl | 2 +- tpls/register.tpl | 10 +++++----- tpls/settings.tpl | 10 ++++++---- 4 files changed, 24 insertions(+), 11 deletions(-) diff --git a/static/style.css b/static/style.css index 5a51c56..1d894b0 100644 --- a/static/style.css +++ b/static/style.css @@ -13,7 +13,8 @@ body { } #main { - width: 85%; + width: 70%; + min-width: 150mm; margin: 7.5mm auto 10mm; padding: 0px; } @@ -136,4 +137,14 @@ div.error { div.success { background: #ddd url(success.png) no-repeat top left; +} + +form.fancy { + width: 80mm; + margin: auto; +} + +form.fancy input, form.fancy select { + height: 4ex; + width: 100%; } \ No newline at end of file diff --git a/tpls/login.tpl b/tpls/login.tpl index b3a63e2..7fe4ebc 100644 --- a/tpls/login.tpl +++ b/tpls/login.tpl @@ -8,7 +8,7 @@ {{if .Success}}
{{.Success}}
{{else}} -
+

E-Mail

Password

diff --git a/tpls/register.tpl b/tpls/register.tpl index a6e0c38..2fab714 100644 --- a/tpls/register.tpl +++ b/tpls/register.tpl @@ -5,12 +5,12 @@
{{.Success}}
{{else}} {{if .Error}}
{{.Error}}
{{end}} - -

E-Mail:

-

Password:

-

Retype Password:

+ +

E-Mail

+

Password

+

Retype Password

- Timezone: + Timezone
diff --git a/tpls/settings.tpl b/tpls/settings.tpl index 605a596..b83520e 100644 --- a/tpls/settings.tpl +++ b/tpls/settings.tpl @@ -6,7 +6,7 @@ {{if not .Fatal}} {{if .Success}}

{{.Success}}
{{end}} - +

Set Password

Password:

@@ -14,7 +14,7 @@

-
+

Set Timezone

@@ -26,7 +26,9 @@

-

Delete Account

-

Delete Account

+
+

Delete Account

+

+
{{end}} {{end}} \ No newline at end of file -- cgit v1.2.3-54-g00ecf