Compare commits

...
Sign in to create a new pull request.

2 commits
dev ... master

Author SHA1 Message Date
c3f219ba92 Make last file in list visible
For some reason the CSS didn't connect the side-nav to the bottom
of the page and this lead to some wrong calculations of the browser
which lead to the fact that the last file in the list of files was
outside of the visible area.

Pinning it with bottom: 0; fixes this problem and now one can scroll
down all the way to even see the last file in the file list.
2018-09-25 21:53:07 +02:00
Daniel Perna
4d95ddad4c Added option users can comment out to increase security 2018-08-23 20:35:01 +02:00
2 changed files with 16 additions and 0 deletions

View file

@ -283,6 +283,10 @@ INDEX = Template(r"""<!DOCTYPE html>
border-bottom: 1px solid #eeeeee !important;
}
.side-nav {
bottom: 0;
}
.fb_side-nav li {
line-height: 36px;
}

View file

@ -5,6 +5,18 @@ After=network.target
[Service]
Type=simple
User=homeassistant
# Some security related options.
# See https://www.freedesktop.org/software/systemd/man/systemd.exec.html for details.
# NoNewPrivileges=true
# ProtectSystem=true
# InaccessiblePaths=-/mnt -/media
# ReadOnlyPaths=/bin -/lib -/lib64 -/sbin
# PrivateTmp=true
# ProtectKernelTunables=true
# ProtectKernelModules=true
# ProtectControlGroups=true
# RestrictRealtime=true
# Set configuration options by specifying environment variables
# Environment=HC_LISTENIP=0.0.0.0
# Environment=HC_PORT=3218