blob: 8b5f0441e928bea5685a269b7fe88cbbc2ac921b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!DOCTYPE html>
<html lang="en">
<head>
<!-- HTML headers information -->
<%- include('../partials/head.ejs') %>
<script type="module" src="public/js/form.js" defer></script>
</head>
<body>
<!-- Get the navbar -->
<%- include('../partials/nav.ejs') %>
<br />
<h2>Please upload a Python file (.py file extension) to run on the Inverted Pendulum.</h2>
<br /> <br />
<form id="upload" enctype="multipart/form-data">
<input type="hidden" name="_csrf" value="<%= csrfToken %>">
<input type="file" name="file" accept=".py" />
<br /> <br />
<br /> <br />
<label id="Start">Start pendulum: </label>
<input type="submit" id="actuate_but" value="Actuate!" />
</form>
</body>
</html>
|