Replace Dojo with jQuery
[eow] / static / root.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> <head>
3 <link rel="stylesheet" type="text/css" href="static/style.css">
4 <title>Empire Web Client</title>
5
6 <script type="text/javascript" src="static/jquery.js"></script>
7 <script type="text/javascript" src="static/eow.js"></script>
8 <script type="text/javascript">
9 var init = function(){
10   console.log("I run after the page is ready. See this in the console");
11   setup_client();
12   get_next_update();
13 };
14 $(document).ready(init);
15 </script>
16
17 </head>
18
19 <body>
20 <div id="output">
21 <span class="less">EOW alpha0 Empire/Ajax</span>
22 <br/>
23 <br/>
24 <span class="info">Welcome to the Empire over the Web client (EOW).</span>
25 </div>
26 <div id="input">
27 <form id="cmdline" name='f' onsubmit='return false;' class='cmdline' action=''>
28 <table class="inputtable"><tr><td><div id='prompt' class='less'>&gt; </div></td>
29 <td class="inputtd"><input id='inputfield' name='q'
30   type='text' class='cmdline' autocomplete='off' value=""
31   onkeyup="inputfield_keyup(event);" /></td></tr></table>
32 </form>
33 </div>
34
35 <hr>
36 <address></address>
37 <!-- hhmts start --> Last modified: Sun Aug 23 01:42:08 CEST 2009 <!-- hhmts end -->
38 </body> </html>