Commit 0f9575ae authored by Antek Grzanka's avatar Antek Grzanka

Add Klaudia's widget design.

parent c1249436
...@@ -5,10 +5,11 @@ ...@@ -5,10 +5,11 @@
<style> <style>
body { body {
background: #FFFFFF; background: #FFFFFF;
font-size: 1rem; font-size: 0.75rem;
font-family: "Open Sans","Arial","sans-serif"; font-family: "Open Sans","Arial","sans-serif";
color: #003f65; color: #003f65;
width: 370px; font-weight: bold;
width: 350px;
padding: 1px; padding: 1px;
} }
...@@ -16,7 +17,6 @@ ...@@ -16,7 +17,6 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
padding: 1px; padding: 1px;
} }
#left-side { #left-side {
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
padding: 1px; padding: 1px;
} }
</style> </style>
</head>
<body> <body>
<div id="main-box"> <div id="main-box">
...@@ -43,27 +43,26 @@ ...@@ -43,27 +43,26 @@
Aktualny stan powietrza: Aktualny stan powietrza:
</div> </div>
<div id="right-side"> <div id="right-side">
<img src="http://www.free-icons-download.net/images/building-icons-68722.png" width="10%" height="10%"> <img src="http://www.free-icons-download.net/images/building-icons-68722.png" width="10%" height="10%">
<select id="select-station" style="float: right; display: center; font-weight: normal;"> <select id="select-station" style="float: right; display: center; font-weight: bold;">
<option value="1">ul. Bujaka</option> <option value="1">ul. Bujaka</option>
<option value="2">ul. Bulwarowa</option> <option value="2">ul. Bulwarowa</option>
<option value="3">ul. Złoty Róg</option> <option value="3">ul. Złoty Róg</option>
<option value="4">Al. Krasińskiego</option> <option value="4">Al. Krasińskiego</option>
<option value="5">os. Piastów</option> <option value="5">os. Piastów</option>
<option value="6">ul. Dietla</option> <option value="6">ul. Dietla</option>
</select> </select>
<div id="value-id" style="padding: center;font-size: 0.7rem">
µg/m³
</div>
</div> <div id="value-id" style="padding: center;font-size: 0.7rem; text-indent: 6rem;">
µg/m³
</div>
</div>
</body> </body>
</html> </html>
<script> <script>
......
...@@ -63,6 +63,9 @@ def make_app(): ...@@ -63,6 +63,9 @@ def make_app():
(r"/view", MainHandler), (r"/view", MainHandler),
(r'/()', tornado.web.StaticFileHandler, {'path': '/home/smok/smogonet/index.html'}) (r'/()', tornado.web.StaticFileHandler, {'path': '/home/smok/smogonet/index.html'})
#(r'/()', tornado.web.StaticFileHandler, {'path': 'index.html'}) #(r'/()', tornado.web.StaticFileHandler, {'path': 'index.html'})
# Odkomentuj linijke z index.html a zakomentuj te z home/smok jesli chcesz zeby dzialalo lokalnie :)
# Ale nie commituj tej zmiany nigdy!
]) ])
if __name__ == "__main__": if __name__ == "__main__":
......
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