TransferHistory.cshtml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. @{
  2. ViewData["Title"] = "Results";
  3. Layout = "~/Views/Shared/_Layout.cshtml";
  4. }
  5. @using LotteryWebApp.Languages;
  6. @using LotteryWebApp.Controllers;
  7. @using LotteryWebApp.Common;
  8. @using System.Globalization;
  9. @using LotteryWebApp.Service
  10. @model MoneyConvertRes
  11. @{
  12. // DateTime oDateFrom = DateTime.ParseExact(Model.fromDate, "dd/MM/yyyy", CultureInfo.InvariantCulture);
  13. // String dateFrom = oDateFrom.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
  14. // DateTime oDateTo = DateTime.ParseExact(Model.toDate, "dd/MM/yyyy", CultureInfo.InvariantCulture);
  15. // String dateTo = oDateTo.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
  16. }
  17. <style>
  18. .draw-date {
  19. padding-right: 26px !important;
  20. background-repeat: no-repeat;
  21. /* z-index: 2; */
  22. background-image: url(../img/ic_calendar.png);
  23. background-position: right;
  24. }
  25. #term-result-history-data {
  26. margin-top: 20px;
  27. }
  28. </style>
  29. <div class="app-content content" style="position:relative; overflow-x: visible">
  30. <div class="card-title text-center ">
  31. <div class="news-button-header-container" style="text-align: start; margin: 0 10px;">
  32. @await Component.InvokeAsync("SmallHeader", new { title = @Lang.transfer_history.ToUpper() })
  33. </div>
  34. </div>
  35. <div class="content-wrapper">
  36. <div class="content-body">
  37. <section class="loto-container">
  38. <div class="buy-ticket-container ">
  39. <div class="div-result">
  40. <div id="transfer-history-data" class="transfer-his">
  41. </div>
  42. </div>
  43. @* <div class="result-form-all">
  44. <div id="term-result-history-data">
  45. </div>
  46. <script>
  47. getResultTermHistoryData(@Model.termType);
  48. </script>
  49. </div> *@
  50. </div>
  51. </section>
  52. </div>
  53. </div>
  54. </div>
  55. <script>
  56. var countPage = 1;
  57. getListConvertByUser(countPage);
  58. $(window).scroll(function() {
  59. if ($(window).scrollTop() == $(document).height() - $(window).height()) {
  60. // ajax call get data from server and append to the div
  61. console.log("next " + countPage);
  62. getListConvertByUser(++countPage);
  63. }
  64. });
  65. stopLoading();
  66. </script>