template improved, using multiple .py files now

This commit is contained in:
Zachary Watts
2026-04-26 01:31:43 -04:00
parent 390f062e0a
commit f4d8511ab6
11 changed files with 310 additions and 389 deletions

6
app.py
View File

@@ -1,11 +1,11 @@
#!/usr/bin/python3
from ose import *
from main import *
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
htmlBody = returnSheets('test')
return render_template("sheet.html", htmlBody=htmlBody)
sheets = returnSheets('test')
return render_template("sheet.html", sheets=sheets)