-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update skyview with extended mode S data fields #21
Conversation
* Add extended Mode-S info to infoblock * Move the infoblock to the sidebar * Resizable infoblock * Add hover tooltips for infoblock labels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some cosmetic stuff to clean up
public_html/formatter.js
Outdated
@@ -156,6 +168,16 @@ function format_distance_long(dist, displayUnits, fixed) { | |||
return dist_text; | |||
} | |||
|
|||
function format_distace_short (dist, displayUnits) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo for "distance"
public_html/formatter.js
Outdated
// converts meters to feet or just returns meters | ||
function convert_distance_short(dist, displayUnits) { | ||
if (displayUnits === "imperial") { | ||
return (dist * 3.28084); // meters to feet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer dist / 0.3048
which is exact.
public_html/planeObject.js
Outdated
@@ -28,7 +28,14 @@ function PlaneObject(icao) { | |||
this.nav_altitude = null; | |||
this.nav_heading = null; | |||
this.nav_modes = null; | |||
this.nav_qnh = null; | |||
this.nav_qnh = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know the tab/space stuff is all over the place in this code, but can we keep it to spaces here to be consistent with the surrounding stuff?
public_html/style.css
Outdated
@@ -471,12 +508,12 @@ select.error, textarea.error, input.error { | |||
|
|||
.infoRowTitle { | |||
display: inline-block; | |||
width: 50%; | |||
/* width: 50%; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the dead CSS?
public_html/style.css
Outdated
} | ||
|
||
.infoRowContent { | ||
display: inline-block; | ||
width: 40%; | ||
/* width: 40%; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More dead CSS
public_html/style.css
Outdated
@@ -517,7 +561,7 @@ select.error, textarea.error, input.error { | |||
.lightGreyBackground { | |||
background-color: #efefef; | |||
} | |||
|
|||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More dead CSS
Cleaned up css/spacing and typo. |
Update skyview with extended mode S data fields
No description provided.