summaryrefslogtreecommitdiff
path: root/views/profile.pug
diff options
context:
space:
mode:
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