-
Notifications
You must be signed in to change notification settings - Fork 0
/
discussion.html
89 lines (78 loc) · 3.05 KB
/
discussion.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Storm</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/github-dark.css">
<link rel="stylesheet" href="stylesheets/custom.css">
<link rel="stylesheet" href="stylesheets/chat.css">
<script src='https://cdn.firebase.com/js/client/2.2.1/firebase.js'></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="javascripts/main.js"></script>
<script src="javascripts/util.js"></script>
<script src="javascripts/clock.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
</head>
<body>
<div class="container">
<div id="topbar">
<span id="goal"></span>
</div>
<div id="sidebar">
<div id="clock">--:--</div>
<div id="definition" class="stage">1) Definition</div>
<div id="ideation" class="stage">2) Ideation</div>
<div id="discussion" class="stage active">3) Discussion</div>
<div id="election" class="stage">4) Election</div>
<div id="decision" class="stage">5) Decision</div>
<div class="criteria-list">
Criteria
<ol>
<li id="criteria1">one</li>
<li id="criteria2">two</li>
<li id="criteria3">three</li>
</ol>
</div>
</div>
<div id="main">
<div class="section-title">
<span id="title" class="section-title">Discussion</span>
<span id="counter"></span>
</div>
<div id="description">
Each idea will appear onscreen for 60 seconds. Read over it, share your thoughts, offer suggestions, and build off each other's ideas.
<br><br>Collecting ideas from the group. Discussion will begin when the timer hits zero.
</div>
<script>
var key = getFirebaseKey();
var ref = new Firebase(getSessionUrl(key));
ref.once("value", function(snapshot) {
var session = snapshot.val();
initDiscussionClock(session.date, session.time, session.duration);
$("#goal").html(session.goal);
$("#criteria1").html(session.criteria1);
$("#criteria2").html(session.criteria2);
$("#criteria3").html(session.criteria3);
}, function (errorObject) {
console.log("The read failed: " + errorObject.code);
});
</script>
</div>
</div>
<div class="chat-container">
<ul id='message-list'>
<li>Welcome to the ideas chat room!</li>
</ul>
<input type='text' id='message-input' placeholder='Type a message...'>
</div>
<script src="javascripts/chat.js"></script>
<div class="wrapper">
</div>
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
</body>
</html>