aboutsummaryrefslogtreecommitdiffstats
path: root/Web/Server/templates/index.html
blob: 6f7e7382414b9269aea2b85426a6917c1647b4cb (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
{% extends "base.html" %}

{% block content %}
	<div id="upload">
		<h2>Upload a python file onto the inverted pendulum</h2>
		<p>
			{% if error %}
				<h2>{{ error }}</h2>
			{% endif %}
		</p>
	
		<form method="post" action="/upload" enctype="multipart/form-data">
			<dl>
				<p>
					<input id="choose_file" type="file" name="file" autocomplete="off" required>
				</p>
			</dl>
			<p>
				<input id="submit" type="submit" value="Submit"> <!-- onclick="showLoad()"> -->
			</p>
		</form>
	</div>
	
	<div id="running"></div>

{% endblock %}