Spotify.NET/SpotifyAPI.Web.Examples/Example.ASP/Pages/Profile.cshtml
2020-05-22 12:23:25 +02:00

45 lines
855 B
Plaintext

@page
@model ProfileModel
@{
ViewData["Title"] = "Profile";
ViewData["Page"] = "profile";
ViewData["Description"] = "Have a look at your spotify info and logout of your account";
}
<table class="pure-table">
<thead>
<th>Key</th>
<th>Value</th>
</thead>
<tbody>
<tr>
<td>Id</td>
<td>@Model.Me.Id</td>
</tr>
<tr>
<td>Uri</td>
<td>@Model.Me.Uri</td>
</tr>
<tr>
<td>DisplayName</td>
<td>@Model.Me.DisplayName</td>
</tr>
<tr>
<td>Country</td>
<td>@Model.Me.Country</td>
</tr>
<tr>
<td>Product</td>
<td>@Model.Me.Product</td>
</tr>
<tr>
<td>E-Mail (unverfied)</td>
<td>@Model.Me.Email</td>
</tr>
</tbody>
</table>
<form method="post" asp-controller="Profile">
<input type="submit" value="Logout"/>
</form>