diff options
author | Dat Nguyen <nguy2854@umn.edu> | 2019-12-02 11:58:10 -0600 |
---|---|---|
committer | Dat Nguyen <nguy2854@umn.edu> | 2019-12-02 11:58:10 -0600 |
commit | b81e8026cc0683bc66dc56d82cb88085224d0d74 (patch) | |
tree | 085a37bce21cddafc1b35b6ea6c713bcdbdac3d9 /Web/Server/templates/index.html | |
parent | adding github link (diff) | |
download | ee4511w-b81e8026cc0683bc66dc56d82cb88085224d0d74.tar ee4511w-b81e8026cc0683bc66dc56d82cb88085224d0d74.tar.gz ee4511w-b81e8026cc0683bc66dc56d82cb88085224d0d74.tar.bz2 ee4511w-b81e8026cc0683bc66dc56d82cb88085224d0d74.tar.lz ee4511w-b81e8026cc0683bc66dc56d82cb88085224d0d74.tar.xz ee4511w-b81e8026cc0683bc66dc56d82cb88085224d0d74.tar.zst ee4511w-b81e8026cc0683bc66dc56d82cb88085224d0d74.zip |
final styling?
Diffstat (limited to 'Web/Server/templates/index.html')
-rw-r--r-- | Web/Server/templates/index.html | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Web/Server/templates/index.html b/Web/Server/templates/index.html index 730d6c5..6f7e738 100644 --- a/Web/Server/templates/index.html +++ b/Web/Server/templates/index.html @@ -2,17 +2,11 @@ {% block content %} <div id="upload"> - <h2>Upload a python file onto the Inverted Pendulum</h2> + <h2>Upload a python file onto the inverted pendulum</h2> <p> - {% with messages = get_flashed_messages() %} - {% if messages %} - <ul class=flashes> - {% for message in messages %} - <li>{{ message }}</li> - {% endfor %} - </ul> + {% if error %} + <h2>{{ error }}</h2> {% endif %} - {% endwith %} </p> <form method="post" action="/upload" enctype="multipart/form-data"> @@ -22,11 +16,11 @@ </p> </dl> <p> - <input id="submit" type="submit" value="Submit" onclick="showLoad()"> + <input id="submit" type="submit" value="Submit"> <!-- onclick="showLoad()"> --> </p> </form> </div> - <div id="message"></div> + <div id="running"></div> {% endblock %} |