Spaces:
Running
Running
Update templates/results.html
Browse files- templates/results.html +5 -1
templates/results.html
CHANGED
@@ -7,13 +7,15 @@
|
|
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>
|
14 |
<tr class="bg-gray-200">
|
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>
|
@@ -24,6 +26,8 @@
|
|
24 |
<tr class="border-b hover:bg-gray-50">
|
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">
|
|
|
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-7xl 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>
|
14 |
<tr class="bg-gray-200">
|
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">Node ID</th>
|
18 |
+
<th class="p-3 text-left">Parent Path</th>
|
19 |
<th class="p-3 text-left">Location</th>
|
20 |
<th class="p-3 text-left">Vector</th>
|
21 |
<th class="p-3 text-left">Source</th>
|
|
|
26 |
<tr class="border-b hover:bg-gray-50">
|
27 |
<td class="p-3">{{ part.index }}</td>
|
28 |
<td class="p-3">{{ part.category }}</td>
|
29 |
+
<td class="p-3">{{ part.node_id or '-' }}</td>
|
30 |
+
<td class="p-3">{{ part.parent_path }}</td>
|
31 |
<td class="p-3">Lines {{ part.location[0] }} to {{ part.location[1] }}</td>
|
32 |
<td class="p-3">{{ part.vector|join(', ') }}</td>
|
33 |
<td class="p-3">
|