-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsearch-group.php
More file actions
168 lines (137 loc) · 6.42 KB
/
search-group.php
File metadata and controls
168 lines (137 loc) · 6.42 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
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
<?php
$body_id = 'search_group_body';
?>
<script src="js/include/jquery.min.js"></script>
<?php require_once('header.php'); ?>
<script src="js/mapView.js"></script>
<div id="map-container">
<div id="map"></div><!--#map-->
<div id="user-classes">
<ul>
</ul>
<a href="#" id="create-group">Add New Study Session</a>
</div><!--#user-classes-->
<div id="left-side-buttons">
<!--<a href="#" id="create-group">Add New Study Session</a>-->
</div><!--#left-side-buttons-->
<input id="center-location" type="text" name="center-location" placeholder="Search for a Study Spot" autofocus>
</div><!--#map-container-->
<table id="user-id-table">
<tbody></tbody>
</table>
<div id='user-classes'>
</div>
<table id="available-groups-table">
<tbody></tbody>
</table>
<div id="group-details-div">
<div class="close"><i class="fa fa-times"></i></div>
<div class="reg-title">Join a BookUp Study Session</div>
<div class="profileimg" id="profileimgId">
<div class="row">
<div class="col-md-12 col-sm-12">
<div class="information">
<div class="responsive-table">
<input type="hidden" id="hiddengroupId" value="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="selected-group-info">
<tr style="display:none;">
<td class="leftCol"><strong>Location:</strong></td>
<td class="rightCol location"></td>
</tr>
<tr>
<td class="leftCol"><strong>Class:</strong></td>
<td class="rightCol class"></td>
</tr>
<tr>
<td class="leftCol"><strong>Topic:</strong></td>
<td class="rightCol tname"></td>
</tr>
<tr>
<td class="leftCol"><strong>Date:</strong></td>
<td class="rightCol on_date"></td>
</tr>
<tr>
<td class="leftCol"><strong>Time:</strong></td>
<td class="rightCol start_end_time"></td>
</tr>
<tr>
<td class="leftCol"><strong>Capacity:</strong></td>
<td class="rightCol slots"></td>
</tr>
</table>
</div><!--.responsive-table-->
<div class="moredetailsbtn">
<a href="javascript:void(0);">Join BookUp Study Session</a>
</div><!--.moredetailsbtn-->
<div class="more-details">
</div>
</div><!--.more-details-->
</div>
</div>
</div>
</div><!--group-details-div-->
<div id="create-group-div" class="resizable">
<div class="close"><i class="fa fa-times"></i></div>
<div class="reg-title">Add New Study Session</div>
<div class="login_box registration" id="createGroupInnerId">
<form method="post" action="" id="addgroupform" onsubmit="submitNewGroup();return false; ">
<div class="form-group">
<label for="ag_class">Class Name</label>
<select class="form-control" name="ag_class" id="ag_class">
<option value=''>Select Class</option>
</select>
</div>
<div class="form-group">
<label for="ag_topicname">Topic Name</label>
<input type="text" class="form-control" placeholder="Enter Topic Name" name="ag_topicname" id="ag_topicname" value="">
</div>
<div class="form-group" id="dateDivId">
<label for="ag_date">Date</label>
<input type="text" class="form-control datepicker" name="ag_date" id="ag_date" value="">
</div>
<div class="form-group">
<div id="time-range">
<label>Time: <span class="slider-time">10:00 AM</span> - <span class="slider-time2">12:00 PM</span>
</label>
<div class="sliders_step1">
<div id="slider-range"></div>
</div>
</div>
</div>
<div class="form-group">
<label for="ag_room">Location</label>
<input type="text" class="form-control" placeholder="Enter Room Number" name="ag_room" id="ag_room" value="">
</div>
<div class="form-group">
<label for="ag_size">Max Session Size</label>
<select class="form-control" name="ag_size" id="ag_size">
<option value='3'>3</option>
<option value='4'>4</option>
<option value='5'>5</option>
<option value='6'>6</option>
<option value='7'>7</option>
<option value='8'>8</option>
</select>
</div>
<div class="form-group" style="display:none;">
<label for="ag_location">Location</label>
<div id="map2"></div>
<input type="hidden" class="form-control" name="ag_location" id="ag_location" readonly="true">
</div>
<!--Rdio buttons for open or closed groups -->
<div class="form-group">
<label for="ag_size">Session Type</label>
<input id="publicRadio"type="radio" name= "isPublic" value= "yes" checked>Public
<input id="privateRadio"type="radio" name="isPublic" value= "no" ]> Private
</div>
<!-- Dartmouth College Hanover New Hampshire United States 03755 -->
<div class="submit">
<input type="hidden" name="ag_location_latlng" id="ag_location_latlng" value="" />
<input type="hidden" name="ag_start_time" id="ag_start_time" value="" />
<input type="hidden" name="ag_end_time" id="ag_end_time" value="" />
<button class="btn btn-default" title="Add" type="submit" name="ag_submit" id="ag_submit">Add BookUp Study Session</button>
</div>
</form>
</div>
</div><!--#create-group-div-->
<?php require_once('footer.php'); ?>