-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
116 lines (105 loc) · 4.05 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
<title>Black Chat</title>
<meta charset="UTF-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!-- RESPONSIVE PART-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<!-- SCRIPTS FOR ALL-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--OWN MODIFICATION-->
<link rel="stylesheet" href="./css/blackchat.css" />
</head>
<body>
<div class="loading style-2" id="load" style="display: none;">
<div class="loading-wheel"></div>
</div>
<h1 id="messageLabel">BLACK - CHAT</h1>
<div class="wrap" id="hideme">
<div class="container">
<div class="row">
<!-- Sing in -->
<div class="form" id="register">
<label for="goodname">
<input
type="text"
required
id="goodname"
autocomplete="off"
required
/>
<div class="label-text">Your Good Name</div>
</label>
<label for="master">
<input type="text" required id="master" autocomplete="off" />
<div class="label-text">Create Master Key</div>
</label>
<button onclick="regis()">Register</button>
<br /><br />
<p style="color: #5d11fa; cursor: pointer;" onclick="getlogin()">
Already Registered ?<br />
<strong>click here to log in. </strong>
</p>
</div>
<!-- LOGING IN -->
<div class="form" id="in" style="display: none;">
<label for="master2">
<input type="text" required id="master2" autocomplete="off" />
<div class="label-text">Your Master Key</div>
</label>
<button onclick="login()">Get the App</button>
<br /><br />
<p style="color: #5d11fa; cursor: pointer;" onclick="getregis()">
Not Registered ? <br /><strong
>Click here to Register first.</strong
>
</p>
</div>
<div class="info">
<a
href="https://github.com/nehal-backspace/Black_Chat#download-and-installation"
>
<p
class="how"
style="
font-weight: bold;
color: #5d11fa;
border-radius: 10px;
border: 1px solid aliceblue;
width: 40%;
margin: auto;
"
>
How to use ?
</p>
</a>
<br />
<p>
<strong class="impo">* Your Good name - </strong> this will be
your display name.
</p>
<p>
<strong class="impo"># Master Key - </strong> this
<strong style="color: #c6c656;">alphanumeric</strong> text will
act as a KEY to enter into main chat app.
</p>
</div>
</div>
</div>
</div>
<!-- Insert these scripts at the bottom of the HTML, but before you use any Firebase services -->
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-app.js"></script>
<!-- If you enabled Analytics in your project, add the Firebase SDK for Analytics -->
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-analytics.js"></script>
<!-- Add Firebase products that you want to use -->
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-firestore.js"></script>
<script src="./js/blackchat.js"></script>
</body>
</html>