broadfield-dev commited on
Commit
67bdade
·
verified ·
1 Parent(s): 5859778

Update templates/results.html

Browse files
Files changed (1) hide show
  1. templates/results.html +7 -8
templates/results.html CHANGED
@@ -6,13 +6,8 @@
6
  <title>Parsed Results - {{ filename }}</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <style>
9
- .table-container {
10
- overflow-x: auto;
11
- }
12
- pre {
13
- white-space: pre-wrap;
14
- word-wrap: break-word;
15
- }
16
  </style>
17
  </head>
18
  <body class="bg-gray-900 text-gray-200 min-h-screen p-8 font-sans">
@@ -37,7 +32,7 @@
37
  <tr class="border-b border-gray-700 hover:bg-gray-600 transition-colors">
38
  <td class="p-4">{{ part.index }}</td>
39
  <td class="p-4">{{ part.category }}</td>
40
- <td class="p-4">{{ part.node_id or '-' }}</td>
41
  <td class="p-4">{{ part.parent_path }}</td>
42
  <td class="p-4">{{ part.level }}</td>
43
  <td class="p-4">Lines {{ part.location[0] }} to {{ part.location[1] }}</td>
@@ -50,6 +45,10 @@
50
  </tbody>
51
  </table>
52
  </div>
 
 
 
 
53
  <a href="/" class="mt-6 inline-block bg-blue-500 text-white py-2 px-4 rounded-lg hover:bg-blue-600 transition-colors">Back to Upload</a>
54
  </div>
55
  </body>
 
6
  <title>Parsed Results - {{ filename }}</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <style>
9
+ .table-container { overflow-x: auto; }
10
+ pre { white-space: pre-wrap; word-wrap: break-word; }
 
 
 
 
 
11
  </style>
12
  </head>
13
  <body class="bg-gray-900 text-gray-200 min-h-screen p-8 font-sans">
 
32
  <tr class="border-b border-gray-700 hover:bg-gray-600 transition-colors">
33
  <td class="p-4">{{ part.index }}</td>
34
  <td class="p-4">{{ part.category }}</td>
35
+ <td class="p-4">{{ part.node_id }}</td>
36
  <td class="p-4">{{ part.parent_path }}</td>
37
  <td class="p-4">{{ part.level }}</td>
38
  <td class="p-4">Lines {{ part.location[0] }} to {{ part.location[1] }}</td>
 
45
  </tbody>
46
  </table>
47
  </div>
48
+ <div class="mt-8">
49
+ <h2 class="text-2xl font-bold text-blue-400 mb-4">Reconstructed Code</h2>
50
+ <pre class="bg-gray-900 p-4 rounded-lg text-gray-300 text-sm">{{ reconstructed_code }}</pre>
51
+ </div>
52
  <a href="/" class="mt-6 inline-block bg-blue-500 text-white py-2 px-4 rounded-lg hover:bg-blue-600 transition-colors">Back to Upload</a>
53
  </div>
54
  </body>