File: restore.html

package info (click to toggle)
strophejs 1.2.14%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 736 kB
  • sloc: javascript: 7,527; python: 179; makefile: 95
file content (24 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
  <!-- Session caching and restoring example. -->

  <head>
    <title>Strophe.js Persistent Session Example</title>
    <script src="../main.js"></script>
	<script src="../node_modules/requirejs/require.js" data-main="restore.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>