diff --git a/html/markers.js b/html/markers.js index fa9e514..4232b7d 100644 --- a/html/markers.js +++ b/html/markers.js @@ -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], diff --git a/install.sh b/install.sh index 47e9fd6..d99835e 100755 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/web.sh b/web.sh new file mode 100755 index 0000000..a9a3d49 --- /dev/null +++ b/web.sh @@ -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 +