summaryrefslogtreecommitdiff
path: root/views/profile.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-08-06 11:58:40 +0200
committerTor Andersson <tor@ccxvii.net>2022-08-06 11:59:32 +0200
commit7dfe4ebbf43d16f8ecc36b8ec8100b840dd96148 (patch)
treebbd032aba2ec31f18b0aa3ed5bf8bafded42b96c /views/profile.pug
parent6a72d2b30417c68e74b77d8dc6699573f9e033d5 (diff)
downloadserver-7dfe4ebbf43d16f8ecc36b8ec8100b840dd96148.tar.gz
Zap gravatars!
Diffstat (limited to 'views/profile.pug')
-rw-r--r--views/profile.pug18
1 files changed, 11 insertions, 7 deletions
diff --git a/views/profile.pug b/views/profile.pug
index ca6295c..52bb0c0 100644
--- a/views/profile.pug
+++ b/views/profile.pug
@@ -8,22 +8,26 @@ html
include header
article
h1= SITE_NAME
- a(href="https://gravatar.com/"): img.avatar(src=avatar)
p Welcome, #{user.name}!
p Your mail address is #{user.mail}
- br(clear="left")
if user.notify
p <a href="/unsubscribe">Disable mail notifications</a>
else
p <a href="/subscribe">Enable mail notifications</a>
- p <a href="/change-password">Change password</a>
- p <a href="/change-mail">Change mail address</a>
- p <a href="/change-name">Change user name</a>
- p <a href="/change-about">Change profile text</a>
+ p
+ | <a href="/change-password">Change password</a>
+ br
+ | <a href="/change-mail">Change mail address</a>
+ br
+ | <a href="/change-name">Change user name</a>
+ br
+ | <a href="/change-about">Change profile text</a>
p <a href="/chat">Chat log</a>
- p <a href="/logout">Logout</a>
+ p
+ form(action="/logout" method="post")
+ button(type="submit") Logout