forked from po-devs/webclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
92 lines (89 loc) · 4.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pokémon Online Webclient</title>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
<link rel="stylesheet" href="libs/alertify.css" />
<link rel="stylesheet" href="libs/farbtastic.css" type="text/css" />
<link rel="stylesheet" href="css/webclient.css" />
<link rel="stylesheet" href="css/chat.css" />
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.min.js"></script>
<script src="libs/farbtastic.js" type="text/javascript"></script>
<script src="libs/md5.js"></script>
<script src="libs/utilities.js"></script>
<script src="js/channeltab.js"></script>
<script src="js/battles.js"></script>
<script src="js/players.js"></script>
<script src="js/pms.js"></script>
<script src="js/channels.js"></script>
<script src="js/formatting.js"></script>
<script src="js/index.js"></script>
</head>
<body>
<!-- used by PS -->
<div id="overlay" style="display:none"></div>
<div id="tooltipwrapper"><div class="tooltipinner"></div></div>
<div id="foehint"></div>
<!-- end used by PS -->
<p style="display: none;">
Relay station
<input type="text" id="url" value="ws://localhost:10508" onkeydown="if(event.keyCode==13) initWebsocket();" autofocus="autofocus"/>
<button onClick="initWebsocket();">Connect</button>
<button onClick="stopWebsocket();">Disconnect</button>
<button onClick="checkSocket();">State</button>
</p>
<table class="container"><tr style="height: 100%"><td class="sidebar" style="vertical-align: top;">
<div class="logo">PO</div>
<a class="find-battle" onclick="findBattle(); return false;" href="#">
Find Battle
</a>
<ul class="controls-list">
<li>Chat</li>
<li>Team Builder</li>
<li>User Controls</li>
</ul>
<div class="filter-users">
<span>Users</span><br>
<input name="filter" id="search_filter" type="text" />
</div>
<p style="display: none">
<input type="text" id="join-channel" onkeydown="if(event.keyCode==13)joinChannel();" placeholder="Join channel..."/>
</p>
<div id="titles">
<ul class="player-list" id="player-list">
</ul>
</div>
</td><td class="contents" style="vertical-align: top;">
<!--<div id="announcement" class="announcement"></div>-->
<div id="channel-tabs">
<ul>
<li><a href="#channel-0">Console</a></li>
</ul>
<div id="channel-0">
<div id="chatTextArea" class="textbox"></div>
. <input type="text" id="send-channel-0" cols="40" history="true" onkeydown="if(event.keyCode==13)sendMessage(this);" placeholder="Type your message here..."/>
<button onClick="sendMessage(document.getElementById('send-channel-0'));">Send</button>
<button id="register" onClick="wannaRegister()">Register</button>
<button onClick="channels.leaveChannel(0);" class="leave-chan">Leave Channel</button>
<button id="color" name="color" onclick="openColorPicker()">Color</button>
<div id="colorDialog" title="Trainer name & color">
Name <input type="text" id="trainer-name" onkeydown="if(event.keyCode==13){event.stopPropagation(); $('#colorDialog').dialog('close');}"/>
<div id="colorPicker"></div>
</div>
</div>
</div>
</td></tr></table>
<div id='player-dialog' title='User Menu'></div>
<!-- /* Will be done later in user controls */ <p>
<input type="checkbox" id="option-ConfirmExit">
<label for="option-ConfirmExit">Confirm exit dialog when on a server</label>
</p> -->
<script src="libs/alertify.js"></script>
</body>
</html>