summaryrefslogtreecommitdiff
path: root/views/profile.pug
blob: 7ed8eff0668fddc8d0ce933e941bc1b2c561e534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title= SITE_NAME
	body
		include header
		article
			h1= SITE_NAME

			p Welcome, #{user.name}!
			p Your mail address is #{user.mail}

			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>
				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>
				br
				| <a href="/delete-account">Delete account</a>

			p <a href="/chat">Chat log</a>

			p
				form(action="/logout" method="post")
					button(type="submit") Logout