2011-02-06 17:06:29 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html dir="ltr" lang="en">
|
2010-12-07 02:34:59 +00:00
|
|
|
<head>
|
2011-02-06 17:06:29 +00:00
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
|
2010-12-07 02:34:59 +00:00
|
|
|
<title>Evennia web MUD client</title>
|
|
|
|
|
|
|
|
|
|
<!--CSS style sheet -->
|
|
|
|
|
<link rel='stylesheet' type="text/css" media="screen" href="/media/css/webclient.css">
|
2011-02-06 17:06:29 +00:00
|
|
|
|
2011-02-15 07:12:33 +00:00
|
|
|
<!-- Importing the online jQuery javascript library -->
|
2011-05-27 17:47:35 +00:00
|
|
|
<script src="http://code.jquery.com/jquery-1.6.1.js" type="text/javascript" charset="utf-8"></script>
|
2011-02-15 07:12:33 +00:00
|
|
|
|
|
|
|
|
<!--for offline testing, download the jquery library from jquery.com-->
|
|
|
|
|
<!--script src="/media/javascript/jquery-1.4.4.js" type="text/javascript" charset="utf-8"></script-->
|
2011-02-06 17:06:29 +00:00
|
|
|
|
2010-12-07 02:34:59 +00:00
|
|
|
<!-- Importing the Evennia ajax webclient component (requires jQuery) -->
|
2011-02-06 17:06:29 +00:00
|
|
|
<script src="/media/javascript/evennia_webclient.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
|
2010-12-07 02:34:59 +00:00
|
|
|
</head>
|
|
|
|
|
<body>
|
2011-02-06 17:06:29 +00:00
|
|
|
|
2010-12-07 02:34:59 +00:00
|
|
|
<div id="wrapper">
|
|
|
|
|
<div id="messagewindow">
|
|
|
|
|
<!--javascript kills this when page has finished loading: -->
|
2011-02-06 17:06:29 +00:00
|
|
|
<div id="connecting"> Connecting ...</div>
|
2010-12-07 02:34:59 +00:00
|
|
|
<!--this is supplied by django view - webclient/views.py: -->
|
2011-02-06 17:06:29 +00:00
|
|
|
<div id="noscript"><h3>Javascript Error: The Evennia MUD client requires that you have Javascript activated.</h3>
|
2010-12-07 02:34:59 +00:00
|
|
|
<p>Turn off eventual script blockers and/or switch to a web
|
2011-02-15 07:39:19 +00:00
|
|
|
browser supporting javascript.</p><p>For admins: The error
|
|
|
|
|
could also be due to not being able to access the online
|
|
|
|
|
jQuery javascript library. If you are testing the client
|
|
|
|
|
without an internet connection, you have to previously
|
|
|
|
|
download the jQuery library from http://code.jquery.com
|
|
|
|
|
(it's just one file) and then edit webclient.html to point
|
|
|
|
|
to the local copy.</p>
|
2011-02-06 17:06:29 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<form id="inputform">
|
|
|
|
|
<div id="playercount">Logged in Players: {{num_players_connected}}</div>
|
2011-03-17 23:18:44 +00:00
|
|
|
<div id="inputcontrol"><input type="text" id="inputfield" autocomplete="off"><input id="inputsend" type="button" value="send" onClick="webclient_input()" /></div>
|
2010-12-07 02:34:59 +00:00
|
|
|
</form>
|
|
|
|
|
</div>
|
2011-02-06 17:06:29 +00:00
|
|
|
|
2010-12-07 02:34:59 +00:00
|
|
|
</body>
|
|
|
|
|
</html>
|