Difference between revisions of "Design Document board18View Page"

From BOARD18 Project WIKI
Jump to navigation Jump to search
(fix up page formatting)
(fixed link and 1.3)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{ReleaseNotice|0.5}}{{Design Document Index}}
{{ReleaseNotice|1.3}}{{Design Document Index}}
This page can be used to select an existing game to view.
This page can be used to select an existing game to view.


Line 10: Line 10:
== The Gamelist Table ==
== 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.  
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_Server_Side_Coding_Details#allGameList.php|allGameList.php]] WIKI page.<br>  
The returned list is displayed in the gamelist table as shown here:
The returned list is displayed in the gamelist table as shown here:



Revision as of 13:40, 11 December 2015

This page has been updated to comply with Release 1.3.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

WIKI Links for BOARD18 WEB Pages edit
Page Overview Detail Design
index Page index Page
board18Main Page board18Main Page
board18View Page board18View Page
board18Admin Page board18Admin Page
board18Players Page board18Players Page
board18Games Page board18Games Page
board18Boxes Page board18Boxes Page
board18BoxLoad Page board18BoxLoad Page
board18Misc Page board18Misc Page
board18New Page board18New Page
board18Map Page board18Map Page
board18Market Page board18Market Page
board18SnapList Page board18SnapList Page
board18SnapMap Page board18SnapMap Page
board18SnapMrk Page board18SnapMrk Page
access-denied Page access-denied Page


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:

AllGameList.png

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.