Modified look and feel for the dl0xk installation
This commit is contained in:
parent
089684e20f
commit
de29e82327
|
@ -15,7 +15,7 @@ MessageRateInTitle = false;
|
||||||
// metric (m, km, km/h) or imperial (ft, mi, mph) units are used in the
|
// 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
|
// plane table and in the detailed plane info. Valid values are
|
||||||
// "nautical", "metric", or "imperial".
|
// "nautical", "metric", or "imperial".
|
||||||
DisplayUnits = "nautical";
|
DisplayUnits = "metric";
|
||||||
|
|
||||||
// -- Map settings ----------------------------------------
|
// -- Map settings ----------------------------------------
|
||||||
// These settings are overridden by any position information
|
// These settings are overridden by any position information
|
||||||
|
@ -23,17 +23,17 @@ DisplayUnits = "nautical";
|
||||||
// degrees.
|
// degrees.
|
||||||
|
|
||||||
// Default center of the map.
|
// Default center of the map.
|
||||||
DefaultCenterLat = 45.0;
|
DefaultCenterLat = 49.425626;
|
||||||
DefaultCenterLon = 9.0;
|
DefaultCenterLon = 7.756527;
|
||||||
// The google maps zoom level, 0 - 16, lower is further out
|
// The google maps zoom level, 0 - 16, lower is further out
|
||||||
DefaultZoomLvl = 7;
|
DefaultZoomLvl = 8;
|
||||||
|
|
||||||
// Center marker. If dump1090 provides a receiver location,
|
// Center marker. If dump1090 provides a receiver location,
|
||||||
// that location is used and these settings are ignored.
|
// that location is used and these settings are ignored.
|
||||||
|
|
||||||
SiteShow = false; // true to show a center marker
|
SiteShow = true; // true to show a center marker
|
||||||
SiteLat = 45.0; // position of the marker
|
SiteLat = 49.425626; // position of the marker
|
||||||
SiteLon = 9.0;
|
SiteLon = 7.756527;
|
||||||
SiteName = "My Radar Site"; // tooltip of the marker
|
SiteName = "My Radar Site"; // tooltip of the marker
|
||||||
|
|
||||||
// -- Marker settings -------------------------------------
|
// -- Marker settings -------------------------------------
|
||||||
|
@ -96,7 +96,7 @@ OutlineMlatColor = '#4040FF';
|
||||||
|
|
||||||
SiteCircles = true; // true to show circles (only shown if the center marker is shown)
|
SiteCircles = true; // true to show circles (only shown if the center marker is shown)
|
||||||
// In miles, nautical miles, or km (depending settings value 'DisplayUnits')
|
// 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
|
// Controls page title, righthand pane when nothing is selected
|
||||||
PageName = "PiAware SkyAware";
|
PageName = "PiAware SkyAware";
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<script type="text/javascript" src="flags.js?v=3.7.2"></script>
|
<script type="text/javascript" src="flags.js?v=3.7.2"></script>
|
||||||
<script type="text/javascript" src="layers.js?v=3.7.2"></script>
|
<script type="text/javascript" src="layers.js?v=3.7.2"></script>
|
||||||
<script type="text/javascript" src="script.js?v=3.7.2"></script>
|
<script type="text/javascript" src="script.js?v=3.7.2"></script>
|
||||||
<title>PiAware SkyAware</title>
|
<title>DL0XK Aeorspectator</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="initialize()">
|
<body onload="initialize()">
|
||||||
|
@ -46,25 +46,8 @@
|
||||||
<input type="hidden" name="submit" value="submit">
|
<input type="hidden" name="submit" value="submit">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="header" class="infoHeading">
|
|
||||||
<div class="logoContainer">
|
|
||||||
<a href="http://flightaware.com/" target="_blank"><img src="images/fa_logo_color.png" alt="FlightAware" class="flightawareLogo" srcset="images/fa_logo_color.png 1x, images/fa_logo_color@2x.png 2x, images/fa_logo_color@3x.png 3x"></a>
|
|
||||||
<img src="images/pa-sa-logo.png" alt="PiAware SkyAware" class="adsbLogo piAwareLogo" srcset="images/pa-sa-logo.png 1x, images/pa-sa-logo@2x.png 2x, images/pa-sa-logo@3x.png 3x">
|
|
||||||
<img src="images/ff-sa-logo.png" alt="FlightFeeder SkyAware" class="adsbLogo flightfeederLogo" srcset="images/ff-sa-logo.png 1x, images/ff-sa-logo@2x.png 2x, images/ff-sa-logo@3x.png 3x" style="display: none;">
|
|
||||||
</div>
|
|
||||||
<div class="buttonContainer">
|
|
||||||
<div class="dateTime" id="clock_div"></div>
|
|
||||||
<div class="button buttonHeader" onclick="resetMap();"><span class="buttonText">Reset Map</span></div>
|
|
||||||
<div class="button buttonHeader" onclick="selectAllPlanes();"><span class="buttonText">Show All Tracks</span></div>
|
|
||||||
<div class="button buttonHeader" onclick="deselectAllPlanes();"><span class="buttonText">Hide All Tracks</span></div>
|
|
||||||
</div>
|
|
||||||
<div class="settingsContainer"><img src="images/settings-icon.png" id="settingsCog" srcset="images/settings-icon.png 1x, images/settings-icon@2x.png 2x, images/settings-icon@3x.png 3x"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="layout_container">
|
<div id="layout_container">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="highlighted_infoblock">
|
<div id="highlighted_infoblock">
|
||||||
<div class="highlightedTitle">
|
<div class="highlightedTitle">
|
||||||
<span class="identLarge"><span id="highlighted_callsign">n/a</span></span>
|
<span class="identLarge"><span id="highlighted_callsign">n/a</span></span>
|
||||||
|
@ -193,17 +176,6 @@
|
||||||
</table>
|
</table>
|
||||||
</div> <!-- dump1090_infoblock -->
|
</div> <!-- dump1090_infoblock -->
|
||||||
|
|
||||||
<form id="altitude_filter_form">
|
|
||||||
<label><span class="infoBlockTitleText">Filter by Altitude:</span></label>
|
|
||||||
<input id="altitude_filter_min" name="minAltitude" type="text" class="altitudeFilterInput" maxlength="5">
|
|
||||||
<label for="minAltitude" class="altitudeUnit"></label>
|
|
||||||
<span> to </span>
|
|
||||||
<input id="altitude_filter_max" name="maxAltitude" type="text" class="altitudeFilterInput" maxlength="5">
|
|
||||||
<label for="maxAltitude" class="altitudeUnit"></label>
|
|
||||||
<button type="submit">Filter</button>
|
|
||||||
<button id="altitude_filter_reset_button">Reset</button>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<div id="planes_table">
|
<div id="planes_table">
|
||||||
<table id="tableinfo" style="width: 100%">
|
<table id="tableinfo" style="width: 100%">
|
||||||
<thead class="aircraft_table_header">
|
<thead class="aircraft_table_header">
|
||||||
|
|
|
@ -505,9 +505,9 @@ function make_geodesic_circle(center, radius, points) {
|
||||||
// Initalizes the map and starts up our timers to call various functions
|
// Initalizes the map and starts up our timers to call various functions
|
||||||
function initialize_map() {
|
function initialize_map() {
|
||||||
// Load stored map settings if present
|
// Load stored map settings if present
|
||||||
CenterLat = Number(localStorage['CenterLat']) || DefaultCenterLat;
|
CenterLat = DefaultCenterLat;
|
||||||
CenterLon = Number(localStorage['CenterLon']) || DefaultCenterLon;
|
CenterLon = DefaultCenterLon;
|
||||||
ZoomLvl = Number(localStorage['ZoomLvl']) || DefaultZoomLvl;
|
ZoomLvl = DefaultZoomLvl;
|
||||||
MapType = localStorage['MapType'];
|
MapType = localStorage['MapType'];
|
||||||
|
|
||||||
// Set SitePosition, initialize sorting
|
// Set SitePosition, initialize sorting
|
||||||
|
|
|
@ -6,7 +6,7 @@ html, body {
|
||||||
|
|
||||||
#layout_container {
|
#layout_container {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: calc(100% - 60px);;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#selected_infoblock {
|
#selected_infoblock {
|
||||||
|
@ -24,6 +24,7 @@ html, body {
|
||||||
#sidebar_canvas {
|
#sidebar_canvas {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
|
height: 100%
|
||||||
}
|
}
|
||||||
#sidebar_container {
|
#sidebar_container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in a new issue