summaryrefslogtreecommitdiff
path: root/view/poc/chat.html
blob: bee39b26b949b0ce398e7ae0354a18b9053b1aac (plain)
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
<!DOCTYPE html>
<html>
    <head>
        <title>Chaos Chat</title>
        <link rel='stylesheet' href='css/chat.css'/>
        <!-- NEED TO FIX URL!! -->
        <script src='http://chaos-audio-platform.riaevangelist.c9.io/socket.io/socket.io.js'></script>
        <script src='util/base64-binary.js'></script>
        <script src='class/chat.js'></script>
        <script src='class/playList.js'></script>
        <script src='js/chat.js'></script>
    </head>
    <body>
        <header>
            <h1>Chaos Chat</h1>
        </header>
        <main>
            <section
                id='chat-primary' 
                class='chat-primary'>
                <ul 
                    id='chat-primary-window' 
                    class='chat-window'></ul>
                <textarea 
                    id='chat-primary-input' 
                    class='chat-input'></textarea>
                <button 
                    id='chat-primary-post' class='post'>post</button>
            </section>
            <section id='playlist-area' class='playlist'>
                <h2>
                    Playlist
                </h2>
                <ul id='playlist'></ul>
            </section>
        </main>
        <section id='modal-join' class='modal modal-join'>
            <h2>Join a Room</h2>
            <p>try chaos</p>
            <input id='room-name'/>
            <button 
                id='room-join' 
                data-event='room.join'>Join</button>
        </section>
        <section id='modal-handle' class='modal modal-handle'>
            <h2>Set Your Handle</h2>
            <input id='user-handle' />
            <button 
                id='set-handle' 
                data-event='set.handle'>Set</button>
        </section>
        <footer>
            Chatting as <span id='user-current-handle'>nobody</span> in <span id='user-current-room'>nowhere</span> room
        </footer>
    </body>
</html>