-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (34 loc) · 1.21 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test App</title>
<link rel="stylesheet" href="sp://import/css/adam.css">
<link rel="stylesheet" href="app.css">
<script src="jamchats.js"></script>
<script src="jquery-1.5.2.min.js"></script>
<script src="socket.io.js"></script>
<script src="http://jamchats.herokuapp.com/nowjs/now.js"></script>
</head>
<body onload="sp = getSpotifyApi(1); jamchats = sp.require('jamchats'); jamchats.init();">
<div id="background"><div id="darkener"></div></div>
<div id="chatroom">
<div id="chat">
<!-- <div class="message"><span class="them">Ubervero</span> - I wrote some text here!</div> -->
</div>
<div id="sidebar">
<h1 id="roomname"></h1>
<ul id="userlist">
</ul>
</div>
<div id="messagecontrols">
<input class="input" type="text" id="text">
<input class="button" type="button" id="send" value="Send" onclick="now.sendMessage($(text).val());$('#text').val('');">
</div>
<div id="namecontrols">
<input class="input" type="text" id="username">
<input class="button" type="button" id="username" value="Set Your Name" onclick="now.setUsername($(username).val()); clearNameStuff();">
</div>
</div>
</body>
</html>