forked from BLE-LTER/Zotero-JavaScript-Search-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzotero.html
28 lines (28 loc) · 1.01 KB
/
zotero.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Demo Zotero Search</title>
<meta charset="utf-8" />
<script src="https://use.fontawesome.com/a989b590e9.js"></script>
<link href="search.css" rel="stylesheet" type="text/css">
<script src="cors.js"></script>
<script src="pagination.js"></script>
<script src="zotero.js"></script>
</head>
<body>
<p>Enter a search term, e.g., groundwater. The LTER group, with ID 2055673, will be searched.</p>
<form id="zoteroSearchForm" name="zoteroSearchForm">
<input class="search-input" name="q" placeholder="Enter search term" type="text"> <input type="submit" value="Search">
</form>
<div class="loading" id="loading-div">
<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
<span class="sr-only">Loading...</span>
</div>
<p>Search URL will be written below:</p>
<p id="searchUrl"></p>
<p>Search results will be written below:</p>
<div class="resultCount" id="resultCount"></div>
<div id="searchResults"></div>
<div class="pagination" id="pagination"></div>
</body>
</html>