LotoNumberHistory.cshtml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @*
  2. For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
  3. *@
  4. @using LotteryWebApp.Languages;
  5. @using LotteryWebApp.Components;
  6. @using LotteryWebApp.Common;
  7. @model LotoNumberHistoryModel
  8. <div>
  9. <div class="loto-container">
  10. <div class="row ">
  11. <div class="col-4 loto-image" style="margin: auto;">
  12. @*<img src="~/img/lg-numbers 1.png" style="margin:0 0;" />*@
  13. @{
  14. if (Model.type == Constants.NEW_YORK_NUMBERS_CODE)
  15. {
  16. <img class="image-w-80" src="~/img/lg-numbers 1.png" />
  17. }
  18. else if (Model.type == Constants.NEW_YORK_WIN4_CODE)
  19. {
  20. <img class="image-w-80" src="~/img/lg-win4 1.png" />
  21. }
  22. else if (Model.type == Constants.NEW_YORK_BOLET_CODE)
  23. {
  24. <img class="image-w-78" src="~/img/Group 83775.png" />
  25. }
  26. else if (Model.type == Constants.NEW_YORK_MAYRAJ_CODE)
  27. {
  28. <img class="image-w-71" src="~/img/MARYAJ.png" />
  29. }
  30. else if (Model.type == Constants.NEW_YORK_LOTTO3_CODE)
  31. {
  32. <img class="image-w-71" src="~/img/LOTTO3.png" />
  33. }
  34. else if (Model.type == Constants.FLORIDA_PICK3_CODE)
  35. {
  36. <img class="image-w-80" src="~/img/Pick3Logo.png" />
  37. }
  38. else if (Model.type == Constants.FLORIDA_PICK4_CODE)
  39. {
  40. <img class="image-w-80" src="~/img/Pick4Logo.png" />
  41. }
  42. else if (Model.type == Constants.FLORIDA_BOLET_CODE)
  43. {
  44. <img class="image-w-78" src="~/img/Group 83775.png" />
  45. }
  46. else if (Model.type == Constants.FLORIDA_MAYRAJ_CODE)
  47. {
  48. <img class="image-w-71" src="~/img/MARYAJ.png" />
  49. }
  50. else if (Model.type == Constants.FLORIDA_LOTTO3_CODE)
  51. {
  52. <img class="image-w-71" src="~/img/LOTTO3.png" />
  53. }
  54. else if (Model.type == Constants.BOULCHANS_CODE)
  55. {
  56. <div class="text-w-80-main-color">#@Model.term.id</div>
  57. }
  58. }
  59. </div>
  60. <div class="col-8 loto-number" style="margin: auto; padding-left: 0px;">
  61. <div class="scroll-item-container" style=" background-color: transparent;">
  62. @{
  63. for (int i = 0; i < Model.data.Length; i++)
  64. {
  65. <div class="ball-container">
  66. @{
  67. if (Model.type == Constants.NEW_YORK_NUMBERS_CODE)
  68. {
  69. <img class="image-w-35" src="~/img/Group 83766.png" />
  70. }
  71. else if (Model.type == Constants.NEW_YORK_WIN4_CODE)
  72. {
  73. <img class="image-w-35" src="~/img/Group 83774.png" />
  74. }
  75. else if (Model.type == Constants.NEW_YORK_BOLET_CODE)
  76. {
  77. <img class="image-w-35" src="~/img/Group 83776.png" />
  78. }
  79. else if (Model.type == Constants.NEW_YORK_MAYRAJ_CODE)
  80. {
  81. <img class="image-w-35" src="~/img/Group 83779.png" />
  82. }
  83. else if (Model.type == Constants.NEW_YORK_LOTTO3_CODE)
  84. {
  85. <img class="image-w-35" src="~/img/Group 83782.png" />
  86. }
  87. else if (Model.type == Constants.FLORIDA_PICK3_CODE)
  88. {
  89. <img class="image-w-35" src="~/img/Group 83766.png" />
  90. }
  91. else if (Model.type == Constants.FLORIDA_PICK4_CODE)
  92. {
  93. <img class="image-w-35" src="~/img/Group 83774.png" />
  94. }
  95. else if (Model.type == Constants.FLORIDA_BOLET_CODE)
  96. {
  97. <img class="image-w-35" src="~/img/Group 83776.png" />
  98. }
  99. else if (Model.type == Constants.FLORIDA_MAYRAJ_CODE)
  100. {
  101. <img class="image-w-35" src="~/img/Group 83779.png" />
  102. }
  103. else if (Model.type == Constants.FLORIDA_LOTTO3_CODE)
  104. {
  105. <img class="image-w-35" src="~/img/Group 83782.png" />
  106. }
  107. else if (Model.type == Constants.BOULCHANS_CODE)
  108. {
  109. <img class="image-w-35" src="~/img/Group 83782.png" />
  110. }
  111. }
  112. <div class="ball-number">
  113. @Model.data[i]
  114. </div>
  115. </div>
  116. }
  117. }
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>