-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·89 lines (76 loc) · 3.17 KB
/
index.html
File metadata and controls
executable file
·89 lines (76 loc) · 3.17 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Epsile: Talk to strangers!</title>
<link rel="icon" type="image/png" href="img/epsile_logo16.png">
<link rel="stylesheet/less" type="text/css" href="style/epsile.less">
<script>
var less = {
env: "development"
};
</script>
<script src="js/lib/less-1.7.0.min.js"></script>
</head>
<body>
<section id="container">
<section id="chatWindow">
<section id="chatMain">
<div id="chatMainDiv"></div>
</section>
<div id="isTypingDiv" class="consoleChat">Stranger is typing...</div>
<section id="panelRow">
<input type=button value="Disconnect" id="disconnectButton" disabled>
<div id="chatAreaWrap">
<textarea id="chatArea" disabled="disabled"></textarea>
</div>
</section>
<section id="peopleOnlineSection">
<span id="peopleOnlineSpan">0</span> online
</section>
</section>
<section id="welcomeScreen">
<section id="startButtonDiv"><div>
<div id="description">
Epsile is a simple open-source clone of <a href="http://omegle.com" target="_blank">Omegle</a>, where people get connected to other people, in a one-to-one chat.<br>
If everyone is paired up, you must wait until someone finish a conversation. Chats are anonymous,<br>
meaning that the strangers you chat with don't know anything about you (unless you describe yourself).
</div>
<br>
<input type=button value="Start chatting!" onclick="Epsile.startChat();" class="button" id="startButton" disabled>
</div></section>
<header>
<a href="./"><div id="logo"></div></a>
</header>
<section id="badges">
<div>
<span id="sharebuttons">
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Epsile: An Omegle clone created with HTML5" data-via="daniel_hede" data-related="omegle" data-hashtags="epsile">Tweet</a><br>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<div class="g-plusone"></div>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</span>
<a href="http://nodejs.org" target="_blank"><img src="img/nodejs-love2.png" align=top vspace=6></a>
<a href="http://www.w3.org/html/logo/" target="_blank"><img src="img/html5-badge-h-connectivity-css3.png"></a>
</div>
</section>
<footer>
Check out the <a href="https://github.com/daniel-j/epsile" target="_blank">code on github</a> - uses <a href="http://socket.io/" target="_blank">socket.io</a> and <a href="http://expressjs.com/" target="_blank">express</a> - © 2014
</footer>
</section>
</section>
<audio id="alertSound">
<source src="media/alert.ogg" />
<source src="media/alert.mp3" />
</audio>
<script src="/socket.io/socket.io.js"></script>
<script src="js/epsile.js"></script>
</body>
</html>