broadfield-dev commited on
Commit
43cb187
·
verified ·
1 Parent(s): c1b4e6f

Update templates/results_partial.html

Browse files
Files changed (1) hide show
  1. templates/results_partial.html +4 -0
templates/results_partial.html CHANGED
@@ -10,6 +10,8 @@
10
  <th class="p-4 text-left font-semibold">Parent Path</th>
11
  <th class="p-4 text-left font-semibold">Level</th>
12
  <th class="p-4 text-left font-semibold">Location</th>
 
 
13
  <th class="p-4 text-left font-semibold">Vector</th>
14
  <th class="p-4 text-left font-semibold">Source</th>
15
  </tr>
@@ -23,6 +25,8 @@
23
  <td class="p-4">{{ part.parent_path }}</td>
24
  <td class="p-4">{{ part.level }}</td>
25
  <td class="p-4">Lines {{ part.location[0] }} to {{ part.location[1] }}</td>
 
 
26
  <td class="p-4">[{{ part.vector|join(', ') }}]</td>
27
  <td class="p-4">
28
  <pre class="text-xs text-gray-300" style="margin-left: {{ part.level * 1.5 }}rem;">{{ part.source }}</pre>
 
10
  <th class="p-4 text-left font-semibold">Parent Path</th>
11
  <th class="p-4 text-left font-semibold">Level</th>
12
  <th class="p-4 text-left font-semibold">Location</th>
13
+ <th class="p-4 text-left font-semibold">Variable Role</th>
14
+ <th class="p-4 text-left font-semibold">Variable Name</th>
15
  <th class="p-4 text-left font-semibold">Vector</th>
16
  <th class="p-4 text-left font-semibold">Source</th>
17
  </tr>
 
25
  <td class="p-4">{{ part.parent_path }}</td>
26
  <td class="p-4">{{ part.level }}</td>
27
  <td class="p-4">Lines {{ part.location[0] }} to {{ part.location[1] }}</td>
28
+ <td class="p-4">{{ part.vector[6] | int == 0 ? '-' : ['Input', 'Assigned', 'Returned'][part.vector[6] - 1] or '-' }}</td>
29
+ <td class="p-4">{{ part.vector[7] | float | round(3) == 0 ? '-' : part.vector[7] | float | round(3) }}</td>
30
  <td class="p-4">[{{ part.vector|join(', ') }}]</td>
31
  <td class="p-4">
32
  <pre class="text-xs text-gray-300" style="margin-left: {{ part.level * 1.5 }}rem;">{{ part.source }}</pre>