forked from smogon/pokemon-showdown-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testclient-beta.html
144 lines (138 loc) · 5.51 KB
/
testclient-beta.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Showdown!</title>
<link rel="shortcut icon" href="favicon.ico" id="dynamic-favicon" />
<link rel="stylesheet" href="style/battle.css" />
<link rel="stylesheet" href="style/client2.css" />
<meta name="robots" content="noindex" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<!--[if lte IE 8]><script>
window.Config = {"oldie": true};
</script><![endif]-->
</head><body>
<div id="ps-frame">
<div id="header" class="header">
<img class="logo" src="pokemonshowdownbeta.png" alt="Pokémon Showdown! (beta)" width="146" height="44" /><div class="maintabbarbottom"></div>
</div>
<div class="ps-room scrollable" id="mainmenu"><div class="mainmenuwrapper">
<div class="leftmenu">
<div class="activitymenu">
<div class="pmbox">
<div class="pm-window news-embed">
<h3><button class="closebutton" tabindex="-1" aria-label="Close"><i class="fa fa-times-circle"></i></button><button class="minimizebutton" tabindex="-1" aria-label="Minimize"><i class="fa fa-minus-circle"></i></button>Latest News</h3>
<div class="pm-log" style="max-height:none">
<div class="newsentry"><h4>Test client</h4><p>Welcome to the test client! You can test client changes here!</p><p>—<strong>Zarel</strong> <small class="date">on Sep 25, 2015</small></p></div>
</div>
</div>
</div>
</div>
<div class="mainmenu">
<div id="loading-message" class="mainmessage">Loading... <noscript>FAILED<br /><br />Pokémon Showdown requires JavaScript.</noscript></div>
</div>
</div>
<div class="rightmenu">
</div>
<div class="mainmenufooter">
<small><a href="//pokemonshowdown.com/" target="_blank"><strong>Pokémon Showdown</strong></a> | <a href="http://smogon.com/" target="_blank"><strong>Smogon</strong></a><br><a href="//pokemonshowdown.com/dex/" target="_blank">Pokédex</a> | <a href="//pokemonshowdown.com/replay/" target="_blank">Replays</a> | <a href="//pokemonshowdown.com/rules" target="_blank">Rules</a></small> | <small><a href="//pokemonshowdown.com/forums/" target="_blank">Forum</a></small>
</div>
</div></div>
</div>
<script>
function linkStyle(url) {
var linkEl = document.createElement('link');
linkEl.rel = 'stylesheet';
linkEl.href = url;
document.head.appendChild(linkEl);
}
linkStyle("style/sim-types.css");
linkStyle("style/teambuilder.css");
linkStyle("style/battle-search.css");
linkStyle("style/font-awesome.css");
</script>
<script src="https://play.pokemonshowdown.com/config/config.js"></script>
<script>
if (!window.Config) {
// offline
window.Config = {
version: '0',
bannedHosts: [],
whitelist: [],
routes: {
root: "pokemonshowdown.com",
client: "play.pokemonshowdown.com",
dex: "dex.pokemonshowdown.com",
replays: "replay.pokemonshowdown.com",
users: "pokemonshowdown.com/users"
},
defaultserver: {
id: 'showdown',
host: 'sim3.psim.us',
port: 443,
httpport: 8000,
altport: 80,
registered: true
},
customcolors: {}
};
}
Config.testclient = true;
(function() {
if (location.search !== '') {
var m = /\?~~(([^:\/]*)(:[0-9]*)?)/.exec(location.search);
if (m) {
Config.defaultserver = {
id: m[1],
host: m[2],
port: (m[3] && parseInt(m[3].substr(1))) || 8000
};
} else {
alert('Unrecognised query string syntax: ' + location.search);
}
}
})();
</script>
<script src="config/testclient-key.js"></script>
<script src="js/client-core.js"></script>
<script nomodule src="/js/lib/ps-polyfill.js"></script>
<script src="js/battle-dex.js"></script>
<script src="js/battle-text-parser.js"></script>
<script src="js/client-main.js"></script>
<script src="js/lib/sockjs-1.4.0-nwjsfix.min.js"></script>
<script src="js/client-connection.js"></script>
<script src="js/lib/preact.min.js"></script>
<script src="js/panels.js"></script>
<script src="js/panel-mainmenu.js"></script>
<script src="js/panel-rooms.js"></script>
<script src="js/panel-topbar.js"></script>
<script src="js/lib/html-css-sanitizer-minified.js"></script>
<script src="src/battle-log-misc.js"></script>
<script src="js/server/chat-formatter.js"></script>
<script src="js/battle-log.js"></script>
<script src="js/panel-chat.js"></script>
<script src="js/battle-sound.js"></script>
<script src="js/lib/jquery-2.1.4.min.js"></script>
<script src="data/graphics.js"></script>
<script src="data/text.js"></script>
<script src="js/battle-tooltips.js"></script>
<script src="js/battle.js"></script>
<script src="js/battle-choices.js"></script>
<script src="js/panel-battle.js"></script>
<script src="js/battle-dex-data.js"></script>
<script src="data/pokedex.js"></script>
<script src="data/moves.js"></script>
<script src="data/items.js"></script>
<script src="data/abilities.js"></script>
<script src="data/search-index.js"></script>
<script src="data/teambuilder-tables.js"></script>
<script src="js/panel-teamdropdown.js"></script>
<script src="js/panel-teambuilder.js?"></script>
<script src="js/battle-dex-search.js?"></script>
<script src="js/battle-searchresults.js?"></script>
<script src="js/panel-teambuilder-team.js?"></script>
<script src="js/panel-ladder.js?"></script>
<script src="js/panel-page.js?"></script>
<script src="https://play.pokemonshowdown.com/data/pokedex-mini.js"></script>
<script src="https://play.pokemonshowdown.com/data/pokedex-mini-bw.js"></script>
</body></html>