This commit is contained in:
2024-11-19 12:01:37 -05:00
parent 060b0a4a9b
commit 4cd7bbaab4
2 changed files with 148 additions and 4 deletions

View File

@@ -1,12 +1,13 @@
<!doctype html>
<link href="https://unpkg.com/tabulator-tables@6.3.0/dist/css/tabulator.min.css" rel="stylesheet">
<link href="https://unpkg.com/tabulator-tables@6.3.0/dist/css/tabulator.min.css" rel="stylesheet"></link>
<script type="text/javascript" src="https://unpkg.com/tabulator-tables@6.3.0/dist/js/tabulator.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<html>
<div id="example-table"></div>
</html>
@@ -46,7 +47,7 @@
/* Get data from the data.json endpoint in main.py, and then create a table */
$.getJSON("data.json", function(data) {
$.getJSON("/data.json", function(data) {
var table_data = data["result"]
console.log(table_data)