-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubject.html
340 lines (286 loc) · 17.8 KB
/
subject.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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>project_SN</title>
<link rel="stylesheet" type="text/css" href="assets/css/styles.css" />
<link rel="stylesheet" type="text/css" href="assets/css/profile_styles.css" />
<link rel="stylesheet" href="assets/css/jquery-ui.css" />
<!-- <link rel="stylesheet" href="assets/css/jquery.Jcrop.css" /> -->
<link rel="stylesheet" href="assets/css/jquery-ui.structure.css" />
<link rel="stylesheet" href="assets/css/jquery-ui.theme.css" />
<link rel="stylesheet" type="text/css" href="assets/css/profile_styles.css" />
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/fonts/ionicons.min.css">
<!-- <link rel="stylesheet" href="assets/fonts/iconicss.min.css"> -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> -->
<link rel="stylesheet" href="assets/css/Login-Form-Clean-1.css">
<link rel="stylesheet" href="assets/fonts/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/Login-Form-Clean.css">
<link rel="stylesheet" href="assets/css/Navigation-with-Search.css">
</head>
<body>
<div class="container-fluid" id="tl_page_container">
<div class=" p-0 flex-column " id="page_header">
<div class="p-0 d-flex flex-fill justify-content-center " id="site_title">
<h1>AcademiKe.</h1>
</div>
<div class="p-1 d-flex flex-fill justify-content-center " id="user_profile_page_top">
<img id="profile_img_navbar"
class="rounded-circle border justify-content-center img-responsive shadow-sm visible"
loading=" lazy" />
</div>
<div class="p-1 d-flex flex-column ">
<div class="logged_in_as_page_top justify-content-center d-flex">
<span><small>Logged in as:</small></span>
</div>
<div class="justify-content-center d-flex">
<h3><strong id="username_page_top"></strong></h3>
</div>
</div>
</div>
<div class="icon-bar flex-row d-flex fixed-bottom" id="navbar">
<div class="d-flex p-1 justify-content-around flex-fill">
<div class="p-1 ">
<a href="#"><i class="fa fa-users nav_icon" id="timeline_icon" style="color:grey;"></i></a>
</div>
<div class="p-1 ">
<button class="fa fa-bell-o nav_icon" id="notifications_icon"
style="font-weight: 1px; color: grey;">
</button>
</div>
<div class="p-1 ">
<button class="fa fa-search nav_icon" id="search_icon" style="font-weight: 1px; color: grey;">
</button>
</div>
<div class="p-1 ">
<button class="fa fa-user nav_icon" id="profile_icon" style="color:grey;"></button>
</div>
<div class="p-0 ">
<div class="dropdown p-1 ml-auto ml-left ">
<button class="fa fa-power-off nav_icon" type="button" data-toggle="dropdown"
id="power_menu_button" aria-haspopup="true" aria-expanded="false"
style="font-weight: 1px; color: grey;"></button>
<div class="dropdown-menu dropdown-menu-right options_dropdown_menu"
aria-labelledby="power_menu_button">
<button class="dropdown-item tl_post_options" id="log_out_button">Log out</button>
<div class="dropdown-item logout_options">
<button class=" tl_post_options logout_option_button" id="log_out_this_button">This
Device</button>
<button class=" tl_post_options logout_option_button" id="log_out_all_button">All
Devices</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="tl_content_container">
<div class="tab-content" id="tab_content">
<div class="sticky-top">
<div class="d-flex p-0" id="user_info_container">
<!-- column for the username and the profile photo -->
<div class="p-1 d-flex mr-auto mr-right">
<h3><strong id="subject_name"></strong></h3>
</div>
<!-- column for the follow button, followers and following-->
<table class="flex-column d-flex" id="follow_table">
<tr class="p-1 d-flex justify-content-center " colspan="2" id="follow_button_row">
<td>
<button id="subject_page_follow_btn"></button>
</td>
</tr>
</table>
</div>
<div class="d-flex justify-content-right p-1 flex-fill" id="create_post_btn_container">
</div>
<div id="tab_nav_container ">
<ul class="nav nav-tabs nav-justified d-flex flex-row flex-shrink" id="tabs_navigation">
<li class="nav-item text-left "><a class="nav-link active text-capitalize text-center"
role="tab" data-toggle="tab" href="#tab-1"
style="margin-left: 11px;margin-top: 3px;"><strong>All Posts</strong></a>
</li>
<li class="nav-item"><a class="nav-link text-center" id="tab-inactive" role="tab"
data-toggle="tab" href="#tab-2"
style="margin-left: 4px;margin-top: 3px;"><strong>Questions</strong></a>
</li>
<li class="nav-item"><a class="nav-link text-center" id="tab-inactive" role="tab"
data-toggle="tab" href="#tab-3"
style="margin-left: 4px;margin-top: 3px;"><strong>Discussions</strong></a>
</li>
<li class="nav-item"><a class="nav-link text-center" id="tab-inactive" role="tab"
data-toggle="tab" href="#tab-4"
style="margin-left: 4px;margin-top: 3px;"><strong>Publications</strong></a>
</li>
</ul>
</div>
</div>
<div class="tab-pane active" id="tab-1">
<div style="padding-left: 65px;" id="shared_by">
<small>shared by name</small>
</div>
<div class="conatiner d-flex flex-row " id="timeline_posts" style="scroll-padding-left: 10px;">
<div class="p-1 flex-column " id="tl_profile_img_container"> <img
class="rounded-circle border img-responsive shadow-sm visible" id="profile_img_tl"
loading="lazy"> </div>
<div class="p-1 flex-fill ">
<div class="d-flex p-0 ">
<table>
<tr>
<td colspan="3">username here ∙</td>
<td>designation here ∙</td>
<td>Time
</td>
</tr>
<tr>
<td>institution here</td>
</tr>
</table>
<!-- <div id="tl_post_time" class="p-1 mr-auto"> <small> Time
</small></div> -->
<div id="tl_post_options" class="p-1 ml-auto ml-left "><small>...</small>
</div>
</div>
<div class="d-flex p-0 ">
<div class="p-1 " id="tl_post_topic"><small>Topic
</small></div>
<div class="p-1 " id="tl_post_type"><small>Type</small></div>
</div>
<div class="p-0 ">
<p>post body</p>
<div class="d-flex p-2 flex-fill justify-content-around">
<div class="p-2 "><a href="#"><i
class="icss-heart post_icon"></i></a><span><small>CONTENT
HERE</small></span></div>
<div class="p-2 "><a href="#"><i
class="icss-comment post_icon"></i></a><span><small>CONTENT
HERE</small></span></div>
<div class="p-2 "><a href="#"><i
class="icss-share post_icon"></i></a><span><small>CONTENT
HERE</small></span></div>
</div>
</div>
</div>
</div>
<!-- <div id="tl_user" style="height: 50px;width: 80%;align-content: center;/*background-color: black;*/">
<div id="tl_p_pic_container" style="height: 40px;width: 40px;"><img class="rounded-circle img-fluid border shadow-sm visible" id="tl_p_pic" loading="lazy" style="width: 40px;height: 40px;float: left;"></div>
<div id="tl_username" style="float: right;margin-left: 50px;height: 40px;/*margin-top: 0px;*/"></div>
</div> -->
</div>
<div class="tab-pane inactive" role="tabpanel" id="tab-2">
</div>
<div class="tab-pane inactive" role="tabpanel" id="tab-3">
<p>Content for tab 3.</p>
</div>
<div class="tab-pane inactive" role="tabpanel" id="tab-4">
<p>Content for tab 3.</p>
</div>
</div>
<!--modal window for comments-->
<div class="modal fade" id="comment_modal" data-keyboard="true" role="dialog" tabindex="-1">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="position: sticky-top; width: 100%; background: white;">
<h6 class="modal-title">Edit Response</h6><button type="button" class="close"
data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body" id="modal_comments" style="overflow-y: auto; max-height: 600px;">
<p>The content of your modal.</p>
</div>
</div>
</div>
</div>
<!--modal window for reporting a post-->
<div class="modal fade" id="report_modal" data-keyboard="true" role="dialog" tabindex="-1">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="position: sticky-top; width: 100%; background: white;">
<h6 class="modal-title">Report Post</h6><button type="button" class="close"
data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body" id="modal_report" style="overflow-y: auto; max-height: 600px;">
<!-- <p>The content of your modal.</p> -->
</div>
</div>
</div>
</div>
<!--modal window for searchbox-->
<div class="modal fade" id="search_modal" data-keyboard="true" role="dialog" tabindex="-1">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="position: sticky-top; width: 100%; background: white;">
<i class="fa fa-search" style="margin-right: 5px; padding-top: 5px;"></i><input
class="form-control sbox" type="text" placeholder="Search..." id="search_input"
autofocus><button type="button" class="close" data-dismiss="modal"
aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body" style="overflow-y: auto; max-height: 600px;" id="search_autocomplete">
<ul class="list-group autocomplete" style="position:relative;">
</ul>
</div>
</div>
</div>
</div>
<!--modal window for editing profile-->
<!-- <div class="modal fade" id="edit_profile_modal" data-keyboard="true" role="dialog" tabindex="-1">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header" style="position: sticky-top; width: 100%; background: white;">
<h6 class="modal-title">Edit Profile</h6><button type="button" class="close"
data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body" style="overflow-y: auto; max-height: 600px;" id="edit_profile">
</div>
</div>
</div>
</div> -->
<!--modal wondow for creating a new post-->
<!-- <div class="modal fade ui-front" id="new_post_modal" data-keyboard="true" role="dialog" tabindex="-1">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="position: sticky-top; width: 100%; background: white;">
<h6 class="modal-title">Create Post</h6><button type="button" class="close"
data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body" style="overflow-y: auto; max-height: 600px;" id="post_input">
<form class="form-horizontal" action="profile1.php?username=<?php echo $myName; ?>"
method="post">
<div class="d-flex flex-fill">
<div class="form-group form-inline">
<label class="form-control-sm" for="post_types">Type:</label>
<select class="form-control-sm" name='post_type' id="post_types" required>
<option value=''></option>
</select>
<div class=form-group>
<label class="form-control-sm" for="post_topic">Subject: </label>
<input class="form-control-sm ui-widget" id="post_topic" name="post_topic"
placeholder='e.g. biology, psychology, economics...' required>
</div>
</div>
</div>
<div class="form-group form-horizontal">
<textarea class="form-control" name="post_body" id="new_post_textarea" rows="2"
cols="" placeholder='write post...' required></textarea>
</div>
<input class="form-control" type="submit" name="post" value="Post">
</form>
</div>
</div>
</div>
</div> -->
</div>
</div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery-1.12.4.js"></script>
<!-- <script src="assets/js/jquery-ui.min.js"></script> -->
<script src="assets/js/jquery-ui.js"></script>
<script src="assets/js/jquery.Jcrop.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/bs-init.js"></script>
<script src="assets/js/search.js"></script>
<script src="assets/js/subjects.js"></script>
<script src="assets/js/common_functions.js"></script>
<!-- <script src="assets/js/script.js"></script> -->
</body>
</html>