Use readonly <input/>s for type="result" dataforms
[adhocweb.git] / index.html
index 28ce002f9baa3122bbaef604a2b59b23cf787817..b99d27e4755f4b5e170c99ec9645f4bfaa7edde3 100644 (file)
@@ -3,7 +3,7 @@
        "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<title>XMPP Chat</title>
+<title>adHocWeb</title>
 <link rel="stylesheet" type="text/css" href="style.css" />
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
 <body>
 <div id='login'>
   <form id='cred' name='cred'>
-    <label for='jid'>JID:</label>
+    <label for='jid'>JID:</label><br/>
     <input type='text' id='jid' />
     <br />
-    <label for='pass'>Password:</label>
+    <label for='pass'>Password:</label><br/>
     <input type='password' id='pass' />
+    <br />
     <input type='submit' id='connect' value='connect' />
   </form>
 </div>
 
-<div id="output"></div>
+<div id='main'>
+  <div id='query'>
+    <form id='queryForm' name='queryForm'>
+      <label for='queryJID'>Query:</label>
+      <input type='text' id='queryJID' />
+      <input type='submit' value='Query' />
+    </form>
+  </div>
+
+  <div id='output'></div>
+</div>
 
 <div id='log_container'>
   <a id='log_toggle' href='#'>Status Log :</a>