some more icon changes and add a script file for copying over the html
folder
This commit is contained in:
@@ -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],
|
||||
|
||||
@@ -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
17
web.sh
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user