diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-12 12:52:40 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-12 12:55:11 +0200 |
| commit | 5e80077fae6495901e9c7576995ded06a1dde5c8 (patch) | |
| tree | 6717e10f5f3e59179e0c6ec5abbb5c1feb2a7630 /res/templates/index.html | |
| parent | 944618160f5c974bbe463f1a7e0572ea76a476e4 (diff) | |
client/server: login is using POST, so use POST, not XMLHttpRequest
TODO: Logout requires styling plus only to appear if logged in.
Diffstat (limited to 'res/templates/index.html')
| -rw-r--r-- | res/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/templates/index.html b/res/templates/index.html index 13913ba2..6ef39e25 100644 --- a/res/templates/index.html +++ b/res/templates/index.html @@ -23,7 +23,7 @@ <div class="username"> <div class="profile-circle"></div> <span class="profile-initials">AN<!-- must be two letters because of css --></span> - <div class="profile-username">Welcome <span id="user_id">Anonymous</span>! <span id="logout-button" class="button">Logout</span></div> + <div class="profile-username">Welcome <span id="user_id">Anonymous</span>! <span><form action="/logout" method="POST" class="logout-form"><input type="submit" value="Logout" class="button"></input></form></span></div> </div> <img class="organization-logo" src="/static/img/CRI-logo.png"> </div> |
