46 lines
1.5 KiB
HTML
46 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Connected Papers</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
<script src="https://unpkg.com/vis-network@9.1.9/standalone/umd/vis-network.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<header>
|
|
<h1>Connected Papers</h1>
|
|
<form id="search-form">
|
|
<input type="text" id="search-input" placeholder="Search paper title, DOI, or arXiv ID..." autocomplete="off">
|
|
<button type="submit">Search</button>
|
|
</form>
|
|
</header>
|
|
|
|
<div id="status"></div>
|
|
|
|
<div id="help">
|
|
<p>
|
|
Search for a paper by title, DOI, or arXiv ID. Results are sorted by citation count (most cited first).
|
|
Click a result to load it in the center and see the papers it cites. Click any reference node for details,
|
|
then click <strong>Re-center</strong> (or double-click) to explore that paper's references.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="search-results" class="hidden">
|
|
<h2>Select a paper</h2>
|
|
<ul id="results-list"></ul>
|
|
</div>
|
|
|
|
<main id="graph-container"></main>
|
|
|
|
<aside id="info-panel" class="hidden">
|
|
<h2>Paper Details</h2>
|
|
<div id="info-content"></div>
|
|
</aside>
|
|
</div>
|
|
|
|
<script src="/static/app.js"></script>
|
|
</body>
|
|
</html>
|