mirror of
https://github.com/PotentiaRobotics/robot-gui.git
synced 2025-04-18 18: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)
|
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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user