mirror of
https://github.com/PotentiaRobotics/robot-gui.git
synced 2025-04-16 09:10:17 -04:00
confirm send
This commit is contained in:
parent
8b0248320d
commit
b0e895268d
3
app.py
3
app.py
|
@ -31,7 +31,8 @@ def sendData():
|
|||
rece=s.recv(1024)
|
||||
print("Received",rece)
|
||||
s.close()
|
||||
return render_template("index.html")
|
||||
rece = "Confirm Sent: "+rece.decode("ASCII")
|
||||
return render_template("index.html", conf=rece)
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(debug=True)
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
<title>Potentia Robotics GUI</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>{{ conf }}</p>
|
||||
<div class="main-container">
|
||||
<div class="main-element e1">
|
||||
<img
|
||||
|
|
Loading…
Reference in New Issue
Block a user