summaryrefslogtreecommitdiff
path: root/res/templates/index.html
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-01-12 14:49:50 +0200
committerAlon Levy <alon@pobox.com>2015-01-12 14:49:50 +0200
commit9727204ed66ef0d6acfbf4df0bf49f5e4d9c10ba (patch)
tree1be6e31843b8b7502e48811549c03127de9e5b03 /res/templates/index.html
parent22b0069cff76f5cb95c6f6f4fa9909cfa7bfba4e (diff)
login+logout: using ajax, not POST, plus document.window (worst of both worlds)
Diffstat (limited to 'res/templates/index.html')
-rw-r--r--res/templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/templates/index.html b/res/templates/index.html
index 6ef39e25..13913ba2 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&nbsp;<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 class="profile-username">Welcome&nbsp;<span id="user_id">Anonymous</span>! <span id="logout-button" class="button">Logout</span></div>
</div>
<img class="organization-logo" src="/static/img/CRI-logo.png">
</div>