various bugfixes and cleanups
This commit is contained in:
parent
c4ee02e046
commit
5ea601efc8
10 changed files with 107 additions and 575 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
<h2> Current Games: </h2>
|
||||
<?cs if:Data.GamelistNotEmpty ?>
|
||||
<table><tr><td></td><td>Name of game</td><td>White</td>
|
||||
<td>Black</td><td>Time of Creation</td><td>Time of last move</td>
|
||||
<table><tr><td></td><td>Name of game</td><td>Black</td>
|
||||
<td>White</td><td>Time of Creation</td><td>Time of last move</td>
|
||||
<td></td></tr>
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
<?cs include:"templates/header.cs" ?>
|
||||
|
||||
|
||||
<?cs var:Data.Message ?><br>
|
||||
Current Turn: <?cs var:Data.TurnNumber ?>.
|
||||
<?cs if:(Data.Play == "black") ?> Black to move.<?cs elif:(Data.Play == "white") ?>White to move.<?cs /if ?>
|
||||
<?cs if:(Data.MyTurn == "True") ?> Your Turn.<?cs /if ?>
|
||||
<br>
|
||||
|
||||
<div id="board">
|
||||
|
||||
<?cs var:Data.Message ?>
|
||||
|
||||
<?cs loop:x = #1, #Data.GobanSize, #1
|
||||
?><?cs loop:y = #1, Data.GobanSize, #1
|
||||
?><?cs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue