diff --git a/app.py b/app.py index bdcfb4a..fc7bde9 100644 --- a/app.py +++ b/app.py @@ -48,4 +48,21 @@ def delete_compito(id): return jsonify(ciscomerda), 200 return jsonify([]), 404 +@app.route("/ui") +def web_ui(): + # Tabella compiti + html = "" + for ciscomerda in compiti: + html += "" + html += f"" + html += "" + html += "
{ciscomerda["descrizione"]}
" + + html += "
" + html += "" + html += "" + html += "
" + + return html, 200 + app.run("0.0.0.0")