aboutsummaryrefslogtreecommitdiffstats
path: root/webclient/basic.html
diff options
context:
space:
mode:
Diffstat (limited to 'webclient/basic.html')
-rw-r--r--webclient/basic.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/webclient/basic.html b/webclient/basic.html
new file mode 100644
index 0000000..1d6d16f
--- /dev/null
+++ b/webclient/basic.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Strophe.js Basic Example</title>
+ <script src='lib/jquery-1.4.4.min.js'></script>
+ <script src='lib/strophe.min.js'></script>
+ <script src='lib/basic.js'></script>
+ </head>
+ <body>
+ <div id='login' style='text-align: center'>
+ <form name='cred'>
+ <label for='jid'>JID:</label>
+ <input type='text' id='jid'>
+ <label for='pass'>Password:</label>
+ <input type='password' id='pass'>
+ <input type='button' id='connect' value='connect'>
+ </form>
+ </div>
+ <hr>
+ <div id='log'></div>
+ </body>
+</html>