Spaces:
Running
Running
Update templates/results.html
Browse files- templates/results.html +3 -1
templates/results.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
</head>
|
9 |
<body class="bg-gray-100 min-h-screen p-8">
|
10 |
-
<div class="max-w-
|
11 |
<h1 class="text-2xl font-bold text-gray-800 mb-4">Parsed Results: {{ filename }}</h1>
|
12 |
<table class="w-full border-collapse">
|
13 |
<thead>
|
@@ -15,6 +15,7 @@
|
|
15 |
<th class="p-3 text-left">Part</th>
|
16 |
<th class="p-3 text-left">Category</th>
|
17 |
<th class="p-3 text-left">Location</th>
|
|
|
18 |
<th class="p-3 text-left">Source</th>
|
19 |
</tr>
|
20 |
</thead>
|
@@ -24,6 +25,7 @@
|
|
24 |
<td class="p-3">{{ part.index }}</td>
|
25 |
<td class="p-3">{{ part.category }}</td>
|
26 |
<td class="p-3">Lines {{ part.location[0] }} to {{ part.location[1] }}</td>
|
|
|
27 |
<td class="p-3">
|
28 |
<pre class="text-sm" style="margin-left: {{ part.level * 1.5 }}rem;">{{ part.source }}</pre>
|
29 |
</td>
|
|
|
7 |
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
</head>
|
9 |
<body class="bg-gray-100 min-h-screen p-8">
|
10 |
+
<div class="max-w-5xl mx-auto bg-white p-6 rounded-lg shadow-lg">
|
11 |
<h1 class="text-2xl font-bold text-gray-800 mb-4">Parsed Results: {{ filename }}</h1>
|
12 |
<table class="w-full border-collapse">
|
13 |
<thead>
|
|
|
15 |
<th class="p-3 text-left">Part</th>
|
16 |
<th class="p-3 text-left">Category</th>
|
17 |
<th class="p-3 text-left">Location</th>
|
18 |
+
<th class="p-3 text-left">Vector</th>
|
19 |
<th class="p-3 text-left">Source</th>
|
20 |
</tr>
|
21 |
</thead>
|
|
|
25 |
<td class="p-3">{{ part.index }}</td>
|
26 |
<td class="p-3">{{ part.category }}</td>
|
27 |
<td class="p-3">Lines {{ part.location[0] }} to {{ part.location[1] }}</td>
|
28 |
+
<td class="p-3">{{ part.vector|join(', ') }}</td>
|
29 |
<td class="p-3">
|
30 |
<pre class="text-sm" style="margin-left: {{ part.level * 1.5 }}rem;">{{ part.source }}</pre>
|
31 |
</td>
|