File size: 14,447 Bytes
0a97af6 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Multilingual Paper Database</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<!-- <base href="/multilingual-paperbase/"> -->
</head>
<body>
<div class="container">
<header class="header">
<div class="header-content">
<h1 class="title">
<i class="fas fa-globe"></i>
Multilingual Paper Database
</h1>
<p class="subtitle">Filter and search through multilingual NLP research papers</p>
</div>
</header>
<main class="main-content">
<div class="search-section">
<div class="search-container">
<div class="search-stats">
<span id="resultCount">Loading papers...</span>
</div>
<div class="search-box">
<i class="fas fa-search search-icon"></i>
<input
type="text"
id="searchInput"
placeholder="Add keyword to search papers..."
class="search-input"
>
<button id="addSearchKeyword" class="add-keyword-btn search-add-btn" title="Add search keyword">
<i class="fas fa-plus"></i>
</button>
<button id="clearSearch" class="clear-btn" title="Clear all search keywords">
<i class="fas fa-times"></i>
</button>
</div>
<div class="search-keywords-container" id="searchKeywordsContainer">
<!-- Search keywords will be displayed here -->
</div>
</div>
<div class="search-container">
<div class="search-stats">
<span id="removeResultCount">All papers included</span>
</div>
<div class="search-box remove-search-box">
<i class="fas fa-minus-circle search-icon"></i>
<input
type="text"
id="removeSearchInput"
placeholder="Add keyword to remove papers..."
class="search-input"
>
<button id="addRemoveKeyword" class="add-keyword-btn" title="Add removal keyword">
<i class="fas fa-plus"></i>
</button>
<button id="clearRemoveSearch" class="clear-btn" title="Clear all removal keywords">
<i class="fas fa-times"></i>
</button>
</div>
<div class="remove-keywords-container" id="removeKeywordsContainer">
<!-- Removal keywords will be displayed here -->
</div>
</div>
</div>
<div class="filters-section">
<div class="year-filter">
<label class="filter-label">
<i class="fas fa-calendar-alt"></i>
Publication Year: <span id="yearRange">All Years</span>
</label>
<div class="year-input-container">
<div class="year-input-group">
<label for="yearInputMin">From:</label>
<input
type="number"
id="yearInputMin"
class="year-input"
min="1960"
max="2025"
value="1960"
placeholder="1960"
>
</div>
<div class="year-input-group">
<label for="yearInputMax">To:</label>
<input
type="number"
id="yearInputMax"
class="year-input"
min="1960"
max="2025"
value="2025"
placeholder="2025"
>
</div>
</div>
<button id="clearYearFilter" class="clear-year-btn" title="Clear year filter">
<i class="fas fa-times"></i>
Clear
</button>
</div>
<div class="conference-filter">
<label class="filter-label">
<i class="fas fa-building"></i>
Conference: <span id="conferenceCount">All Conferences</span>
<span class="conference-hint">(Hold Ctrl/Cmd to select multiple conferences)</span>
</label>
<div class="conference-select-container">
<select id="conferenceSelect" class="conference-select" multiple>
<!-- Conference options will be populated here -->
</select>
<div class="selected-conferences" id="selectedConferences">
<!-- Selected conferences will be displayed here -->
</div>
</div>
<button id="clearConferenceFilter" class="clear-conference-btn" title="Clear conference filter">
<i class="fas fa-times"></i>
Clear
</button>
</div>
<div class="abstract-filter">
<label class="filter-label">
<i class="fas fa-file-text"></i>
Missing Information Filter
</label>
<div class="abstract-filter-container">
<div class="filter-option">
<label class="checkbox-label">
<input type="checkbox" id="includeNoAbstract" checked>
<span class="checkmark"></span>
Include papers without abstracts
<span class="filter-info" id="abstractFilterInfo">(Showing all papers)</span>
</label>
</div>
<div class="filter-option">
<label class="checkbox-label">
<input type="checkbox" id="includeNoAuthor" checked>
<span class="checkmark"></span>
Include papers without author information
<span class="filter-info" id="authorFilterInfo">(Showing all papers)</span>
</label>
</div>
</div>
</div>
<div class="starred-filter">
<!-- <label class="filter-label">
<i class="fas fa-star"></i>
Starred Papers Filter
</label> -->
<!-- <div class="starred-filter-container"> -->
<div class="filter-option">
<label class="checkbox-label">
<input type="checkbox" id="showOnlyStarred">
<span class="checkmark"></span>
Show only starred papers
<span class="filter-info" id="starredFilterInfo">(Showing all papers)</span>
</label>
</div>
<!-- </div> -->
</div>
</div>
<div class="export-section">
<div class="export-container">
<h3 class="export-title">
<i class="fas fa-save"></i>
Save & Load Filters
</h3>
<div class="export-buttons">
<button id="saveStatus" class="export-btn save-btn" title="Save current filter status and results">
<i class="fas fa-download"></i>
Save Status
</button>
<button id="loadStatus" class="export-btn load-btn" title="Load previously saved filter status">
<i class="fas fa-upload"></i>
Load Status
</button>
<button id="exportBibTeX" class="export-btn export-bib-btn" title="Export current filtered results to BibTeX">
<i class="fas fa-file-export"></i>
Export BibTeX
</button>
<button id="exportStarred" class="export-btn export-starred-btn" title="Export starred papers to BibTeX">
<i class="fas fa-star"></i>
Export Starred (0)
</button>
</div>
</div>
<!-- <div class="export-info">
<p><i class="fas fa-info-circle"></i> Save current search filters and results to restore later, or export the filtered papers as BibTeX.</p>
</div> -->
</div>
<div class="pagination-section">
<div class="pagination-info">
<span id="paginationInfo">Showing 1-10 of 0 papers</span>
</div>
<div class="pagination-controls">
<button id="prevPage" class="pagination-btn" disabled>
<i class="fas fa-chevron-left"></i>
Previous
</button>
<div class="page-numbers" id="pageNumbers">
<!-- Page numbers will be generated here -->
</div>
<div class="page-input-container">
<label for="pageInput" class="page-input-label">Go to:</label>
<input
type="number"
id="pageInput"
class="page-input"
min="1"
placeholder="Page"
title="Enter page number"
>
<button id="goToPage" class="page-go-btn" title="Go to page">
<i class="fas fa-arrow-right"></i>
</button>
</div>
<button id="nextPage" class="pagination-btn" disabled>
Next
<i class="fas fa-chevron-right"></i>
</button>
</div>
</div>
<div class="papers-container">
<div id="papersList" class="papers-list">
<!-- Papers will be loaded here -->
</div>
<div id="loadingIndicator" class="loading">
<div class="spinner"></div>
<p>Loading papers...</p>
</div>
<div id="noResults" class="no-results" style="display: none;">
<i class="fas fa-search"></i>
<h3>No papers found</h3>
<p>Try adjusting your search terms or filters</p>
</div>
</div>
</main>
<footer class="footer">
<p>© 2025 Multilingual Paper Database</p>
</footer>
</div>
<!-- Paper Detail Modal -->
<div id="paperModal" class="modal">
<div class="modal-content">
<div class="modal-header">
<div class="modal-title-container">
<h2 id="modalTitle"></h2>
<button class="star-button" id="modalStarButton" title="Add to starred">
<i class="far fa-star"></i>
</button>
<button class="find-paper-btn" id="modalFindPaperButton" title="Search for this paper on Google">
<i class="fas fa-search"></i>
</button>
</div>
</div>
<div class="modal-body">
<div class="paper-details">
<div class="detail-section">
<h3><i class="fas fa-users"></i> Authors</h3>
<p id="modalAuthors"></p>
</div>
<div class="detail-section">
<h3><i class="fas fa-book"></i> Abstract</h3>
<p id="modalAbstract"></p>
</div>
<div class="detail-section">
<h3><i class="fas fa-calendar"></i> Year</h3>
<p id="modalYear"></p>
</div>
<div class="detail-section">
<h3><i class="fas fa-building"></i> Conference</h3>
<p id="modalConference"></p>
</div>
<div class="detail-section">
<h3><i class="fas fa-tags"></i> Keywords</h3>
<p id="modalKeywords"></p>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html> |