Skip to content
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

Merged
merged 21 commits into from
Aug 17, 2018

Conversation

drakeapps
Copy link

No description provided.

Copy link

@mutability mutability left a 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

@@ -156,6 +168,16 @@ function format_distance_long(dist, displayUnits, fixed) {
return dist_text;
}

function format_distace_short (dist, displayUnits) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo for "distance"

// converts meters to feet or just returns meters
function convert_distance_short(dist, displayUnits) {
if (displayUnits === "imperial") {
return (dist * 3.28084); // meters to feet

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.

@@ -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;

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?

@@ -471,12 +508,12 @@ select.error, textarea.error, input.error {

.infoRowTitle {
display: inline-block;
width: 50%;
/* width: 50%; */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the dead CSS?

}

.infoRowContent {
display: inline-block;
width: 40%;
/* width: 40%; */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More dead CSS

@@ -517,7 +561,7 @@ select.error, textarea.error, input.error {
.lightGreyBackground {
background-color: #efefef;
}

/*

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More dead CSS

@drakeapps
Copy link
Author

Cleaned up css/spacing and typo.

@mutability mutability merged commit ed23dbd into flightaware:dev Aug 17, 2018
kpetrilli pushed a commit to kpetrilli/dump1090 that referenced this pull request Sep 15, 2020
Update skyview with extended mode S data fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants