Advertisement
Guest User

Profil.cshtml

a guest
Jun 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. @model BAA_WEB.Models.LoginViewModel
  2. @{
  3. /**/
  4.  
  5. ViewBag.Title = "Profil";
  6. Layout = "~/Views/Shared/_UserLayout.cshtml";
  7. }
  8.  
  9. @*<p></p> If empty check?
  10. <p></p>
  11. @Model.user.UserId
  12. <td>@Model.user.FirstName</td>
  13. <td>@Model.user.LastName</td>
  14. <td></td>
  15. <td>@Model.user.Role.RoleName</td>
  16. @Model.user.UserId*@
  17. <div class="profileWrapper">
  18.  
  19.  
  20. <div class="profileContent">
  21.  
  22. <img src="~/Content/img/avatar.png" />
  23. <h2>@Model.user.UserName's <span style="font-weight:100; color:gainsboro;">Profile</span></h2>
  24.  
  25. <table class="table table-hover table-dark">
  26. <thead>
  27. <tr>
  28. <th scope="row">First Name</th>
  29. <td>@Model.user.FirstName</td>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <tr>
  34. <th scope="row">Last Name</th>
  35. <td>@Model.user.LastName</td>
  36.  
  37. </tr>
  38. <tr>
  39. <th scope="row">Role</th>
  40. <td>@Model.user.Role.RoleName</td>
  41.  
  42. </tr>
  43.  
  44. </tbody>
  45. </table>
  46. <div>
  47. @Html.ActionLink("Back to List", "Students")
  48. </div>
  49. </div>
  50. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement