diff options
author | bnewbold <bnewbold@robocracy.org> | 2012-09-20 02:50:07 +0200 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2012-09-20 02:50:07 +0200 |
commit | 627a217e7e74a6800475a9b3898855b26edd4a16 (patch) | |
tree | 64ca6d32ae3c21aa71ddb8a1cd2e458aed394a01 /templates/account.html | |
parent | e562f632fd2d56f9a0998a8f39ef7bcccb09f6ba (diff) | |
download | bommom-627a217e7e74a6800475a9b3898855b26edd4a16.tar.gz bommom-627a217e7e74a6800475a9b3898855b26edd4a16.zip |
pseudo persona stuff
Diffstat (limited to 'templates/account.html')
-rw-r--r-- | templates/account.html | 29 |
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" . }} |