File: prototype-ping.html

package info (click to toggle)
strophejs 1.0.1.dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 924 kB
  • ctags: 249
  • sloc: python: 174; makefile: 11; xml: 6
file content (27 lines) | stat: -rw-r--r-- 688 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
  <head>
    <title>Strophe.js Prototype Ping Example</title>
    <script src='http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js'></script>
    <script src='../strophe.js'></script>
    <script src='prototype-ping.js'></script>
  </head>

  <body>
    <div id='login' style='text-align: center'>
      <form>
        <div>
          <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'>
        </div>
      </form>
    </div>

    <hr>

    <div id='log'></div>
  </body>
</html>