aboutsummaryrefslogtreecommitdiffstats
path: root/templates/account.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/account.html')
-rw-r--r--templates/account.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/account.html b/templates/account.html
new file mode 100644
index 0000000..9b7e3b1
--- /dev/null
+++ b/templates/account.html
@@ -0,0 +1,29 @@
+{{ template "HEADER" . }}
+{{ if .ActionLogin }}
+
+<br><br><br><br>
+<div class="container">
+ <div class="row">
+ <div class="span6 offset3 well">
+ <legend>Please Sign In</legend>
+ {{ if .Problem }}
+ <div class="alert alert-error">
+ <strong>Problem!</strong> {{ .Problem }}
+ </div>
+ {{ end }}
+ <form method="POST" action="/account/login/" id="login-form">
+ <input id="assertion-field" type="hidden" name="assertion" value="">
+ <input type="text" id="UserName" class="span6" name="UserName" placeholder="Username">
+ </form>
+ <a href="javascript:login()"><button class="btn btn-info btn-block">Sign In With Mozilla Persona</button></a>
+ </div>
+ </div>
+</div>
+
+{{ else }}
+{{if .ActionLogout }}
+<h1>logged out, goodbye!</h1>
+{{ else }}{{if .ActionNewUser }}
+<h1>hello new human!</h1>
+{{end}}{{end}}{{end}}
+{{ template "FOOTER" . }}