-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.html
271 lines (226 loc) · 8.77 KB
/
sidebar.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
content="width=device-width, shrink-to-fit=no, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Simple Sidebar - Start Bootstrap Template</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/simple-sidebar.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<!-- Initialize : display all active rooms -->
<body onload="initialize()">
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper">
<ul class="sidebar-nav">
<li class="sidebar-brand"><a href="#"> SOCIAM </a></li>
<li class="active"><a data-toggle="tab" href="#tab1">Active
Rooms</a></li>
<li><a data-toggle="tab" href="#tab2">Create New Room</a></li>
<li><a href="#">Monitor Room</a></li>
<li><a href="#">Room Stats</a></li>
<li><a data-toggle="tab" href="#about">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container-fluid">
<header>
<a href="#menu-toggle" class="btn btn-default" id="menu-toggle">Toggle
Menu</a>
</header>
<div class="tab-content">
<div id="tab1" class="tab-pane fade in active">
<div class="row">
<div class="col-lg-12">
<h1 class="text-center">Active Rooms</h1>
<hr class="star-light">
<br></br>
<h3>Here are the currently active rooms:</h3>
<br></br>
</div>
</div>
<div class="room-rows" id="rooms">
<div class="row">
</div>
</div>
<!-- Modal for Room Details -->
<div class="modal fade" id="roomModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header" id="roomModalH">
<button type="button" class="close" data-dismiss="modal">×</button>
<!-- missing h4 -->
</div>
<div class="modal-body" id="roomModalB">
<!-- missing p -->
<div class="row" id="descDiv">
</div>
<div class="row" id="vizDiv">
<h4>Visualizations in this rooms:</h4>
<div class="row">
</div>
</div>
</div>
<div class="modal-footer" id="roomModalF">
<div class="row" id="footerDiv">
</div>
</div>
</div>
</div>
</div>
</div>
<div id="tab2" class="tab-pane fade">
<h1 class="text-center">Create New Room</h1>
<hr class="star-light">
<br></br>
<form class="form-horizontal">
<div class="form-group">
<label class="control-label col-sm-2" for="roomName">Name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="roomName"
placeholder="Enter name">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="roomDesc">Description:</label>
<div class="col-sm-10">
<textarea type="text" rows="5" class="form-control"
id="roomDesc" placeholder="Enter room description"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="button" id="createRoom" class="btn btn-default">Create
Room</button>
</div>
</div>
</form>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Choose visualizations</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-sm-12">
<form class="form-horizontal" role="form">
<div class="row">
<div class="col-sm-3">
<div class="col-sm-12 border-box-black">
<img src="http://sociamvm-app-001.ecs.soton.ac.uk:9002/Wikipedia_Map" alt="wikipediaMap" style="width:160px;height:100px;"
class="img-responsive img-radio">
<div class="btm-space-10">
Wikipedia Map <input type="checkbox"
class="pack_item pull-right" value="Wikipedia_Map"/>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="col-sm-12 border-box-black">
<img src="http://sociamvm-app-001.ecs.soton.ac.uk:9002/Twitter_Cascades" alt="twitterCascades" style="width:160px;height:100px;"
class="img-responsive img-radio">
<div class="btm-space-10">
Twitter Cascades <input type="checkbox"
class="pack_item pull-right" value="Twitter_Cascades"/>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="col-sm-12 border-box-black">
<img src="http://sociamvm-app-001.ecs.soton.ac.uk:9002/Deleted_Tweets" alt="deletedTweets" style="width:160px;height:100px;"
class="img-responsive img-radio">
<div class="btm-space-10">
Deleted Tweets <input type="checkbox"
class="pack_item pull-right" value="Deleted_Tweets"/>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="col-sm-12 border-box-black">
<img src="http://sociamvm-app-001.ecs.soton.ac.uk:9002/Filter" alt="ms-Filter" style="width:160px;height:100px;"
class="img-responsive img-radio">
<div class="btm-space-10">
MS-Filter <input type="checkbox"
class="pack_item pull-right filter" value="Filter" id="filterCheckbox" checked="checked" disabled/>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" id="addVizsBtn" class="btn btn-default"
href="#tab1" data-toggle="tab" data-dismiss="modal">Add
Vizs</button>
</div>
</div>
</div>
</div>
</div>
<!-- About Section -->
<div id="about" class="tab-pane fade">
<div class="row">
<div class="col-lg-12 text-center">
<h2>About</h2>
<hr class="star-light">
</div>
</div>
<div class="row">
<div class="col-lg-4 col-lg-offset-2">
<p>When we regard the World Wide Web as the space where
human beings share information as individual signals, we will
be able to develop new theories of a global, augmented
intelligence that goes beyond what we currently know about
human intelligence.</p>
</div>
<div class="col-lg-4">
<p>The project SOCIAM – The Theory and Practice of Social
Machines researches into pioneering methods of supporting
purposeful human interaction on the World Wide Web, of the kind
exemplified by phenomena such as Wikipedia and Galaxy Zoo.
These collaborations are empowering, as communities identify
and solve their own problems, harnessing their commitment,
local knowledge and embedded skills, without having to rely on
remote experts or governments.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- socketIO -->
<script src="https://cdn.socket.io/socket.io-1.2.0.js"></script>
<!-- jQuery -->
<script src="js/jquery.js"></script>
<!-- localJS -->
<script src="js/sidebar.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>