|
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master" CodeFile="MainPage.aspx.cs" Inherits="MainPage" %>
<asp:Content runat="server" ContentPlaceHolderID="Head">
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Content">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="~/CChessService.svc" />
</Services>
<Scripts>
<asp:ScriptReference Path="~/MainPage.aspx.js" />
<asp:ScriptReference Path="~/App_Script/HelperFunctions.js" />
</Scripts>
</asp:ScriptManager>
<div id="MainPageContainer">
<div id="MessageDiv"></div>
<div id="WelcomeDiv" runat="server" class="WelcomeDiv"></div>
<div id="ControlsDiv">
<asp:LinkButton ID="ChangeNickButton" runat="server" onclick="ChangeNickButton_Click">Change Nickname</asp:LinkButton>
<a href="javascript: CreateNewGame(CChessGameColors.White);">Create new game as white</a>
<a href="javascript: CreateNewGame(CChessGameColors.Black);">Create new game as black</a>
</div>
<div id="CurrentGamesDiv">
<table id="CurrentGamesTable">
<thead>
<tr>
<th>White</th>
<th>Black</th>
</tr>
</thead>
<tbody id="CurrentGamesTableBody"></tbody>
</table>
</div>
<asp:Panel ID="ChatPanel" runat="server">
<div id="ChatDiv">
<div id="ChatWindowPlayersWrapper">
<div id="ChatTableWrapper">
<table id="ChatTable">
<tbody id="ChatTableBody"></tbody>
</table>
</div>
<div id="OnlinePlayers"></div>
</div>
<input id="NewMessageInput" type="text" />
<input type="button" value="Send" onclick="SendMessage();" id="MessageSubmitButton" />
</div>
</asp:Panel>
</div>
</asp:Content>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
My name is Julian, I was born in Argentina, but I've been living in Israel for 6 years already. I'm a high school student in my last year, I study computer science, physics and math.
Other than programming, I really enjoy watching anime and reading manga.