HowToPlay.cshtml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @{
  2. ViewData["Title"] = "HowToPlay";
  3. Layout = "~/Views/Shared/_Layout.cshtml";
  4. }
  5. @using LotteryWebApp.Languages;
  6. @using LotteryWebApp.Controllers;
  7. @using LotteryWebApp.Common;
  8. @model ProfileHowToPlay_ViewModel
  9. <div class="app-content content" style="position:relative">
  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.how_to_play.ToUpper()})
  13. </div>
  14. </div>
  15. <div class="content-wrapper buy-ticket-container" style="margin-top:50px;">
  16. <div class="content-body">
  17. <section class="flexbox-container">
  18. <div class="row tabs-style" style=" margin-top: 30px;">
  19. <div class="col-3 tab-style">
  20. <input type="radio" id="tab-1" name="tab-group-1" @(Model.termType == Constants.BOLET_CODE ? "checked" : "")>
  21. <label for="tab-1">
  22. <a href="@ViewBag.MyConfig.MyValue/Profile/HowToPlay?termType=@Constants.BOLET_CODE">
  23. BOLET
  24. </a>
  25. </label>
  26. </div>
  27. <div class="col-3 tab-style">
  28. <input type="radio" id="tab-2" name="tab-group-1" @(Model.termType == Constants.MAYRAJ_CODE ? "checked" : "")>
  29. <label for="tab-2">
  30. <a href="@ViewBag.MyConfig.MyValue/Profile/HowToPlay?termType=@Constants.MAYRAJ_CODE">
  31. MARYAJ
  32. </a>
  33. </label>
  34. </div>
  35. <div class="col-3 tab-style">
  36. <input type="radio" id="tab-3" name="tab-group-1" @(Model.termType == Constants.LOTTO3_CODE ? "checked" : "")>
  37. <label for="tab-3">
  38. <a href="@ViewBag.MyConfig.MyValue/Profile/HowToPlay?termType=@Constants.LOTTO3_CODE">
  39. LOTTO3
  40. </a>
  41. </label>
  42. </div>
  43. <div class="col-3 tab-style">
  44. <input type="radio" id="tab-3" name="tab-group-1" @(Model.termType == Constants.BOULCHANS_CODE ? "checked" : "")>
  45. <label for="tab-3">
  46. <a href="@ViewBag.MyConfig.MyValue/Profile/HowToPlay?termType=@Constants.BOULCHANS_CODE">
  47. BOULCHANS
  48. </a>
  49. </label>
  50. </div>
  51. </div>
  52. @{
  53. if (Model.termType == Constants.BOLET_CODE)
  54. {
  55. <div style=" margin: 10px;">
  56. @Html.Raw(Question.p1)
  57. </div>
  58. }
  59. else if (Model.termType == Constants.MAYRAJ_CODE)
  60. {
  61. <div style=" margin: 10px;">
  62. @Html.Raw(Question.p2)
  63. </div>
  64. }
  65. else if (Model.termType == Constants.LOTTO3_CODE)
  66. {
  67. <div style=" margin: 10px;">
  68. @Html.Raw(Question.p3)
  69. </div>
  70. }
  71. else if (Model.termType == Constants.BOULCHANS_CODE)
  72. {
  73. <div style=" margin: 10px;">
  74. @Html.Raw(Question.p4)
  75. </div>
  76. }
  77. }
  78. </section>
  79. </div>
  80. </div>
  81. </div>
  82. <script>
  83. stopLoading();
  84. </script>