some more icon changes and add a script file for copying over the html

folder
This commit is contained in:
Matthias Wirth
2019-08-19 12:16:16 +02:00
parent 8b1ec638f8
commit b8fd7e9fc3
3 changed files with 20 additions and 1 deletions

View File

@@ -158,9 +158,10 @@ var TypeDesignatorIcons = {
'CL35': ['jet_swept', 0.92],
'CL60': ['jet_swept', 0.96], // 22t
'GLEX': ['jet_swept', 1],
'G150': ['jet_swept', 0.88], // 11t
'G280': ['jet_swept', 0.92], // 18t
'GL5T': ['jet_swept', 1],
'GLF2': ['jet_swept', 0.92],
'G280': ['jet_swept', 0.92],
'GLF3': ['jet_swept', 0.96],
'GLF4': ['jet_swept', 0.96],
'GLF5': ['jet_swept', 0.96],

View File

@@ -50,6 +50,7 @@ if [ -f $ipath/html/defaults.js ]; then
cp $ipath/html/config.js html/
fi
rm -f $ipath/html/db/*.json
cp -r * $ipath
# bust cache for all css and js files

17
web.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# file for local testing of changes to the webinterface
ipath=/usr/local/share/tar1090
mkdir -p $ipath
mv $ipath/html/config.js /tmp/
rm -f $ipath/html/db/*.json
cp -r html $ipath
mv /tmp/config.js $ipath/html/
# bust cache for all css and js files
sed -i -e "s/__cache_version__/$(date +%s)/g" $ipath/html/index.html