AccountProfileView.cshtml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @using NEducation.Code;
  2. @model NEducation.Models.ProfileModel
  3. @{
  4. ViewBag.Title = "AccountProfile";
  5. Layout = "~/Views/Shared/_LayoutHome.cshtml";
  6. }
  7. @*@{
  8. String msisdn = Session["msisdn"] as String;
  9. UserProfile profile = Session["profile"] as UserProfile;
  10. }*@
  11. @*<h2>AccountProfile</h2>*@
  12. @section navMenu{
  13. <a href="/Home/" class="nav-link">Home</a>
  14. <a href="/Voca/" class="nav-link">Vocabulary</a>
  15. <a href="/Grammar/" class="nav-link">Grammar</a>
  16. @*<a href="/Music/" class="nav-link">Music</a>*@
  17. <a href="/Listening/" class="nav-link">Listening</a>
  18. }
  19. @using (Html.BeginForm())
  20. {
  21. @Html.AntiForgeryToken()
  22. <link type="text/css" rel="stylesheet" href="~/Content/assets/css/account_profile.css" />
  23. <div class="form-horizontal">
  24. <div class="form-group">
  25. <div class="card">
  26. <form id="formElem" name="formElem" action="#" method="post" class="">
  27. <div class="row">
  28. <div class="col-md-4 col-lg-4 sidebar">
  29. <img class="image" src="~/Content/assets/imgs/img-home-02.png" alt="John">
  30. </div>
  31. <div class="col-md-8 col-lg-8 column-style">
  32. <h2 style="width:100%;text-align:center;margin-bottom:20px">About me</h2>
  33. <div class="row row-style">
  34. <div class="col-md-3 col-lg-3">
  35. <h4 class="title" style="width:100%;text-align:left;margin-bottom:20px">Phone number</h4>
  36. @*<a class="title">Phone number</a>*@
  37. </div>
  38. <div class="col-md-9 col-lg-9">
  39. <input class="input-area" type="text" placeholder="Fullname" name="register-msisdn"
  40. value=@Model.profileDetail.users />
  41. </div>
  42. </div>
  43. <div class="row row-style">
  44. <div class="col-md-3 col-lg-3">
  45. <h4 class="title" style="width:100%;text-align:left;margin-bottom:20px">Fullname</h4>
  46. @*<a class="title">Fullname</a>*@
  47. </div>
  48. <div class="col-md-9 col-lg-9">
  49. <input class="input-area" type="text" placeholder="Fullname" name="register-msisdn"
  50. value=@Model.profileDetail.fullName />
  51. </div>
  52. </div>
  53. <div class="row row-style">
  54. <div class="col-md-3 col-lg-3">
  55. <h4 class="title" style="width:100%;text-align:left;margin-bottom:20px">Birthday</h4>
  56. @*<a class="title">Birthday</a>*@
  57. </div>
  58. <div class="col-md-9 col-lg-9">
  59. <input class="input-area" type="text" placeholder="Birthday" name="register-msisdn"
  60. value=@Model.profileDetail.birthday />
  61. </div>
  62. </div>
  63. <div class="row row-style">
  64. <div class="col-md-3 col-lg-3">
  65. <h4 class="title" style="width:100%;text-align:left;margin-bottom:20px">Email</h4>
  66. @*<a class="title">Email</a>*@
  67. </div>
  68. <div class="col-md-9 col-lg-9">
  69. <input class="input-area" type="text" placeholder="Email" name="register-msisdn"
  70. value=@Model.profileDetail.email />
  71. </div>
  72. </div>
  73. <div class="row row-style">
  74. <div class="col-md-3 col-lg-3">
  75. <h4 class="title" style="width:100%;text-align:left;margin-bottom:20px">Interest</h4>
  76. @*<a class="title">Interest</a>*@
  77. </div>
  78. <div class="col-md-9 col-lg-9">
  79. <input class="input-area" type="text" placeholder="Interest" name="register-msisdn"
  80. value=@Model.profileDetail.interests />
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. </form>
  86. </div>
  87. </div>
  88. </div>
  89. }
  90. @*<div>
  91. @Html.ActionLink("Back to List", "Index")
  92. </div>*@