LotoNumberHistory.cshtml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. else if (Model.type == Constants.GEORGIA_CASH3_CODE)
  59. {
  60. <img class="image-w-80" src="~/img/logo/ga-cash3.svg" />
  61. }
  62. else if (Model.type == Constants.GEORGIA_CASH4_CODE)
  63. {
  64. <img class="image-w-80" src="~/img/logo/ga-cash4.svg" />
  65. }
  66. else if (Model.type == Constants.TEXAS_PICK3_CODE)
  67. {
  68. <img class="image-w-80" src="~/img/logo/tx-pick3-1.svg" />
  69. }
  70. else if (Model.type == Constants.TEXAS_DAILY4_CODE)
  71. {
  72. <img class="image-w-80" src="~/img/logo/tx-daily4-1.svg" />
  73. }
  74. else if (Model.type == Constants.TENNESSEE_CASH3_CODE)
  75. {
  76. <img class="image-w-80" src="~/img/logo/tn-cash3-1.svg" />
  77. }
  78. else if (Model.type == Constants.TENNESSEE_CASH4_CODE)
  79. {
  80. <img class="image-w-80" src="~/img/logo/tn-cash4-1.svg" />
  81. }
  82. }
  83. </div>
  84. <div class="col-8 loto-number" style="margin: auto; padding-left: 0px;">
  85. <div class="scroll-item-container" style=" background-color: transparent;">
  86. @{
  87. for (int i = 0; i < Model.data.Length; i++)
  88. {
  89. <div class="ball-container">
  90. @{
  91. if (Model.type == Constants.NEW_YORK_NUMBERS_CODE)
  92. {
  93. <img class="image-w-35" src="~/img/Group 83766.png" />
  94. }
  95. else if (Model.type == Constants.NEW_YORK_WIN4_CODE)
  96. {
  97. <img class="image-w-35" src="~/img/Group 83774.png" />
  98. }
  99. else if (Model.type == Constants.NEW_YORK_BOLET_CODE)
  100. {
  101. <img class="image-w-35" src="~/img/Group 83776.png" />
  102. }
  103. else if (Model.type == Constants.NEW_YORK_MAYRAJ_CODE)
  104. {
  105. <img class="image-w-35" src="~/img/Group 83779.png" />
  106. }
  107. else if (Model.type == Constants.NEW_YORK_LOTTO3_CODE)
  108. {
  109. <img class="image-w-35" src="~/img/Group 83782.png" />
  110. }
  111. else if (Model.type == Constants.FLORIDA_PICK3_CODE)
  112. {
  113. <img class="image-w-35" src="~/img/Group 83766.png" />
  114. }
  115. else if (Model.type == Constants.FLORIDA_PICK4_CODE)
  116. {
  117. <img class="image-w-35" src="~/img/Group 83774.png" />
  118. }
  119. else if (Model.type == Constants.FLORIDA_BOLET_CODE)
  120. {
  121. <img class="image-w-35" src="~/img/Group 83776.png" />
  122. }
  123. else if (Model.type == Constants.FLORIDA_MAYRAJ_CODE)
  124. {
  125. <img class="image-w-35" src="~/img/Group 83779.png" />
  126. }
  127. else if (Model.type == Constants.FLORIDA_LOTTO3_CODE)
  128. {
  129. <img class="image-w-35" src="~/img/Group 83782.png" />
  130. }
  131. else if (Model.type == Constants.BOULCHANS_CODE)
  132. {
  133. <img class="image-w-35" src="~/img/Group 83782.png" />
  134. }
  135. else
  136. {
  137. <img class="image-w-35" src="~/img/Group 83782.png" />
  138. }
  139. }
  140. <div class="ball-number">
  141. @Model.data[i]
  142. </div>
  143. </div>
  144. }
  145. }
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>