Index.cshtml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @{
  2. ViewData["Title"] = "Home Page";
  3. }
  4. @using LotteryWebApp.Languages;
  5. @using LotteryWebApp.Controllers;
  6. @using LotteryWebApp.Common;
  7. @model HomeIndex_ViewModel
  8. <div class="app-content content">
  9. <div class="">
  10. <div class="content-body">
  11. <section class="flexbox-container">
  12. <div class="align-items-center justify-content-center">
  13. <div>
  14. @await Component.InvokeAsync("HeaderHome", new { profile = Model.profile, userStatus = Model.userStatus })
  15. </div>
  16. @await Component.InvokeAsync("AdvertiseArea", new { listTerm = Model.listTerm })
  17. @* <div class="row tabs-style" style="margin-top: 30px;">
  18. <div class="col-4 tab-style">
  19. <input type="radio" id="tab-1" name="tab-group-1" @(Model.termType == Constants.NEW_YORK_BOLET_CODE ? "checked" : "")>
  20. <label for="tab-1">
  21. <a style="font-size: 12px;" href="@ViewBag.MyConfig.MyValue/Home?termType=@Constants.NEW_YORK_BOLET_CODE"
  22. class="@(Model.termType == Constants.NEW_YORK_BOLET_CODE ? "active-tab" : "")">
  23. <img style="height: 30px;" src="~/img/logo-deebef36ed9bb3f8e07e8492eecbb7ae (1) 1.png" />
  24. NEW YORK
  25. </a>
  26. </label>
  27. </div>
  28. <div class="col-4 tab-style">
  29. <input type="radio" id="tab-2" name="tab-group-1" @(Model.termType == Constants.FLORIDA_BOLET_CODE ? "checked" : "")>
  30. <label for="tab-2">
  31. <a style="font-size: 12px;" href="@ViewBag.MyConfig.MyValue/Home?termType=@Constants.FLORIDA_BOLET_CODE"
  32. class="@(Model.termType == Constants.FLORIDA_BOLET_CODE ? "active-tab" : "")">
  33. <img style="height: 30px;" src="~/img/siteLogo 2.png" />
  34. FLORIDA
  35. </a>
  36. </label>
  37. </div>
  38. <div class="col-4 tab-style">
  39. <input type="radio" id="tab-2" name="tab-group-1" @(Model.termType == Constants.BOULCHANS_CODE ? "checked" : "")>
  40. <label for="tab-2">
  41. <a style="font-size: 12px;" href="@ViewBag.MyConfig.MyValue/Home?termType=@Constants.BOULCHANS_CODE"
  42. class="@(Model.termType == Constants.BOULCHANS_CODE ? "active-tab" : "")">
  43. <img style="height: 30px;" src="~/img/siteLogo 2.png" />
  44. BOULCHANS
  45. </a>
  46. </label>
  47. </div>
  48. </div>*@
  49. <hr class="line2" style="margin-top:0; border-top: 15px solid rgba(0,0,0,.1);" />
  50. @*see more*@
  51. @* <div class="button-end">
  52. <a class="text-main-color" href="@ViewBag.MyConfig.MyValue/BuyTicket?termType=@Model.termType">@Lang.see_more</a> <i class="fas fa-solid fa-angle-right"></i>
  53. </div> *@
  54. <div class="div-result">
  55. <div id="term-result-data">
  56. </div>
  57. <script>
  58. getResultTermData(@Model.termType);
  59. </script>
  60. </div>
  61. </div>
  62. </section>
  63. </div>
  64. </div>
  65. </div>
  66. <script>
  67. stopLoading();
  68. </script>