forked from modernxmpp/easy-xmpp-invitation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (67 loc) · 2.88 KB
/
index.html
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1, user-scalable=0" name="viewport">
<title>XMPP Invitation</title>
<link href="stylesheets/styles.css" rel="stylesheet">
<link href="stylesheets/i.css" rel="stylesheet">
<style>
.main {
padding-top: 0px;
max-width: 600px;
width: 90%;
margin: 0 auto;
}
</style>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="main">
<noscript><h3>You need JavaScript to follow the invitation.</h3></noscript>
<div id="display-uri" style="display:none">
<h3 class="text-center" id="heading" data-i18n=".heading"></h3>
<p class="text-center"><a class="btn btn-primary" id="button" data-i18n=".button"></a></p>
<input type="url" class="form-control text-center" id="url_in" readonly/>
<div class="qrcode" id="qrcode"></div>
<p class="lead text-center" id="clients" data-i18n="clients"></p>
<p class="lead text-center" id="recommend" data-i18n="recommend"></p>
<p class="lead img-center text-center" id="client_list"></p>
<i>
<p class="hint text-center" id="checkfulllist" data-i18n="checkfulllist" data-i18n-target="innerHTML"></p>
<p class="hint text-center" id="xmppis" data-i18n="xmppis"></p>
</i>
<p class="hint text-center" id="xmpp"></p>
</div>
<div id="enter-uri" style="width:80%;display: none;">
<h3 class="text-center" id="enter-heading" data-i18n="create.heading"></h3>
<p data-i18n="create.desc"></p>
<div style="width: 90%;margin: 0 auto;">
<label for="uri_input" data-i18n="create.input"></label>
<input class="uri-input" id="uri_input" name="uri_input" type="text"/>
<div class="input-group">
<input type="checkbox" id="is_muc" name="is_muc" value="muc">
<label for="is_muc" data-i18n="create.is_muc"></label>
</div>
<button id="generate-link-btn" data-i18n="create.button"></button>
<div id="display-link" style="display:none">
<h4 data-i18n="create.link_heading"></h4>
<div class="text-center">
<a id="generated-link" href=""></a><br/>
<a href="#" class="btn" data-i18n="action-copy" id="copy-link"></a>
<div id="copy-result"></div>
</div>
</div>
</div>
</div>
</div>
<script src="scripts/i18n-text.min.js"></script>
<script src="config.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/qrcode.min.js"></script>
</body>
</html>