Commit d58f7ebf authored by Clint.Network's avatar Clint.Network

Fix some stuffs

parent 2e6331da
...@@ -90,25 +90,32 @@ ...@@ -90,25 +90,32 @@
</button> </button>
</div> </div>
<div class="modal-body text-center py-4"> <div class="modal-body text-center py-4">
<table class="table"> @if(ViewBag.Players.Count == 0)
<thead> {
<tr> <p>There no players for now.</p>
<th scope="col">Nickname</th> }
<th scope="col">Date</th> else
<th scope="col">Montant</th> {
</tr> <table class="table">
</thead> <thead>
<tbody>
@foreach(var player in ViewBag.Players)
{
<tr> <tr>
<td>@player.Nickname</td> <th scope="col">Nickname</th>
<td>@(player.CreationDate.AsDateTime.ToString("G"))</td> <th scope="col">Date</th>
<td>@player.Amount STRAT</td> <th scope="col">Montant</th>
</tr> </tr>
} </thead>
</tbody> <tbody>
</table> @foreach(var player in ViewBag.Players)
{
<tr>
<td>@player.Nickname</td>
<td>@(player.CreationDate.AsDateTime.ToString("G"))</td>
<td>@player.Amount STRAT</td>
</tr>
}
</tbody>
</table>
}
</div> </div>
</form> </form>
</div> </div>
...@@ -167,7 +174,6 @@ ...@@ -167,7 +174,6 @@
$('#clock').countdown(nextYear.toDate(), function(event) { $('#clock').countdown(nextYear.toDate(), function(event) {
$(this).html(event.strftime('%D days %Hh %Mm %Ss')); $(this).html(event.strftime('%D days %Hh %Mm %Ss'));
}); });
@*'@((DateTimeOffset.FromUnixTimeSeconds((long)ViewBag.NextDraw)).ToString("yyyy/MM/dd HH:mm:ss"))'*@
}) })
</script> </script>
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment