1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00
This commit is contained in:
Otto Winter
2018-06-01 18:06:18 +02:00
parent 2d4b475951
commit 5b995c0692
11 changed files with 41 additions and 21 deletions

View File

@@ -140,7 +140,8 @@ class DownloadBinaryRequestHandler(tornado.web.RequestHandler):
class MainRequestHandler(tornado.web.RequestHandler):
def get(self):
files = sorted([f for f in os.listdir(CONFIG_DIR) if f.endswith('.yaml')])
files = sorted([f for f in os.listdir(CONFIG_DIR) if f.endswith('.yaml') and
not f.startswith('.')])
full_path_files = [os.path.join(CONFIG_DIR, f) for f in files]
self.render("templates/index.html", files=files, full_path_files=full_path_files,
version=const.__version__)

View File

@@ -68,7 +68,8 @@
overflow: auto;
line-height: 1.45;
border-radius: 3px;
word-wrap: normal;
white-space: pre-wrap;
overflow-wrap: break-word;
color: #DDD;
}
@@ -125,10 +126,6 @@
height: 80% !important;
}
.log {
}
.page-footer {
padding-top: 0;
}