Difference between revisions of "Design Document board18View Page"
(→The Gamelist Table: update image file) |
(fix up page formatting) |
||
Line 7: | Line 7: | ||
The board18View.php page also uses the [[Board18com|scripts/board18com.js]] file and some other open source JavaScript files. | The board18View.php page also uses the [[Board18com|scripts/board18com.js]] file and some other open source JavaScript files. | ||
Style is supplied by the style/board18View.css and the style/board18com.css files. | Style is supplied by the style/board18View.css and the style/board18com.css files. | ||
== The Gamelist Table == | |||
{{WIKI Links for BOARD18 WEB Pages}} | {{WIKI Links for BOARD18 WEB Pages}} | ||
When entered, board18View.php uses an AJAX call to php/allGameList.php to get a list of all the games that currently exist in the database. <br> | When entered, board18View.php uses an AJAX call to php/allGameList.php to get a list of all the games that currently exist in the database. <br> | ||
The php/allGameList.php program is documented on the [[Design Document allGameList|allGameList.php]] WIKI page.<br> | The php/allGameList.php program is documented on the [[Design Document allGameList|allGameList.php]] WIKI page.<br> | ||
Line 15: | Line 16: | ||
[[File:AllGameList.png]] | [[File:AllGameList.png]] | ||
== Select a Game to | == Select a Game to View == | ||
Clicking on an entry in the "Game Name" column will link to the Game Board page for that game. | Clicking on an entry in the "Game Name" column will link to the Game Board page for that game.<br> | ||
Note that if you are not a player in the selected game then you will not be allowed to save updates. | |||
== Transfering to the Main Page == | == Transfering to the Main Page == |
Revision as of 12:30, 31 October 2014
This page has been updated to comply with Release 0.5.x of BOARD18. |
Design Document edit | |
This page can be used to select an existing game to view.
Most of the JavaScript logic for board18View is in the scripts/board18View.js file.
The board18View.php page also uses the scripts/board18com.js file and some other open source JavaScript files. Style is supplied by the style/board18View.css and the style/board18com.css files.
The Gamelist Table
When entered, board18View.php uses an AJAX call to php/allGameList.php to get a list of all the games that currently exist in the database.
The php/allGameList.php program is documented on the allGameList.php WIKI page.
The returned list is displayed in the gamelist table as shown here:
Select a Game to View
Clicking on an entry in the "Game Name" column will link to the Game Board page for that game.
Note that if you are not a player in the selected game then you will not be allowed to save updates.
Transfering to the Main Page
Selecting "Main Page" from the main menu will link to the board18Main page.
Perform Administrative Actions for the Logged-in Player
Selecting "Administration" from the main menu will link to the board18Admin page.
This page will allow the editing of the player's profile.
Starting A New Game Session
Selecting "Make New Game" from the main menu will link to the board18New page.
This page contains a form for starting a new game session.