-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLibraryPage.html
More file actions
180 lines (172 loc) · 9.7 KB
/
LibraryPage.html
File metadata and controls
180 lines (172 loc) · 9.7 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
169
170
171
172
173
174
175
176
177
178
179
180
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Library</title>
<link rel="stylesheet" href="LibraryStyle.css">
<script src="jquery-3.3.1.min.js"></script>
<script src="colResizable-1.6.min.js"></script>
<script src="colResizable-1.6.js"></script>
</head>
<body id = "pageBody">
<div>
<h1 style="display: inline">Library: </h1>
<h1 style="display: inline" id="libraryTitle"></h1>
<a id="libraryIndex" style="display: none"></a>
<img src="icon-cropped.png" width="60" height="30" align="right"/>
</div>
<hr>
<div class="dropdown">
<span><h3>Settings</h3></span>
<div class="dropdown-content">
<p>Table Text Size: <input id="tableTextSize" type="number" style="width: 3em" value="12" /></p>
<p>Table Background Color: <input id="tableBackgroundColor" value="#ffffff" type="color" /></p>
<p>Table Hover Color: <input id="tableHoverColor" type="color" value="#dedede" /></p>
<p>Background Color: <input id="backgroundColor" type="color" value="#d6d6d6"/></p>
<p>
Font:
<select id="docFont" >
<option>Arial</option>
<option>Arial Black</option>
<option>Book Antiqua</option>
<option>Bookman</option>
<option>Comic Sans MS</option>
<option>Courier</option>
<option>Courier New</option>
<option>Garamond</option>
<option>Georgia</option>
<option>Helvetica</option>
<option>Impact</option>
<option>Lucida Console</option>
<option>Lucida Sans Unicode</option>
<option>Palatino</option>
<option>Palatino Linotype</option>
<option>Tahoma</option>
<option>Times</option>
<option>Times New Roman</option>
<option>Trebuchet MS</option>
<option>Verdana</option>
</select>
</p>
<p>Hover Preview Mode: <input id="hooverBool" type="checkbox" value="hoover" /></p>
<p id="LoadTitle">Download PMIDS:<br /><button id="downloadButton">Download</button></p>
<p id="LoadTitle">Download Citations:<br /><button id="downloadCitations">Download</button>
<select id="citationFormat">
<option>RIS</option>
<option>CSL</option>
<option>MEDLINE</option>
<option>JSON</option>
</select></p>
<p id="LoadTitle">Upload Library:<br>
<button id=uploadWrap>Upload<input type="file" id="uploadButton" name="files[]" /></button></p>
</div>
</div>
<hr>
<div>
<h3>Search PubMed</h3>
<!--<input type="text" id="SearchPubMed" size="100" onkeydown="getSearchPapers()" /><br />-->
<input type="text" size="100" id="SearchPubMed" /><br />
Max Search Size: <input type="number" id="maxSearchSize" value="30" style="width: 3em" />
<button id ="clearSearchTableButton">Clear</button><br />
Search Search: <input id="filterSearch" type="text" size="100" />
<input id="filterSearchRegExBool" type="checkbox" /> Regular Expression
<input id="filterSearchByField" type="checkbox" /> By Field<br />
<p id="singleLineSearchResult" style="display: none">Some text here</p>
<table id="Search" width="100%" border="0" cellpadding="0">
<tr class="searchHeader">
<th style="width: 2%;"></th>
<th id="SearchPMID" style="width: 6%;">PMID</th>
<th id="SearchAuthors" style="width: 15%;">Authors</th>
<th id="SearchTitle" style="width: 25%;">Title</th>
<th id="SearchJournalAbv" style="width: 15%;">Journal (Abv)</th>
<th id="SearchYear" style="width: 5%;">Year</th>
<th id="SearchVolume" style="width: 5%;">Volume</th>
<th id="SearchIssue" style="width: 5%;">Issue</th>
<th id="SearchPage" style="width: 8%;">Page</th>
<th id="SearchMonth" style="width: 4%;">Month</th>
<th id="SearchAbstract" style="width: 5%;">Abstract</th>
<th id="SearchJournalFull" style="width: 5%;">Journal</th>
</tr>
</table>
</div>
<hr>
<div>
<h3>Library</h3>
Search Library: <input id="filterLibrary" type="text" size="100" />
<input id="filterLibraryRegExBool" type="checkbox" /> Regular Expression
<input id="filterLibraryByField" type="checkbox" /> By Field <br />
<table id="Library" border="0" cellpadding="0">
<tr class="searchHeader">
<th style="width: 2%;"></th>
<th id="LibraryTag" style="width: 2%;">Tag</th>
<th id="LibraryPMID" style="width: 6%;">PMID</th>
<th id="LibraryAuthors" style="width: 15%;">Authors</th>
<th id="LibraryTitle" style="width: 25%;">Title</th>
<th id="LibraryJournalAbv" style="width: 15%;">Journal (Abv)</th>
<th id="LibraryYear" style="width: 5%;">Year</th>
<th id="LibraryVolume" style="width: 5%;">Volume</th>
<th id="LibraryIssue" style="width: 5%;">Issue</th>
<th id="LibraryPage" style="width: 6%;">Page</th>
<th id="LibraryMonth" style="width: 4%;">Month</th>
<th id="LibraryAbstract" style="width: 4%;">Abstract</th>
<th id="LibraryJournalFull" style="width: 5%;">Journal</th>
</tr>
</table>
</div>
<hr>
<div>
<h3>Recommendations</h3>
Max number of recommendations: <input type="number" id="maxRecSize" value="30" style="width: 3em"/>
<button id="getRArticles">Get Articles</button>
<button id="getRReviews">Get Reviews</button>
<button id="clearRTable">Clear</button><br />
Search Recommendations: <input id="filterRecommendations" type="text" size="100" />
<input id="filterRecommendationsRegExBool" type="checkbox" /> Regular Expression
<input id="filterRecommendationsByField" type="checkbox" /> By Field <br />
<table id="Recommendations" border="0" cellpadding="0">
<tr class="searchHeader">
<th style="width: 2%;"></th>
<th id="RecommendationsCount" style="width: 2%;">Count</th>
<th id="RecommendationsPMID" style="width: 6%;">PMID</th>
<th id="RecommendationsAuthors" style="width: 15%;">Authors</th>
<th id="RecommendationsTitle" style="width: 20%;">Title</th>
<th id="RecommendationsJournalAbv" style="width: 15%;">Journal (Abv)</th>
<th id="RecommendationsYear" style="width: 5%;">Year</th>
<th id="RecommendationsVolume" style="width: 5%;">Volume</th>
<th id="RecommendationsIssue" style="width: 5%;">Issue</th>
<th id="RecommendationsPage" style="width: 8%;">Page</th>
<th id="RecommendationsMonth" style="width: 4%;">Month</th>
<th id="RecommendationsAbstract" style="width: 4%;">Abstract</th>
<th id="RecommendationsJournalFull" style="width: 4%;">Journal</th>
<th style="width: 2%;"></th>
</tr>
</table>
</div>
<hr>
<button id="toggleRemoved">Show/Hide Suspended Papers</button>
<div id="removedDiv" style="display: none">
<h3>Papers Removed from Suggestions</h3>
Search Removed: <input id="filterRemoved" type="text" size="100" />
<input id="filterRemovedRegExBool" type="checkbox" /> Regular Expression
<input id="filterRemovedByField" type="checkbox" /> By Field <br />
<table id="Removed" width="100%" border="0" cellpadding="0">
<tr class="searchHeader">
<th style="width: 2%;"></th>
<th id="RemovedPMID" style="width: 6%;">PMID</th>
<th id="RemovedAuthors" style="width: 15%;">Authors</th>
<th id="RemovedTitle" style="width: 20%;">Title</th>
<th id="RemovedJournalAbv" style="width: 15%;">Journal (Abv)</th>
<th id="RemovedYear" style="width: 5%;">Year</th>
<th id="RemovedVolume" style="width: 5%;">Volume</th>
<th id="RemovedIssue" style="width: 5%;">Issue</th>
<th id="RemovedPage" style="width: 8%;">Page</th>
<th id="RemovedMonth" style="width: 4%;">Month</th>
<th id="RemovedAbstract" style="width: 4%;">Abstract</th>
<th id="RemovedJournalFull" style="width: 4%;">Journal</th>
</tr>
</table>
</div>
<hr>
<script src="LibraryPage.js"></script>
<script src="actionButtons.js"></script>
</body>
</html>