Commit daf38009 authored by Kristian Tan's avatar Kristian Tan

Added header to html and suppressed GPIO warninn]g

parent d77da3bb
...@@ -3,6 +3,7 @@ import RPi.GPIO as GPIO ...@@ -3,6 +3,7 @@ import RPi.GPIO as GPIO
app = Flask(__name__) app = Flask(__name__)
GPIO.setmode(GPIO.BCM) GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
# Create dictionary to store pin info # Create dictionary to store pin info
pins = { pins = {
......
body { body {
background-color: aqua; background-color: aqua;
}
.heading {
text-decoration: underline;
} }
\ No newline at end of file
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
</head> </head>
<div class="heading">
<h1 >IoT Smart Meter and Lighting Control</h1>
</div>
<body> <body>
<h1>Device Listing and Status</h1> <h1>Device Listing and Status</h1>
......
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