Commit 1d14a9d5 authored by Kristian Tan's avatar Kristian Tan

Removed redundencies

parent 7818f3c4
...@@ -59,16 +59,4 @@ body { ...@@ -59,16 +59,4 @@ body {
.chart_title { .chart_title {
text-decoration: underline; text-decoration: underline;
text-align: center; text-align: center;
}
.add_new_device_form {
width: 100%;
}
label{
width: 50%;
}
input {
width: 50%;
float: right;
} }
\ No newline at end of file
...@@ -38,13 +38,11 @@ ...@@ -38,13 +38,11 @@
{% endif %} {% endif %}
{% if display_new_device_form == True %} {% if display_new_device_form == True %}
<div class="add_new_device_form">
<form action="{{ url_for('handle_new_device') }}" method="post"> <form action="{{ url_for('handle_new_device') }}" method="post">
<label>New device name:</label> <input type="text" name="new_device_name" required> <br> <label>New device name:</label> <input type="text" name="new_device_name" required> <br>
<label>New device wattage:</label> <input type="number" name="new_device_wattage" required> <br> <label>New device wattage:</label> <input type="number" name="new_device_wattage" required> <br>
<input type="submit"> <input type="submit">
</form> </form>
</div>
{% endif %} {% endif %}
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment