From eb2d8a1e2c635fadb62cec5fc28991387c4de64e Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 17 May 2017 19:23:10 -0400 Subject: [PATCH] start the revamp --- Project-Unite/Views/Manage/Index.cshtml | 133 +++--------------------- 1 file changed, 17 insertions(+), 116 deletions(-) diff --git a/Project-Unite/Views/Manage/Index.cshtml b/Project-Unite/Views/Manage/Index.cshtml index 6d9a8dc..a40be96 100644 --- a/Project-Unite/Views/Manage/Index.cshtml +++ b/Project-Unite/Views/Manage/Index.cshtml @@ -6,127 +6,28 @@
-

@if (string.IsNullOrWhiteSpace(Model.FullName)) - { @Model.DisplayName } - else { - @Model.FullName (@Model.DisplayName) - }

- + + @if (!string.IsNullOrWhiteSpace(Model.FullName)) + { +

@Model.FullName

+ } +
@Model.DisplayName
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+
+

Profile settings

-
- -
Avatar @Html.ActionLink("Change", "ListAvatars")
Full name: - @using(Html.BeginForm("ChangeFullName", "Manage")) - { - @Html.AntiForgeryToken() - @Html.TextBoxFor(Model=>Model.FullName, new { @class="form-control"}) - - } -
Display name:

@Model.DisplayName

Codepoints:

If you have your in-game system linked with your account, your Codepoints will be shown here.

@Model.Codepoints

Hobbies
What do you like to do? Separate each hobby with a comma.
- @using (Html.BeginForm("ChangeHobbies", "Manage")) - { - @Html.AntiForgeryToken() - @Html.TextBoxFor(Model => Model.Hobbies, new { @class = "form-control" }) - - } -
Interests
What are you interested in? Separate each interest with a comma.
- @using (Html.BeginForm("ChangeInterests", "Manage")) - { - @Html.AntiForgeryToken() - @Html.TextBoxFor(Model => Model.Interests, new { @class = "form-control" }) - - } -
About you
Introduce yourself! Markdown formatting is supported.
- @using (Html.BeginForm("ChangeBio", "Manage")) - { - @Html.AntiForgeryToken() - @Html.TextAreaFor(Model => Model.Bio, new { rows="5", @class = "form-control" }) - - } -
Website
If you have a website, post its URL here!
- @using (Html.BeginForm("ChangeWebsite", "Manage")) - { - @Html.AntiForgeryToken() - @Html.TextBoxFor(Model => Model.Website, new { @class = "form-control" }) - - } -
YouTube
If you have a YouTube channel, post its URL here!
- @using (Html.BeginForm("ChangeYouTube", "Manage")) - { - @Html.AntiForgeryToken() - @Html.TextBoxFor(Model => Model.YoutubeUrl, new { @class = "form-control" }) - - } -
-
-
-

Not yet implemented.

-

This feature has not been implemented just yet.

-
-
-

Not yet implemented.

-

This feature has not been implemented just yet.

-
-
-

Not yet implemented.

-

This feature has not been implemented just yet.

-
-
- - - - - -
Password:@Html.ActionLink("Change", "ChangePassword", "Manage", null, new { @class = "btn btn-default" })
-
-
-
+

Edit your public profile here.

+
+ + \ No newline at end of file