summaryrefslogtreecommitdiff
path: root/views/profile.ejs
blob: 5ca62dc1f020b16634187c6e5fbfd362b95d75f8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!doctype html>
<html>
<head>
	<title>vvalls</title>
	[[ include partials/meta ]]
</head>
<body class="loading">
<div class="rapper page">
	[[- include partials/header ]]
	
	<table class="profilepage">
		<tr>
			[[ if (profile.photo && profile.photo.length) { ]]
			<td class="border profilePic" style="background-image:url([[- profile.photo ]])">
			</td>
			[[ } else { ]]
			<td class="border profilePic">
				<span class="icon-ios7-person-outline"></span>
			</td>
			[[ } ]]
			<td class="bio">
				<h2>[[- profile.displayName ]]</h2>
				[[ if (profile.location) { ]]
				<span>
					[[- profile.location ]]
				</span>
				[[ } ]]
				[[ if (profile.website && profile.website.length) { ]]
				<span>
					<a href="[[- profile.website ]]">[[- profile.website ]]</a>
				</span>
				[[ } ]]
				[[ if (profile.twitterName && profile.twitterName.length) { ]]
				<span>
					<a href="https://twitter.com/[[- profile.twitterName ]]">@[[- profile.twitterName ]]</a>
				</span>
				[[ } ]]
			</td>
		</tr>
	</table>
	
	[[ include projects/list-projects ]]

	<a href="#" data-role="new-project-modal" class="viewMore">create project</a>
	
	[[ include partials/edit-profile ]]
	[[ include projects/new-project ]]
	[[ include projects/edit-project ]]
	[[ include partials/sign-in ]]
	[[ include partials/confirm-modal ]]
	[[ include partials/footer ]]

</div>


</body>
[[ include partials/scripts ]]
</html>