annotate mod_admin_web/admin_web/www_files/index.html @ 509:bf2ad6d6c778

mod_storage_mongodb: (un)lock globals around require; only auth if we need to
author James Callahan <james@chatid.com>
date Mon, 19 Dec 2011 10:36:50 +1100
parents 7331e2669f24
children 99465bbfa205
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8" ?>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml">
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
5 <head>
296
d49702971a5e mod_admin_web: Change page title
Florian Zeitz <florob@babelmonkeys.de>
parents: 294
diff changeset
6 <title>Prosody Webadmin</title>
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
7 <link rel="stylesheet" type="text/css" href="style.css" />
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
8 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
397
7331e2669f24 mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents: 334
diff changeset
9 <script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
7331e2669f24 mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents: 334
diff changeset
10 <script type="text/javascript" src="js/strophe.min.js"></script>
297
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
11 <script type="text/javascript" src="js/adhoc.js"></script>
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
12 <script type="text/javascript" src="js/main.js"></script>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
13 </head>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
14 <body>
294
5a619d6045a8 mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents: 288
diff changeset
15 <div id='left'>
297
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
16 <div id='menu'>
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
17 <ul>
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
18 <li id='adhocMenu'><a href="#">General</a></li>
301
b241c79a0eb7 mod_admin_web: Add a live view for C2S connections
Florian Zeitz <florob@babelmonkeys.de>
parents: 298
diff changeset
19 <li id='serverMenu'><a href="#">Servers</a></li>
b241c79a0eb7 mod_admin_web: Add a live view for C2S connections
Florian Zeitz <florob@babelmonkeys.de>
parents: 298
diff changeset
20 <li id='clientMenu'><a href="#">Clients</a></li>
297
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
21 </ul>
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
22 </div>
294
5a619d6045a8 mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents: 288
diff changeset
23 <div id='login'>
5a619d6045a8 mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents: 288
diff changeset
24 <form id='cred' name='cred'>
298
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
25 <fieldset>
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
26 <label for='jid'>JID:</label><br/>
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
27 <input type='text' id='jid' />
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
28 <br />
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
29 <label for='pass'>Password:</label><br/>
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
30 <input type='password' id='pass' />
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
31 <br />
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
32 <input type='submit' id='connect' value='connect' />
451e734045d4 mod_admin_web: XHTML fix
Florian Zeitz <florob@babelmonkeys.de>
parents: 297
diff changeset
33 </fieldset>
294
5a619d6045a8 mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents: 288
diff changeset
34 </form>
5a619d6045a8 mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents: 288
diff changeset
35 </div>
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
36 </div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
37
334
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
38 <div id='right'>
330
ee85698096b0 mod_admin_web: Style fix. A <span/> is more appropriate here
Florian Zeitz <florob@babelmonkeys.de>
parents: 319
diff changeset
39 <span id="selector">Host: <select id="host"></select></span>
334
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
40 <div id='main'>
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
41 <div id="adhoc"></div>
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
42 <div id="s2sList">
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
43 <div class="container">
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
44 Incomming S2S connections:
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
45 <ul id="s2sin"></ul>
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
46 </div>
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
47 <div class="container">
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
48 Outgoing S2S connections:
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
49 <ul id="s2sout"></ul>
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
50 </div>
294
5a619d6045a8 mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents: 288
diff changeset
51 </div>
334
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
52 <div id="c2sList">
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
53 <div class="container">
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
54 Client connections:
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
55 <ul id="c2s"></ul>
54d4445cc5c6 mod_admin_web: Add some margin so that elements don't overlap.
Florian Zeitz <florob@babelmonkeys.de>
parents: 330
diff changeset
56 </div>
301
b241c79a0eb7 mod_admin_web: Add a live view for C2S connections
Florian Zeitz <florob@babelmonkeys.de>
parents: 298
diff changeset
57 </div>
b241c79a0eb7 mod_admin_web: Add a live view for C2S connections
Florian Zeitz <florob@babelmonkeys.de>
parents: 298
diff changeset
58 </div>
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
59 </div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
60
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
61 <div id='log_container'>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
62 <a id='log_toggle' href='#'>Status Log :</a>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
63 <div id='log'></div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
64 </div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
65 </body>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
66 </html>