confirm send

This commit is contained in:
FluffyCube9343 2022-11-12 15:42:58 -05:00
parent 8b0248320d
commit b0e895268d
2 changed files with 3 additions and 1 deletions

3
app.py
View File

@ -31,7 +31,8 @@ def sendData():
rece=s.recv(1024) rece=s.recv(1024)
print("Received",rece) print("Received",rece)
s.close() s.close()
return render_template("index.html") rece = "Confirm Sent: "+rece.decode("ASCII")
return render_template("index.html", conf=rece)
if __name__ == "__main__": if __name__ == "__main__":
app.run(debug=True) app.run(debug=True)

View File

@ -12,6 +12,7 @@
<title>Potentia Robotics GUI</title> <title>Potentia Robotics GUI</title>
</head> </head>
<body> <body>
<p>{{ conf }}</p>
<div class="main-container"> <div class="main-container">
<div class="main-element e1"> <div class="main-element e1">
<img <img