-
Notifications
You must be signed in to change notification settings - Fork 0
/
papers_vague.html
279 lines (215 loc) · 9.59 KB
/
papers_vague.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<!-- External Javascript libs_ext -->
<script src="https://cdn.jsdelivr.net/npm/d3@5/dist/d3.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/handlebars@4.7.3/dist/handlebars.min.js"
integrity="sha256-/PJBs6QWvXijOFIX04kZpLb6ZtSQckdOIavLWKKOgXU=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/js/bootstrap.min.js"
integrity="sha256-WqU1JavFxSAMcLP2WIOI+GB2zWmShMI82mTpLDcqFUg=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/moment@2.24.0/min/moment.min.js"
integrity="sha256-4iQZ6BVL4qNKlQ27TExEhBN1HFPvAvAMbFavKKosSWQ=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/moment-timezone@0.5.28/builds/moment-timezone-with-data.min.js"
integrity="sha256-IWYg4uIC8/erItNXYvLtyYHioRi2zT1TFva8qaAU/ww=" crossorigin="anonymous"></script>
<!-- Library libs_ext -->
<script src="static/js/libs_ext/typeahead.bundle.js"></script>
<script src="static/js/tagEditor/jquery.caret.min.js"></script>
<script src="static/js/tagEditor/jquery.tag-editor.min.js"></script>
<!-- Internal Libs -->
<script src="static/js/data/api.js"></script>
<!-- External CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css"
integrity="sha256-YLGeXaapI0/5IgZopewRJcFXomhRMlYYjugPLSyNjTY=" crossorigin="anonymous">
<!-- External Fonts (no google for china) -->
<link href="static/css/Lato.css" rel="stylesheet" />
<link href="static/css/Exo.css" rel="stylesheet" />
<link href="static/css/Cuprum.css" rel="stylesheet" />
<link rel="stylesheet" href="static/css/main.css" />
<!-- <link rel="stylesheet" href="static/css/fa_regular.css"/>-->
<link rel="stylesheet" href="static/css/fa_solid.css" />
<link rel="stylesheet" href="static/css/lazy_load.css" />
<link rel="stylesheet" href="static/css/typeahead.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
<title>Machine Learning Simulation: Papers</title>
<link rel="icon" type="image/png" href="favicon.ico">
<!-- Google Analytics -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-GT7LEVW06Z"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-GT7LEVW06Z');
</script> -->
<!-- head block ends here-->
<!-- resources used in papers page -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.4.0/dist/umd/popper.min.js"></script>
<!-- tippy.js is used for creating tooltips-->
<script src="https://cdn.jsdelivr.net/npm/tippy.js@6/dist/tippy-bundle.umd.min.js"></script>
<script src="static/js/modules/icons.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<style>
.footer {
position: fixed;
bottom: 0px;
}
.red-hyper-link {
color: #ED1C24 !important;
}
</style>
</head>
<body>
<!-- NAV -->
<!-- add the below items to the "navigation_bar" list if those pages are needed; can't comment those out b/c jinja doesn't support comment
('index.html', 'Home'),
('papers.html', 'Advanced Search'),
('add_paper.html', 'Add Paper'),
('join_us.html', 'Join Us'),
('faq.html', 'FAQ')
-->
<nav class="navbar sticky-top navbar-expand-lg navbar-light" style="background-color: #EFECE5;" id="main-nav">
<div class="container">
<a class="navbar-brand" href="index.html">
<img class="logo" src="static/images/mls_logo_withfont.svg" style="width: 250px;"/>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse text-right flex-grow-1" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item ">
<a class="nav-link" href="index.html" style="font-family: 'Ubuntu', sans-serif;">Home</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="add_paper.html" style="font-family: 'Ubuntu', sans-serif;">Add Paper</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- User Overrides -->
<!-- top block ends here-->
<div class="container">
<!-- Tabs -->
<div class="tabs">
</div>
<!-- Content -->
<div class="content">
<div class="row p-3"></div>
<!-- title / nickname search input -->
<div class="row">
<div class="input-group col-10 col-md-11">
<input type="text" id="vagueSearchInput" class="form-control vagueSearchTypeahead"
onchange="setVagueSearchFilter()">
<button type="button" class="btn bg-transparent vagueSearchTypeahead_clear"
style="margin-left: -40px; z-index: 100;">
×
</button>
</div>
<div class="col-2 col-md-1">
<button class="btn btn-outline-secondary"
style="border-radius: 25px;"
data-tippy-content="Search"
onclick="setVagueSearchFilter()">
<div class="fas"></div>
</button>
</div>
</div>
<div class="row" style="padding-top: 10px;">
<div class="col-12 col-md-4">
<a class="red-hyper-link" href="papers.html">Advanced Search</a>
</div>
<div class="col-12 col-md-4">
<label style="width: 100%;">
Sort By
<select id="sortBySelector" style="width: 70%; border: 1px solid #ced4da; border-radius: .25rem;"
onChange="triggerFiltering()">
<option value=""></option>
<option value="Title">Title</option>
<option value="DateLatestToOldest">Date - Latest to Oldest</option>
<option value="DateOldestToLatest">Date - Oldest to Latest</option>
</select>
</label>
</div>
<div class="col-12 col-md-4">
<div class="float-right">
<div class="btn-group btn-group-toggle render_option" data-toggle="buttons">
<label class="btn btn-outline-secondary active" onclick="changeRenderMode('mini')">
<input type="radio" name="options" value="mini" autocomplete="off" />
mini
</label>
<label class="btn btn-outline-secondary active">
<input type="radio" name="options" value="compact" autocomplete="off" onclick="changeRenderMode('compact')"
checked />
compact
</label>
<label class="btn btn-outline-secondary">
<input type="radio" name="options" value="detail" autocomplete="off" onclick="changeRenderMode('detail')" />
detail
</label>
</div>
</div>
</div>
</div>
<div style="display: flex; flex-direction: row; justify-content: flex-start;">
<span id="displaying-number-of-papers-message" ></span>
<div class="button fas download-all-bibtex-icon"
style="padding-left: 10px; font-size: larger;"
data-tippy-content="Download all bibtex"
onclick="downloadAllBibtex()"></div>
</div>
<!-- Cards -->
<div class="cards row" style="padding-bottom: 15vh;"></div>
<!-- urlParams.js parses filter keyword from url -->
<script src="static/js/modules/urlParams.js"></script>
<!-- typeaheadSetup.js enables autocompleting -->
<script src="static/js/modules/typeaheadSetup.js"></script>
<!-- lazyload.js loads images lazily-->
<script src="static/js/modules/lazyLoad.js"></script>
<!-- persistor.js stores a dictionary in browser's local storage -->
<script src="static/js/data/persistor.js"></script>
<script src="static/js/data/FileSaver.js"></script>
<script src="static/js/views/view_utils.js"></script>
<script src="static/js/views/papers_vague.js"></script>
<script>
$(document).ready(function () {
tippy("[data-tippy-content]", { trigger: "mouseenter focus" });
start();
});
</script>
</div>
</div>
<!-- body block ends here-->
<!-- Footer -->
<footer class="footer"
style="background-color: #353535; width: 100%; height: 4vh; display: flex; justify-content: center; align-items: center; ">
<!-- no contents needed -->
</footer>
<!-- Code for hash tags -->
<script type="text/javascript">
$(document).ready(function () {
if (window.location.hash !== "") {
$(`a[href="${window.location.hash}"]`).tab("show");
}
$("a[data-toggle='tab']").on("shown.bs.tab", function (e) {
const hash = $(e.target).attr("href");
if (hash.substr(0, 1) === "#") {
const position = $(window).scrollTop();
window.location.replace(`#${hash.substr(1)}`);
$(window).scrollTop(position);
}
});
});
</script>
<!-- footer block ends here -->
</body>
</html>