Bare bones backend. Frontend just starting.

This commit is contained in:
Ryan Pandya
2023-05-02 11:29:10 -07:00
parent ed30556bd3
commit aed2080b53
24 changed files with 982 additions and 101 deletions
+26
View File
@@ -0,0 +1,26 @@
{% extends "layout.html" %}
{% block content %}
<div id="container"></div>
<script language="javascript">
const container = document.querySelector('#container');
const data = [
{ id: 1, name: 'Ted Right', address: '' },
{ id: 2, name: 'Frank Honest', address: '' },
{ id: 3, name: 'Joan Well', address: '' },
{ id: 4, name: 'Gail Polite', address: '' },
{ id: 5, name: 'Michael Fair', address: '' },
];
const hot = new Handsontable(container, {
data,
colHeaders: false,
height: 'auto',
width: 'auto',
minSpareRows: 1,
licenseKey: 'non-commercial-and-evaluation'
});
</script>
{% endblock %}