ForgotPassword.cshtml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @{
  2. ViewData["Title"] = "ForgotPassword";
  3. Layout = "~/Views/Shared/_NothingLayout.cshtml";
  4. }
  5. @using LotteryWebApp.Languages;
  6. @using LotteryWebApp.Controllers;
  7. @using LotteryWebApp.Common;
  8. @model AccountForgotPassword_ViewModel
  9. <div class="app-content content">
  10. <div class="card-title text-center ">
  11. <div class="news-button-header-container" style="text-align: start; margin: 0 10px;">
  12. @await Component.InvokeAsync("SmallHeader", new { title = Lang.forgot_password.ToUpper()})
  13. </div>
  14. </div>
  15. <div class="content-wrapper">
  16. <div class="content-header row">
  17. </div>
  18. <div class="content-body">
  19. <section class="flexbox-container">
  20. <div class="col-12 align-items-center justify-content-center">
  21. <div class="">
  22. @{
  23. if (Model.code != Code.SUCCESS.ToString())
  24. {
  25. <div class="card-header border-0 card-box">
  26. <div class="card-title text-center ">
  27. <div>
  28. <div style=" margin-top: 50px;">
  29. <img class="logo-app" src="~/img/Logo_Beelotto.png" />
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. }
  35. }
  36. @{
  37. if (Model.code != Code.SUCCESS.ToString())
  38. {
  39. <fieldset class="form-group position-relative has-icon-left" style="margin:10px;">
  40. <label>@Lang.fill_your_number</label>
  41. <input type="number" class="data-input-box form-control" id="phonenumber" style="border-radius: 10px;"
  42. placeholder="@Lang.enter_phone_number" name="phonenumber" required>
  43. <div class="form-control-position" style="top: 35px;">
  44. <i class="fa fa-user"></i>
  45. </div>
  46. </fieldset>
  47. }
  48. else
  49. {
  50. <div class="card-header border-0 card-box center-box-container">
  51. <div class="card-title text-center ">
  52. <div>
  53. <div style=" margin-top: 50px;">
  54. <img class="logo-app inform-img" src="~/img/Group854.png" />
  55. </div>
  56. <div style="position: relative; margin-top: 10px;">
  57. <h2 class="text-style-main-large">
  58. @Lang.success
  59. </h2>
  60. </div>
  61. <div style="position: relative; margin-top: 10px;">
  62. <h4 class="text-style-blue-normal">
  63. @Lang.your_password_reset
  64. </h4>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. }
  70. }
  71. <div class="row button-on-footer">
  72. <div class="col-12">
  73. <button type="submit" class="btn btn-outline-primary btn-block login-button"
  74. onclick="forgotPasswordButtonAction_Click()">
  75. <i class="ft-unlock"></i> @(Model.code != Code.SUCCESS.ToString() ? Lang._continue : Lang.login.ToUpper())
  76. </button>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </section>
  82. </div>
  83. </div>
  84. </div>