summaryrefslogtreecommitdiff
path: root/tpls
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-09-21 12:11:27 +0200
committerKevin Chabowski <kevin@kch42.de>2013-09-21 12:11:27 +0200
commit3d42ddb5f4b465cd78b792d12e426f18b2ca3dc4 (patch)
tree48fa9315ed6b06eb59993e6b5642450171a9bfba /tpls
parent210c7b6c0eb4dac9bd7cbd9025dcb8032320dbde (diff)
downloadmailremind-3d42ddb5f4b465cd78b792d12e426f18b2ca3dc4.tar.gz
mailremind-3d42ddb5f4b465cd78b792d12e426f18b2ca3dc4.tar.bz2
mailremind-3d42ddb5f4b465cd78b792d12e426f18b2ca3dc4.zip
Fancy forms.
Diffstat (limited to 'tpls')
-rw-r--r--tpls/login.tpl2
-rw-r--r--tpls/register.tpl10
-rw-r--r--tpls/settings.tpl10
3 files changed, 12 insertions, 10 deletions
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}}
<div class="success">{{.Success}}</div>
{{else}}
- <form action="/login" method="post" accept-charset="UTF-8">
+ <form action="/login" method="post" accept-charset="UTF-8" class="fancy">
<p><strong>E-Mail</strong> <input type="text" name="Mail" /></p>
<p><strong>Password</strong> <input type="password" name="Password" /></p>
<p><input type="submit" /></p>
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 @@
<div class="success">{{.Success}}</div>
{{else}}
{{if .Error}}<div class="error">{{.Error}}</div>{{end}}
- <form action="/register" method="post" accept-charset="UTF-8">
- <p><strong>E-Mail:</strong> <input type="text" name="Mail" /></p>
- <p><strong>Password:</strong> <input type="password" name="Password" /></p>
- <p><strong>Retype Password:</strong> <input type="password" name="RetypePassword" /></p>
+ <form action="/register" method="post" accept-charset="UTF-8" class="fancy">
+ <p><strong>E-Mail</strong><br /><input type="text" name="Mail" /></p>
+ <p><strong>Password</strong><br /><input type="password" name="Password" /></p>
+ <p><strong>Retype Password</strong><br /><input type="password" name="RetypePassword" /></p>
<p>
- <strong>Timezone:</strong>
+ <strong>Timezone</strong><br />
<select size="0" name="Timezone">
{{range .Timezones}}<option value="{{.}}">{{.}}</option>{{end}}
</select>
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}}<div class="success">{{.Success}}</div>{{end}}
- <form action="/settings?M=setpasswd" method="post" accept-charset="UTF-8">
+ <form action="/settings?M=setpasswd" method="post" accept-charset="UTF-8" class="fancy">
<h2>Set Password</h2>
<p><strong>Password:</strong> <input type="password" name="Password" /></p>
@@ -14,7 +14,7 @@
<p><input type="submit" /></p>
</form>
- <form action="/settings?M=settimezone" method="post" accept-charset="UTF-8">
+ <form action="/settings?M=settimezone" method="post" accept-charset="UTF-8" class="fancy">
<h2>Set Timezone</h2>
<p>
@@ -26,7 +26,9 @@
<p><input type="submit" /></p>
</form>
- <h2>Delete Account</h2>
- <p><a href="/delete-acc">Delete Account</a></p>
+ <form action="/delete-acc" method="get" class="fancy">
+ <h2>Delete Account</h2>
+ <p><input type="submit" value="Delete Account" /></p>
+ </form>
{{end}}
{{end}} \ No newline at end of file