Display idle time of games in progress.

statusmsg() now includes games' idle times, and the client displays
them using getcurrent().
This commit is contained in:
John "Elwin" Edwards 2012-06-20 11:37:05 -07:00
parent f750d9eb34
commit 2d9c8bd011
3 changed files with 59 additions and 7 deletions

View file

@ -88,9 +88,9 @@
<div class="modal" id="current">
<div id="gametable" class="formtable">
<div class="tcapt">Games in Progress</div>
<div><div>Player</div><div>Game</div><div>Actions</div></div>
<div><div>Player</div><div>Game</div><div>Idle time</div><div>Actions</div></div>
</div>
<div id="nogames">There are no games to watch.</div>
<div id="nogames">No one is playing right now.</div>
<div class="rfloat"><span class="ibutton" onclick="getcurrent()">Refresh</span></div>
</div>
<div class="modal" id="startgame">