annotate mod_admin_web/admin_web/www_files/index.html @ 1171:a18effacd384

mod_turncredentials: No need to check tag name, we're already in the event handler for the 'services' tag
author Matthew Wild <mwild1@gmail.com>
date Wed, 28 Aug 2013 10:37:23 +0100
parents 83f56d3a07f5
children b3e2ed890b93
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>
572
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
7 <link rel="stylesheet" type="text/css" href="css/bootstrap-1.4.0.min.css" />
570
390d995bedcf mod_admin_web: Move style.css to css/
Matthew Wild <mwild1@gmail.com>
parents: 569
diff changeset
8 <link rel="stylesheet" type="text/css" href="css/style.css" />
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
9 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
1023
83f56d3a07f5 mod_admin_web: Update to JQuery 1.10.0
Florian Zeitz <florob@babelmonkeys.de>
parents: 1019
diff changeset
10 <script type="text/javascript" src="js/jquery-1.10.0.min.js"></script>
397
7331e2669f24 mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents: 334
diff changeset
11 <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
12 <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
13 <script type="text/javascript" src="js/main.js"></script>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
14 </head>
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
15
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
16 <body>
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
17 <div id='top'>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
18 <div id='header'>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
19 <img src="images/prosody.png" alt="Prosody"/>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
20 </div>
297
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
21 <div id='menu'>
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
22 <ul>
547
f0ef6e285d69 mod_adhoc_web: fade instead of scrolling
Florian Zeitz <florob@babelmonkeys.de>
parents: 539
diff changeset
23 <li><a id='adhocMenu' href="#adhoc">General</a></li>
f0ef6e285d69 mod_adhoc_web: fade instead of scrolling
Florian Zeitz <florob@babelmonkeys.de>
parents: 539
diff changeset
24 <li><a id='serverMenu' href="#s2sList">Servers</a></li>
f0ef6e285d69 mod_adhoc_web: fade instead of scrolling
Florian Zeitz <florob@babelmonkeys.de>
parents: 539
diff changeset
25 <li><a id='clientMenu' href="#c2sList">Clients</a></li>
575
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
26 <li><span id="selector">Host:&nbsp;<select id="host"></select></span></li>
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
27 <li><a href="#" id='logout'>Logout</a></li>
297
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
28 </ul>
a70284e01453 mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents: 296
diff changeset
29 </div>
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
30 </div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
31
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
32 <div id='login'>
575
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
33 <form id='cred' name='cred' class='form-stacked'>
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
34 <fieldset>
575
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
35 <div class='clearfix'>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
36 <label for='jid'>JID:</label>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
37 <div class='input'>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
38 <input type='text' id='jid' />
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
39 </div>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
40 </div>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
41 <div class='clearfix'>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
42 <label for='pass'>Password:</label>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
43 <div class='input'>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
44 <input type='password' id='pass' />
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
45 </div>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
46 </div>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
47 <div class='clearfix'>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
48 <div class='input'>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
49 <input type='submit' id='connect' value='Login' class='btn' />
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
50 </div>
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
51 </div>
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
52 </fieldset>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
53 </form>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
54 </div>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
55
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
56 <div id='main'>
573
c9955858dc7e mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents: 572
diff changeset
57 <div id="adhoc">
c9955858dc7e mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents: 572
diff changeset
58 <div class="row">
c9955858dc7e mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents: 572
diff changeset
59 <div id="adhocCommands" class="span4"></div>
c9955858dc7e mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents: 572
diff changeset
60 <div id="adhocDisplay" class="span12"></div>
c9955858dc7e mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents: 572
diff changeset
61 </div>
c9955858dc7e mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents: 572
diff changeset
62 </div>
572
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
63 <div id="s2sList" class="container">
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
64 <div class="row">
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
65 <div class="span8">
569
69288d001922 mod_admin_web: Fix typo (incomming->incoming)
Matthew Wild <mwild1@gmail.com>
parents: 547
diff changeset
66 <h2>Incoming S2S connections:</h2>
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
67 <ul id="s2sin"></ul>
294
5a619d6045a8 mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents: 288
diff changeset
68 </div>
572
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
69 <div class="span8">
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
70 <h2>Outgoing S2S connections:</h2>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
71 <ul id="s2sout"></ul>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
72 </div>
572
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
73 </div>
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
74 </div>
572
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
75 <div id="c2sList" class="container">
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
76 <div class="row">
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
77 <div class="span16">
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
78 <h2>Client connections:</h2>
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
79 <ul id="c2s"></ul>
301
b241c79a0eb7 mod_admin_web: Add a live view for C2S connections
Florian Zeitz <florob@babelmonkeys.de>
parents: 298
diff changeset
80 </div>
572
f22a569fcf86 mod_admin_web: Begin switch to using bootstrap styles
Matthew Wild <mwild1@gmail.com>
parents: 570
diff changeset
81 </div>
301
b241c79a0eb7 mod_admin_web: Add a live view for C2S connections
Florian Zeitz <florob@babelmonkeys.de>
parents: 298
diff changeset
82 </div>
288
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
83 </div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
84
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
85 <div id='log_container'>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
86 <a id='log_toggle' href='#'>Status Log :</a>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
87 <div id='log'></div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
88 </div>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
89 </body>
9233d7ee3c09 mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
90 </html>