aboutsummaryrefslogtreecommitdiffstats
path: root/src/views
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-02-22 18:13:53 -0600
committerMatt Strapp <matt@mattstrapp.net>2022-02-22 18:27:42 -0600
commit1e776b35bed788ad0c9332ac67b86b2ce4b9b826 (patch)
treea9b8dc73fced7d2160bd334da271ae04e0751dd5 /src/views
parentBump @typescript-eslint/eslint-plugin from 5.12.0 to 5.12.1 (#10) (diff)
downloadee4511w-web-1e776b35bed788ad0c9332ac67b86b2ce4b9b826.tar
ee4511w-web-1e776b35bed788ad0c9332ac67b86b2ce4b9b826.tar.gz
ee4511w-web-1e776b35bed788ad0c9332ac67b86b2ce4b9b826.tar.bz2
ee4511w-web-1e776b35bed788ad0c9332ac67b86b2ce4b9b826.tar.lz
ee4511w-web-1e776b35bed788ad0c9332ac67b86b2ce4b9b826.tar.xz
ee4511w-web-1e776b35bed788ad0c9332ac67b86b2ce4b9b826.tar.zst
ee4511w-web-1e776b35bed788ad0c9332ac67b86b2ce4b9b826.zip
Maybe add CSV support
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'src/views')
-rw-r--r--src/views/pages/index.ejs13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/views/pages/index.ejs b/src/views/pages/index.ejs
index 357baae..7c24e78 100644
--- a/src/views/pages/index.ejs
+++ b/src/views/pages/index.ejs
@@ -19,8 +19,12 @@
<h1>Please upload a Python file (.py file extension) to run on the Inverted Pendulum.</h1>
<h3>A heavily documented example can be <a href="public/example.py">found here</a>.</h3>
<h2>
+ <br />
<span class="error" id="upload-err"></span>
<span class="error" id="actuate-err"></span>
+ <br>
+ <div id="upload-response"></div>
+ <div id="actuate-response"></div>
</h2>
<form id="upload" enctype="multipart/form-data">
@@ -28,11 +32,12 @@
<input type="file" name="file" accept=".py" />
<br /> <br />
<label id="Start">Start pendulum: </label>
- <input type="submit" id="actuate_but" value="Actuate!" />
+ <input type="submit" id="actuate-but" value="Actuate!" />
</form>
- <h2>
- <div id="upload-response"></div>
- </h2>
+ <h3>
+ <span id="download-link"></span>
+ </h3>
+
</div>