| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- @{
- ViewData["Title"] = "Results";
- Layout = "~/Views/Shared/_Layout.cshtml";
- }
- @using LotteryWebApp.Languages;
- @using LotteryWebApp.Controllers;
- @using LotteryWebApp.Common;
- @using System.Globalization;
- @model HomeResults_ViewModel
- @{
- DateTime oDateFrom = DateTime.ParseExact(Model.fromDate, "dd/MM/yyyy", CultureInfo.InvariantCulture);
- String dateFrom = oDateFrom.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
- DateTime oDateTo = DateTime.ParseExact(Model.toDate, "dd/MM/yyyy", CultureInfo.InvariantCulture);
- String dateTo = oDateTo.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
- }
- <div class="app-content content" style="position:relative">
- <div class="card-title text-center ">
- <div class="news-button-header-container" style="text-align: start; margin: 0 10px;">
- @await Component.InvokeAsync("SmallHeader", new { title = @Lang.results.ToUpper()})
- </div>
- </div>
- <div class="content-wrapper" style="padding:2px;">
- <div class="content-body">
- <section class="flexbox-container">
- <div class="content-wrapper buy-ticket-container" style="margin-top:35px;">
- <div class="">
- <div class="result-date-box">
- <fieldset class="form-group position-relative has-icon-left">
- <label>@Lang.from</label>
- <input type="date" class="form-control small-input-box" id="fromDate" name="fromDate" required value="@dateFrom">
- </fieldset>
- </div>
- <div class=" result-date-box">
- <fieldset class="form-group position-relative has-icon-left">
- <label>@Lang.to</label>
- <input type="date" class="form-control small-input-box" id="toDate" name="toDate" required value="@dateTo">
- </fieldset>
- </div>
- <div class=" result-date-box-button">
- <button type="button" class="btn btn-outline-primary adv-button btn-block login-button-action small-input-box"
- onclick="getResultTermHistoryData(@Model.termType)">
- @Lang.search.ToUpper()
- </button>
- </div>
- </div>
- <div class="row tabs-style" style=" margin-top: 30px !important;">
- <div class="col-4 tab-style">
- <input type="radio" id="tab-1" name="tab-group-1" @(Model.termType == Constants.NEW_YORK_BOLET_CODE ? "checked" : "")>
- <label for="tab-1">
- <a style="font-size: 11px;" href="@ViewBag.MyConfig.MyValue/Home/Results?termType=@Constants.NEW_YORK_BOLET_CODE"
- class="@(Model.termType == Constants.NEW_YORK_BOLET_CODE ? "active-tab" : "")">
- <img style="height: 30px;" src="~/img/logo-deebef36ed9bb3f8e07e8492eecbb7ae (1) 1.png" />
- NEW YORK
- </a>
- </label>
- </div>
- <div class="col-4 tab-style">
- <input type="radio" id="tab-2" name="tab-group-1" @(Model.termType == Constants.FLORIDA_BOLET_CODE ? "checked" : "")>
- <label for="tab-2">
- <a style="font-size: 11px;" href="@ViewBag.MyConfig.MyValue/Home/Results?termType=@Constants.FLORIDA_BOLET_CODE"
- class="@(Model.termType == Constants.FLORIDA_BOLET_CODE ? "active-tab" : "")">
- <img style="height: 30px;" src="~/img/siteLogo 2.png" />
- FLORIDA
- </a>
- </label>
- </div>
- <div class="col-4 tab-style">
- <input type="radio" id="tab-2" name="tab-group-1" @(Model.termType == Constants.BOULCHANS_CODE ? "checked" : "")>
- <label for="tab-2">
- <a style="font-size: 11px;" href="@ViewBag.MyConfig.MyValue/Home/Results?termType=@Constants.BOULCHANS_CODE"
- class="@(Model.termType == Constants.BOULCHANS_CODE ? "active-tab" : "")">
- @*<img style="height: 30px;" src="~/img/siteLogo 2.png" />*@
- BOULCHANS
- </a>
- </label>
- </div>
- </div>
- <div class="result-form-all">
- <div class="result-form-container">
- <div class="row result-form-box">
- <div class="col-3" style="border-right:1px solid white;">
- <h5>@Lang.time</h5>
- </div>
- <div class="col-9">
- <h5>@Lang.results</h5>
- </div>
- </div>
- </div>
- <div id="term-result-history-data">
- </div>
- <script>
- getResultTermHistoryData(@Model.termType);
- </script>
- </div>
- </div>
- </section>
- </div>
- </div>
- </div>
- <script>
- stopLoading();
- </script>
|