summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Manage/Index.cshtml
blob: 8b184015562a79ffec7f76a0fa122cbe89a9576c (plain) (blame)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
@model Project_Unite.Models.ApplicationUser
@{
    ViewBag.Title = "My profile";
}

<div class="row">
	<h3><img src="@Model.AvatarUrl" width="64" height="64" /> @if (string.IsNullOrWhiteSpace(Model.FullName))
	{ <strong> @Model.DisplayName </strong>}
	else {
			<strong>@Model.FullName</strong> <em>(@Model.DisplayName)</em>
	}</h3>
</div>


<p class="text-success">@ViewBag.StatusMessage</p>

<div class="row">
	<ul id="tabs" data-tabs="tabs" class="nav nav-tabs" role="tablist">
		<li class="active"><a data-toggle="tab" href="#t_profile">Profile</a></li>
		<li><a data-toggle="tab" href="#t_badges">Badges</a></li>
		<li><a data-toggle="tab" href="#t_posts">Posts</a></li>
		<li><a data-toggle="tab" href="#t_messages">Messages</a></li>
		<li><a data-toggle="tab" href="#t_preferences">Preferences</a></li>
	</ul>

	<div class="tab-content">
		<div class="tab-pane active" id="t_profile">
			<table class="table">
				<tr>
					<td><strong>Full name:</strong></td>
					<td>
						@if (string.IsNullOrWhiteSpace(Model.FullName))
						{
							<p><em>Not provided.</em></p>
						}
						else
						{
							<p>@Model.FullName</p>
						}
					</td>
				</tr>
				<tr>
					<td><strong>Display name:</strong></td>
					<td><p>@Model.DisplayName</p></td>
				</tr>
				<tr>
					<td><strong>Codepoints:</strong><p>If you have your in-game system linked with your account, your Codepoints will be shown here.</p></td>
					<td><p>@Model.Codepoints</p></td>
				</tr>
				<tr>
					<td>Links</td>
					<td>
						@if (!string.IsNullOrWhiteSpace(Model.YoutubeUrl)) {
							<a href="@Model.YoutubeUrl"><span class="glyphicon glyphicon-hd-video"></span></a>
						}
						&nbsp;&nbsp;
						@if (!string.IsNullOrWhiteSpace(Model.Website)) {
						<a href="@Model.Website">Website</a>
						}
					</td>
				</tr>
			</table>
		</div>
		<div class="tab-pane" id="t_badges">
			<h4>Not yet implemented.</h4>
			<p>This feature has not been implemented just yet.</p>
		</div>
		<div class="tab-pane" id="t_posts">
			<h4>Not yet implemented.</h4>
			<p>This feature has not been implemented just yet.</p>
		</div>
		<div class="tab-pane" id="t_messages">
			<h4>Not yet implemented.</h4>
			<p>This feature has not been implemented just yet.</p>
		</div>
		<div class="tab-pane" id="t_preferences">
			<h4>Not yet implemented.</h4>
			<p>This feature has not been implemented just yet.</p>
		</div>
	</div>
</div>