From de29e8232766e8e2aca351ce8a4e83781b89462f Mon Sep 17 00:00:00 2001 From: LongHairedHacker Date: Sun, 3 Nov 2019 17:00:53 +0100 Subject: [PATCH] Modified look and feel for the dl0xk installation --- public_html/config.js | 20 +++++------ public_html/index.html | 64 ++++++++++----------------------- public_html/script.js | 80 +++++++++++++++++++++--------------------- public_html/style.css | 17 ++++----- 4 files changed, 77 insertions(+), 104 deletions(-) diff --git a/public_html/config.js b/public_html/config.js index b9be157..c1289d2 100644 --- a/public_html/config.js +++ b/public_html/config.js @@ -11,11 +11,11 @@ PlaneCountInTitle = true; MessageRateInTitle = false; // -- Output Settings ------------------------------------- -// The DisplayUnits setting controls whether nautical (ft, NM, knots), -// metric (m, km, km/h) or imperial (ft, mi, mph) units are used in the +// The DisplayUnits setting controls whether nautical (ft, NM, knots), +// metric (m, km, km/h) or imperial (ft, mi, mph) units are used in the // plane table and in the detailed plane info. Valid values are // "nautical", "metric", or "imperial". -DisplayUnits = "nautical"; +DisplayUnits = "metric"; // -- Map settings ---------------------------------------- // These settings are overridden by any position information @@ -23,17 +23,17 @@ DisplayUnits = "nautical"; // degrees. // Default center of the map. -DefaultCenterLat = 45.0; -DefaultCenterLon = 9.0; +DefaultCenterLat = 49.425626; +DefaultCenterLon = 7.756527; // The google maps zoom level, 0 - 16, lower is further out -DefaultZoomLvl = 7; +DefaultZoomLvl = 8; // Center marker. If dump1090 provides a receiver location, // that location is used and these settings are ignored. -SiteShow = false; // true to show a center marker -SiteLat = 45.0; // position of the marker -SiteLon = 9.0; +SiteShow = true; // true to show a center marker +SiteLat = 49.425626; // position of the marker +SiteLon = 7.756527; SiteName = "My Radar Site"; // tooltip of the marker // -- Marker settings ------------------------------------- @@ -96,7 +96,7 @@ OutlineMlatColor = '#4040FF'; SiteCircles = true; // true to show circles (only shown if the center marker is shown) // In miles, nautical miles, or km (depending settings value 'DisplayUnits') -SiteCirclesDistances = new Array(100,150,200); +SiteCirclesDistances = new Array(25,50,75,100); // Controls page title, righthand pane when nothing is selected PageName = "PiAware SkyAware"; diff --git a/public_html/index.html b/public_html/index.html index eadaa4c..6a83a9f 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -23,7 +23,7 @@ - PiAware SkyAware + DL0XK Aeorspectator @@ -46,25 +46,8 @@ -
- - -
n/a @@ -167,8 +150,8 @@