broadfield-dev commited on
Commit
2fb5c70
·
verified ·
1 Parent(s): ae0aada

Update templates/results_partial.html

Browse files
Files changed (1) hide show
  1. templates/results_partial.html +1 -9
templates/results_partial.html CHANGED
@@ -45,14 +45,6 @@
45
  <pre class="bg-gray-900 p-4 rounded-lg text-gray-300 text-sm">{{ reconstructed_code }}</pre>
46
  </div>
47
  <div class="mt-4 space-x-4">
48
- <button onclick="togglePointCloud()" class="bg-blue-500 text-white py-2 px-4 rounded-lg hover:bg-blue-600 transition">Toggle 3D Point Cloud</button>
49
  <button hx-post="/export_json" hx-headers='{"Content-Type": "application/json"}' hx-swap="none" hx-vals='{"parts": {{ parts|tojson|safe }}}' class="bg-green-500 text-white py-2 px-4 rounded-lg hover:bg-green-600 transition">Export to JSON</button>
50
  </div>
51
- </div>
52
- <canvas id="point-cloud"></canvas>
53
- <div id="point-details" class="mt-4">
54
- <p class="text-gray-400">Hover over a point to see details</p>
55
- </div>
56
- <script>
57
- window.parts = {{ parts|tojson }};
58
- </script>
 
45
  <pre class="bg-gray-900 p-4 rounded-lg text-gray-300 text-sm">{{ reconstructed_code }}</pre>
46
  </div>
47
  <div class="mt-4 space-x-4">
 
48
  <button hx-post="/export_json" hx-headers='{"Content-Type": "application/json"}' hx-swap="none" hx-vals='{"parts": {{ parts|tojson|safe }}}' class="bg-green-500 text-white py-2 px-4 rounded-lg hover:bg-green-600 transition">Export to JSON</button>
49
  </div>
50
+ </div>