From 68437370162a9eec5b321da3fa17f56f013b3e50 Mon Sep 17 00:00:00 2001 From: FluffyCube9343 Date: Sat, 12 Nov 2022 15:45:52 -0500 Subject: [PATCH] carry over chanegs to other boxes --- app.py | 13 +------------ templates/base.html | 45 ++++++++++++++++++++++++++++----------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/app.py b/app.py index 2170313..e7236b4 100644 --- a/app.py +++ b/app.py @@ -2,7 +2,6 @@ from flask import Flask, render_template, request from flask_assets import Bundle, Environment -import jyserver.Flask as jsf app = Flask(__name__) @@ -12,20 +11,10 @@ css = Bundle("src/main.css", output="dist/main.css") assets.register("css", css) css.build() -@jsf.use(app) -class App: - def __init__(self) -> None: - pass - - def printinput(self): - x = self.js.document.getElementById('userInput').value - print(x) - @app.route("/") def homepage(): - - return App.render(render_template("index.html")) + return render_template("index.html") @app.route("/base.html", methods =["GET", "POST"]) def sendData(): diff --git a/templates/base.html b/templates/base.html index f8da03f..541ddb1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -29,7 +29,6 @@ />

360

-

360

- - - + + + + +

Deg

+
+ + + +

Deg