diff options
| author | horus_arch | 2015-03-23 10:58:54 +0100 |
|---|---|---|
| committer | horus_arch | 2015-03-23 10:58:54 +0100 |
| commit | 05194f3a09b2382f269d31e6e2fa472a7b95e5c1 (patch) | |
| tree | 3a8aa81ae33e9b97149a55ff6a715caa3c93dda9 /views/user.html | |
| parent | 558fe8ba9fb42231b34977fef542c43a34b3bd00 (diff) | |
| download | freemail-05194f3a09b2382f269d31e6e2fa472a7b95e5c1.tar.gz | |
Add html documentation. Change password handler.
Diffstat (limited to 'views/user.html')
| -rw-r--r-- | views/user.html | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/views/user.html b/views/user.html new file mode 100644 index 0000000..f7562be --- /dev/null +++ b/views/user.html @@ -0,0 +1,56 @@ +{{template "header.html"}} +{{template "navbar.html"}} +{{if .Error}} +<div class="container"> + <div class="row"> + {{range .Error}} + <p id="dd-alert-danger" class="col-md-4 col-md-offset-4 alert alert-danger alert-dismissible shadow-z-2" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">×</span></button> + {{.}} + </p> + {{end}} + </div> +</div> +{{end}} +{{if .Success}} +<div class="container"> + <div class="row"> + {{range .Success}} + <p id="dd-alert-success" class="col-md-4 col-md-offset-4 alert alert-success alert-dismissible shadow-z-2" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">×</span></button> + {{.}} + </p> + {{end}} + </div> +</div> +{{end}} + +<div class="container"> + <div class="row"> + <div class="col-md-12"> + <h1>User</h1> + <div class="well well-lg"> + <h2 id="change_password">Change Password</h2> + <p> + You can change your password here. + <br> + <a class="btn btn-primary btn-raised" href="/password" role="button">Change Password »</a> + </p> + <br> + <h2 id="sign_up">Create new adress</h2> + <p> + Looking for a new adress? Click here. + <br> + <a class="btn btn-primary btn-raised" href="/register" role="button">Create New Account»</a> + </p> + <br> + <h2 id="login">Login</h2> + <p> + See <a href="/howto#login" title="How to login">here</a> for more details. + <br> + <a class="btn btn-primary btn-raised" href="/howto#login" role="button">Login »</a> + </p> + </div> + </div> + </div> +</div> +{{template "footer.html"}} |
