This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (50 loc) · 1.76 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<!--Apple Crap-->
<link rel="apple-touch-icon" href="icon.png">
<meta name="apple-mobile-web-app-title" content="STiBaRC Messenger">
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript">
if(("standalone" in window.navigator) && window.navigator.standalone){
var noddy, remotes = false;
document.addEventListener('click', function(event) {
noddy = event.target;
while(noddy.nodeName !== "A" && noddy.nodeName !== "HTML") {
noddy = noddy.parentNode;
}
if('href' in noddy && noddy.href.indexOf('http') !== -1 && (noddy.href.indexOf(document.location.host) !== -1 || remotes))
{
event.preventDefault();
document.location.href = noddy.href;
}
},false);
}
</script>
<!--End Apple Crap-->
<meta name="mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-title" content="STiBaRC Messenger">
<link rel="stylesheet" href="css/index.css">
<link rel="icon" type="image/png" href="icon.png">
<title>STiBaRC Messenger</title>
<script src="js/notifs.js"></script>
<script src="js/index.js"></script>
</head>
<body>
<div id="loggedoutcontainer" style="text-align:center;display:none">
<button id="loginbutton"><h1>Log in</h1></button><br/><br/>
<a href="https://stibarc.gq/register.html">Or register...</a>
</div>
<div id="loggedincontainer">
<div id="header"><a href="newchat.html" class="button">New chat</a> <a href="index.html" class="button">Refresh</a></div><br/>
<div id="mainblobwithlist"></div><br/>
</div>
<footer>
<a href="index.html" class="button">Home</a> <a href="logout.html" class="button">Logout</a><br/><br/>
Icon by Alex Savon<br/>
© 2018 STiBaRC<br/>
</footer>
</body>
</html>