From 99b0ae1a671fbfab59ce2b0bde7d8e9b4efc956c Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 28 Sep 2025 02:16:13 +0000 Subject: [PATCH] better branding --- html/early.js | 6 ++++++ html/index.html | 9 +++++++-- html/style.css | 2 +- install.sh | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/html/early.js b/html/early.js index a919922..faf930e 100644 --- a/html/early.js +++ b/html/early.js @@ -556,6 +556,12 @@ if (uuid != null) { haveTraces = Boolean(data.haveTraces || data.globeIndexGrid); + if (data.readsb) { + jQuery("#decoder_pre").text("decoder:"); + jQuery("#decoder_link").text("readsb"); + jQuery("#decoder_link").attr("href", "https://github.com/wiedehopf/readsb#readsb"); + } + if (heatmap || replay) { if (replay && data.globeIndexGrid != null) globeIndex = 1; diff --git a/html/index.html b/html/index.html index d1f8e2a..12f2a28 100644 --- a/html/index.html +++ b/html/index.html @@ -880,8 +880,13 @@ - - tar1090 on github + + + tar1090 + + + + diff --git a/html/style.css b/html/style.css index 475ffc9..ac97f42 100644 --- a/html/style.css +++ b/html/style.css @@ -315,7 +315,7 @@ select { .hidden { display: none; } -.infoblock_heading a { text-decoration: none; color: blue; font-size: x-small;} +.infoblock_heading a { text-decoration: none; color: blue; font-size: var(--FS2); } .dim { opacity: 0.3; filter:alpha(opacity=30); /* For IE8 and earlier */ } diff --git a/install.sh b/install.sh index abbf413..40fb6bf 100755 --- a/install.sh +++ b/install.sh @@ -328,7 +328,7 @@ do dir=$(pwd) cd "$TMP" - sed -i -e "s/tar1090 on github/tar1090 on github (${TAR_VERSION})/" index.html + sed -i -e 's/id="webinterface_version">/\0'"(${TAR_VERSION})/" index.html "$gpath/git/cachebust.sh" "$gpath/git/cachebust.list" "$TMP"