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

Fix some stuffs

parent 2e6331da
...@@ -90,6 +90,12 @@ ...@@ -90,6 +90,12 @@
</button> </button>
</div> </div>
<div class="modal-body text-center py-4"> <div class="modal-body text-center py-4">
@if(ViewBag.Players.Count == 0)
{
<p>There no players for now.</p>
}
else
{
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
...@@ -109,6 +115,7 @@ ...@@ -109,6 +115,7 @@
} }
</tbody> </tbody>
</table> </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