-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
222 lines (207 loc) · 10.5 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta id='version' data-version="2017121301">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <meta name="google-signin-client_id" content="990871840937-btpurlb8hetgq2fpno01rg7l86d0ln4j.apps.googleusercontent.com"> -->
<title>topConference</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link href="css/font-awesome.min.css" rel="stylesheet">
<!-- Compiled and minified CSS -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css"> -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid fixed-top bg-light" id="navContainer">
<div class="d-flex justify-content-start navbar-expand-lg navbar-light bg-light text-center p-2">
<a class="d-flex navbar-brand text-dark" href=""> topConference</a>
<input class="d-flex form-control w-50 ml-5" placeholder="search ..." aria-label="search ..." id="searchInput">
</div>
</div>
<!-- mainDiv -->
<div class="container" id="mainDiv">
<div class="row">
<div class="col col-lg-8 col-sm-12" id="leftDiv">
<div id="confs">
<template id="confTemplate">
<div class="conference conf row my-3 {{display}}" data-topic="{{topic}}" data-deadline="{{deadline}}" data-url="{{url}}" data-address="{{address}}"
data-img="{{img}}" data-h5index="{{h5index}}" data-start_date="{{start_date}}" data-end_date="{{end_date}}" >
<div class="col col-3 d-none d-md-flex vertical-align">
<img src="{{img}}" alt="..." class="">
</div>
<div class="col">
<div class="row">
<div class="col">
<a href="{{url}}" target="_blank" class="topic text-primary mt-2">{{topic}}</a>
</div>
</div>
<div class="row nopadding my-2">
<div class="col col-md-5 d-none d-md-block">
<text class="date">{{start_date}} - {{end_date}}</text>
</div>
<div class="col col-md-4">
<div class=" text-truncate addressp" ><text class="address">{{address}}</text></div>
<!-- <div class=" text-truncate address">{{address}}</div> -->
</div>
<div class="col col-md-3">
<text class="deadline ">{{deadline}}</text>
</div>
</div>
</div>
<div class="d-none trigger" data-toggle="modal" data-target="#confModal">
</div>
</div>
</template>
</div>
<!-- <div id="leftDivEnd" class="d-none"></div> -->
</div>
<!-- my conference -->
<div class="col col-4 d-none d-md-block" id="rightDiv">
<div class="card card-default h-50">
<div class="card-header">
<div class="row px-2">
<input class="col form-control mx-auto" placeholder="my conference" aria-label="my conference" id="mySearchInput">
<button class="btn btn-outline-primary ml-2 fa fa-plus my-auto" id="addMyConfBtn" data-toggle="modal" data-target="#confModal"></button>
<button class="btn btn-secondary ml-2 fa fa-sign-out my-auto d-none" id="logOutBtn"></button>
</div>
</div>
<div class="card-body scrollable" id="myConfs">
<template id="myConfTemplate">
<div class="conference conf myConf row p-2" data-topic="{{topic}}" data-deadline="{{deadline}}" data-url="{{url}}" data-address="{{address}}"
data-img="{{img}}" data-h5index="{{h5index}}" data-start_date="{{start_date}}" data-end_date="{{end_date}}"
data-remark="{{remark}}" data-toggle="modal" data-target="#confModal">
<div class="col-8 text-info text-truncate nopadding topic">{{topic}}</div>
<!-- <div class="col ml-auto text-truncate">{{start_date} {{end-data}}</div> -->
<div class="col text-truncate nopadding address ">{{address}}</div>
<div class="col-12 text-truncate nopadding deadline2">{{deadline2}}</div>
<!-- <i class="delete fa fa-plus-circle fa-2x"></i> -->
</div>
</template>
<div id="noConf" class="vertical-align d-none">
<h1 class="text-secondary mx-auto mt-5">no conferences</h1>
</div>
<form class="px-3 pt-4 d-none" id="logInForm">
<div class="collapse" id="emailCollapse">
<div class="input-group">
<span class="input-group-addon">
<i class="fa fa-envelope"></i>
</span>
<input type="Email" class="form-control email" placeholder="Email">
</div>
</div>
<div class="input-group pt-2">
<span class="input-group-addon">
<i class="fa fa-user"></i>
</span>
<input type="Username" class="form-control username" placeholder="Username">
</div>
<div class="input-group pt-2">
<span class="input-group-addon">
<i class="fa fa-lock"></i>
</span>
<input type="password" class="form-control password" placeholder="Password">
</div>
<div class="input-group pt-2">
<button type="submit" class="btn btn-primary btn-block" id="logInBtn">Log in
<i class="fa fa-sign-in"></i>
</button>
</div>
<div class="text-primary" id="toggleBtn" data-toggle="collapse" data-target="#emailCollapse" aria-expanded="false" aria-controls="emailCollapse">signup | login</div>
<!-- <span class="text-secondary">Forget password</span> -->
</form>
</div>
<!-- cardbody -->
<!-- <div class="map" id="mapDiv"> -->
<!-- <div id="floating-panel" hidden>
<input id="address" type="textbox" hidden>
<input id="submit" type="button" hidden>
</div> -->
</div>
<div id="map"></div>
</div>
<!-- card -->
</div>
<!-- rightslide -->
</div>
<!-- row -->
</div>
<!-- container -->
<!-- modal -->
<div class="modal fade" id="confModal" tabindex="-1" role="dialog" aria-labelledby="confModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<!-- todo omit -->
<h5 class="modal-title text-truncate">topic</h5>
<button type="button" class="close fa fa-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body pb-1">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<label class="col-form-label topic">topic</label>
<input type="text" class="form-control topic"></input>
</div>
<div class="col-6">
<label class="col-form-label start_date">start_date</label>
<input type="text" class="form-control start_date"></input>
</div>
<div class="col-6">
<label class="col-form-label end_date ">end_date</label>
<input type="text" class="form-control end_date">
</div>
<div class="col-6">
<label class="col-form-label deadline">deadline</label>
<input type="text" class="form-control deadline">
</div>
<div class="col-6">
<label class="col-form-label address">address</label>
<input type="text" class="form-control address">
</div>
<div class="col-12">
<label class="col-form-label url">url</label>
<input type="text" class="form-control url">
</div>
<div class="col-12">
<label class="col-form-label extra">remark</label>
<textarea type="text" class="form-control remark"></textarea>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary add fa fa-plus-circle" id="addBtn" data-dismiss="modal"> add</button>
<button class="btn btn-outline-primary addCal fa fa-calendar" disabled id="addCalBtn" data-dismiss="modal"> add to calendar</button>
<button class="btn btn-danger delete fa fa-trash-o" id="delBtn" data-dismiss="modal"> delete</button>
<button class="btn btn-info update fa fa-save " id="updateBtn" data-dismiss="modal"> update</button>
<!-- <button class="btn btn-secondary fa fa-ban" data-dismiss="modal"> cancel</button> -->
</div>
</div>
</div>
</div>
</div>
<!-- modal -->
<div class="back-to-top d-none" id="back-to-top" style="display: block;">
<i class="fa fa-arrow-up"></i>
</div>
<div class="alert alert-light text-success" role="alert" id="calAlert"></div>
<div class="alert alert-light text-primary" role="alert" id="primaryAlert"></div>
<div class="alert alert-light text-danger" role="alert" id="dangerAlert"></div>
<div class="alert alert-light text-info" role="alert" id="infoAlert"></div>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/mustache.min.js"></script>
<!-- <script src="https://apis.google.com/js/platform.js" async defer></script> -->
<script src="js/bootstrap.min.js"></script>
<!-- Compiled and minified JavaScript -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script> -->
<!-- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBPwfIMmm-KURsXOU6EaS6RN04c7mLNDNk"></script> -->
<!-- <script src="https://apis.google.com/js/api.js"></script> -->
<script src="js/map.js"></script>
<script src="js/cal.js"></script>
<script src="js/main.js"></script>
<!-- use onload is really slow -->
<!-- <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBPwfIMmm-KURsXOU6EaS6RN04c7mLNDNk&callback=initMap"></script>
<script async defer src="https://apis.google.com/js/api.js" onload="this.onload=function(){};handleClientLoad()" onreadystatechange="if (this.readyState === 'complete') this.onload()"> -->
</body>
</html>