comparison index-rlg.html @ 66:57bf0dcd080e

Display idle time of games in progress. statusmsg() now includes games' idle times, and the client displays them using getcurrent().
author John "Elwin" Edwards <elwin@sdf.org>
date Wed, 20 Jun 2012 11:37:05 -0700
parents e63c26dc0497
children b6a3b26fe0dc
comparison
equal deleted inserted replaced
65:e63c26dc0497 66:57bf0dcd080e
86 </div> 86 </div>
87 </div> 87 </div>
88 <div class="modal" id="current"> 88 <div class="modal" id="current">
89 <div id="gametable" class="formtable"> 89 <div id="gametable" class="formtable">
90 <div class="tcapt">Games in Progress</div> 90 <div class="tcapt">Games in Progress</div>
91 <div><div>Player</div><div>Game</div><div>Actions</div></div> 91 <div><div>Player</div><div>Game</div><div>Idle time</div><div>Actions</div></div>
92 </div> 92 </div>
93 <div id="nogames">There are no games to watch.</div> 93 <div id="nogames">No one is playing right now.</div>
94 <div class="rfloat"><span class="ibutton" onclick="getcurrent()">Refresh</span></div> 94 <div class="rfloat"><span class="ibutton" onclick="getcurrent()">Refresh</span></div>
95 </div> 95 </div>
96 <div class="modal" id="startgame"> 96 <div class="modal" id="startgame">
97 <div id="opttable" class="formtable"><div><div>Game</div><div>Actions</div></div></div> 97 <div id="opttable" class="formtable"><div><div>Game</div><div>Actions</div></div></div>
98 </div> 98 </div>