forked from smogon/pokemon-showdown-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.template.html
188 lines (168 loc) · 8.57 KB
/
index.template.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<!--
............
...................,
,..........................
,.............................
..........................,,,.,,,,,,,
,...........................,===========+
........~~===###########==++~+===========
,.....~~=#######################=========+
,....~=#########################==========+
....=###########################==========..
....+#########++++++++++++######~=========+..
...==########+....., .++###==========,...
....=########+,..., ,,, ...=========+.....,
....########## .., ......., +========~,......
...,#############~ ,....... ~=========+.......
################~~,.... ~=========
......####################+ ~========+........
........#####################~ ========........,
..........+#################### ======+........
..............+################======.........
..................+############,====+........
,..................##########,====........,
++? ..................#########+===+........
?####~.,.............+########+ ...........
=########+,.........=+#########+...........
##############################+~.........,
############################+,=======...
##########################+ =========+
+###################+ ~==========+
++++++++++++++++++ ~==========+
,.. ++++++++++++
Pokemon Showdown - http://pokemonshowdown.com/
MIT license
Viewing source? We're open source! Why not check out our GitHub
repository and come help out?
server: http://github.com/Zarel/Pokemon-Showdown
client: http://github.com/Zarel/Pokemon-Showdown-Client (you are here)
Also feel free to visit us at #showdown on irc.synirc.net
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Showdown!</title>
<link rel="shortcut icon" href="//play.pokemonshowdown.com/favicon.ico" id="dynamic-favicon" />
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/client.css?" />
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/sim-types.css?" />
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/battle.css?" />
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/utilichart.css?" />
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/font-awesome.css?" />
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/jquery.slider.min.css?" />
<meta id="viewport" name="viewport" content="width=640" />
<meta name="robots" content="noindex" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<script>
var Config = {};
</script>
<!--[if lte IE 8]><script>
document.location.replace('http://pokemonshowdown.com/autodownload/win');
</script><![endif]-->
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
if (!(/^(.*)\.psim\.us$/i.test(document.location.hostname))) {
ga('create', 'UA-26211653-1', 'pokemonshowdown.com');
} else {
ga('create', 'UA-26211653-2', 'psim.us');
}
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<script>
window.onerror = function(err, uri, line) {
var msg = uri + ':' + line + ': ' + err;
if ('ga' in window) {
ga('send', 'event', 'Client error', msg);
} else {
alert('ERROR: ' + msg);
}
return false;
};
</script>
</head>
<body>
<div id="header" class="header">
<img class="logo" src="//play.pokemonshowdown.com/pokemonshowdownbeta.png" alt="Pokémon Showdown! (beta)" /><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" data-newsid="<!-- newsid -->">
<h3><button class="closebutton" tabindex="-1"><i class="icon-remove-sign"></i></button>Latest News</h3>
<div class="pm-log" style="max-height:360px">
<div style="font-size:9pt;padding:1px 10px"><!-- news --></div>
</div>
</div>
</div>
</div>
<div class="mainmenu">
<div id="loading-message" class="mainmessage">Initializing... <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>
</div>
</div></div>
<script>
document.getElementById('loading-message').innerHTML += ' DONE<br />Loading libraries...';
</script>
<script src="//play.pokemonshowdown.com/js/lib/jquery-2.1.0.min.js"></script>
<script src="//play.pokemonshowdown.com/js/lib/jquery-cookie.js"></script>
<script src="//play.pokemonshowdown.com/js/lib/autoresize.jquery.min.js?"></script>
<script src="//play.pokemonshowdown.com/js/lib/jquery.json-2.3.min.js"></script>
<script src="//play.pokemonshowdown.com/js/lib/soundmanager2-nodebug-jsmin.js?"></script>
<script>
soundManager.setup({url: '//play.pokemonshowdown.com/swf/'});
</script>
<script src="//play.pokemonshowdown.com/js/lib/html-sanitizer-minified.js?"></script>
<script src="//play.pokemonshowdown.com/js/lib/lodash.compat.js?"></script>
<script src="//play.pokemonshowdown.com/js/lib/backbone.js?"></script>
<script src="//play.pokemonshowdown.com/js/lib/d3.v3.min.js"></script>
<script>
document.getElementById('loading-message').innerHTML += ' DONE<br />Loading data...';
</script>
<script src="//play.pokemonshowdown.com/js/config.js?"></script>
<script src="//play.pokemonshowdown.com/js/battledata.js?"></script>
<script src="//play.pokemonshowdown.com/data/pokedex-mini.js?"></script>
<script src="//play.pokemonshowdown.com/data/typechart.js?"></script>
<script src="//play.pokemonshowdown.com/js/battle.js?"></script>
<script src="//play.pokemonshowdown.com/js/lib/sockjs-0.3.4.min.js"></script>
<script>
document.getElementById('loading-message').innerHTML += ' DONE<br />Loading client...';
</script>
<script src="//play.pokemonshowdown.com/js/client.js?"></script>
<script src="//play.pokemonshowdown.com/js/client-mainmenu.js?"></script>
<script src="//play.pokemonshowdown.com/js/client-teambuilder.js?"></script>
<script src="//play.pokemonshowdown.com/js/client-ladder.js?"></script>
<script src="//play.pokemonshowdown.com/js/client-chat.js?"></script>
<script src="//play.pokemonshowdown.com/js/client-chat-tournament.js"></script>
<script src="//play.pokemonshowdown.com/js/client-battle.js?"></script>
<script src="//play.pokemonshowdown.com/js/client-rooms.js?"></script>
<script src="//play.pokemonshowdown.com/js/storage.js?"></script>
<script src="//play.pokemonshowdown.com/data/graphics.js?"></script>
<script>
var app = new App();
// $(function() {
// if (document.getElementById('test').innerHTML !== 'test') alert("Warning: You have a virus.");
// });
</script>
<script src="//play.pokemonshowdown.com/data/learnsets-g6.js?"></script>
<script src="//play.pokemonshowdown.com/js/lib/jquery.slider.min.js?"></script>
<script src="//play.pokemonshowdown.com/data/pokedex.js?"></script>
<script src="//play.pokemonshowdown.com/data/formats-data.js?"></script>
<script src="//play.pokemonshowdown.com/data/moves.js?"></script>
<script src="//play.pokemonshowdown.com/data/items.js?"></script>
<script src="//play.pokemonshowdown.com/data/abilities.js?"></script>
<!-- some virus screws with data, so we're giving it some unused data to screw with -->
<script id="test" type="text/template">test</script><script src="//play.pokemonshowdown.com/js/utilichart.js?"></script>
<script src="//play.pokemonshowdown.com/data/aliases.js?" async="async"></script>
</body>
</html>