add favicon to plane-alert

This commit is contained in:
kx1t
2025-03-14 16:05:32 +01:00
parent 92b66d3e57
commit 334eebb610
5 changed files with 4 additions and 7 deletions

View File

@@ -4,4 +4,5 @@ ignored:
- DL3028
- DL4006
- SC3044
- SC3054
- SC3054
- SC3060

View File

@@ -74,8 +74,4 @@ RUN \
echo "alias dir=\"ls -alsv\"" >> /root/.bashrc && \
echo "alias nano=\"nano -l\"" >> /root/.bashrc
#
# No need for SHELL and ENTRYPOINT as those are inherited from the base image
#
EXPOSE 80

View File

@@ -29,7 +29,7 @@
-->
<head>
<##AUTOREFRESH##>
<link rel="icon" href="favicon.ico">
<!-- scripts and stylesheets related to the datatables functionality: -->
<!-- please note that these scripts and plugins are licensed by their authors and IP owners
For license terms and copyright ownership, see each linked file -->

View File

@@ -861,7 +861,6 @@ cat <<EOF >"$OUTFILEHTMTMP"
-->
<head>
<link rel="icon" href="favicon.ico">
EOF
if chk_enabled "${AUTOREFRESH,,}"; then

View File

@@ -76,6 +76,7 @@ fi
# this cannot be done at build time because the directory is exposed and it is
# overwritten by the host at start of runtime
cp -f /usr/share/planefence/stage/* /usr/share/planefence/html
cp -n /usr/share/planefence/stage/favicon.ico /usr/share/planefence/html/plane-alert
mv -f /usr/share/planefence/html/{*.js,*.css} /usr/share/planefence/html/scripts
mv -f /usr/share/planefence/html/Silhouettes.zip /tmp/silhouettes-org.zip
rm -f /usr/share/planefence/html/planefence.config /usr/share/planefence/html/*.template /usr/share/planefence/html/aircraft-database-complete-