Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IoTSmartMeter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kristian.tan
IoTSmartMeter
Commits
1d14a9d5
Commit
1d14a9d5
authored
Nov 14, 2019
by
Kristian Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed redundencies
parent
7818f3c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
main.css
static/css/main.css
+0
-12
main.html
templates/main.html
+0
-2
No files found.
static/css/main.css
View file @
1d14a9d5
...
@@ -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
templates/main.html
View file @
1d14a9d5
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment