Spaces:
Sleeping
Sleeping
Upload document.html
Browse files- templates/document.html +31 -0
templates/document.html
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>{{ title }}</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/style.css">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
|
| 11 |
+
<nav>
|
| 12 |
+
<a href="/" class="brand">Semantic Search</a>
|
| 13 |
+
<a href="/">Search</a>
|
| 14 |
+
<a href="/dashboard">Dashboard</a>
|
| 15 |
+
</nav>
|
| 16 |
+
|
| 17 |
+
<main class="container">
|
| 18 |
+
<article class="document-view">
|
| 19 |
+
<div class="document-header">
|
| 20 |
+
<a class="back-link" href="javascript:history.back()">Back to results</a>
|
| 21 |
+
<div class="document-source">{{ source }}</div>
|
| 22 |
+
<h1>{{ title }}</h1>
|
| 23 |
+
<div class="document-path">{{ filepath }}</div>
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
<pre class="document-text">{{ text }}</pre>
|
| 27 |
+
</article>
|
| 28 |
+
</main>
|
| 29 |
+
|
| 30 |
+
</body>
|
| 31 |
+
</html>
|