Welcome to mirror list, hosted at ThFree Co, Russian Federation.

login.html « example - github.com/jsxc/jsxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a9edb9de6fb97033c7d536c6a0e1b68adf58331 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE HTML>
<html>

<head>
   <title>JSXC example application</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

   <link href="css/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />

   <!-- require:dependencies -->
   <link href="../dist/styles/jsxc.bundle.css" media="all" rel="stylesheet" type="text/css" />
   <!--  endrequire -->

   <link href="css/example.css" media="all" rel="stylesheet" type="text/css" />
</head>

<body>
   <div class="container">
      <h1 class="page-header">Restricted Area <small>simulated</small></h1>

      <p>This page simulates your protected area or your login target.</p>

      <div class="submit alert alert-warning col-xs-6">
         <p>You are not logged in! Maybe your password was wrong. <a href="index.html">Back</a></p>
      </div>

      <div class="logout alert alert-success col-xs-6" style="display: none;">
         <p>The following link has the <code>id</code> which was passed to jsxc as <code>logoutElement</code>:</p>

         <p><a href="index.html" class="logout btn btn-default">Log out</a> and redirect to <code>index.html</code></p>
      </div>
   </div>

   <!-- only needed for the example script -->
   <script src="js/jquery.min.js"></script>

   <!-- require:optional -->
   <script src="/libsignal/dist/libsignal-protocol.js"></script>
   <!--  endrequire -->

   <!-- jsxc library -->
   <script src="../dist/jsxc.bundle.js"></script>

   <script src="js/example.js"></script>
   <script src="js/helper.js"></script>
</body>

</html>