[site bug] coordinate labels at show_host_detail.php are swapped


Advanced search

Message boards : Number crunching : [site bug] coordinate labels at show_host_detail.php are swapped

Author Message
xii5ku
Send message
Joined: 22 Oct 23
Posts: 2
Credit: 80,696
RAC: 227

Message 4093 - Posted: 22 Oct 2023 | 20:54:00 UTC

Dear site admins,
when a sensor is to be added to the map, we need to enter coordinates at the host details page in the following way:

Long: [ latitude ] Lat: [ longitude ] ... [Add sensor!]

The page should be changed to show

Lat: [ latitude ] Long: [ longitude ] ... [Add sensor!]

instead.

Current HTML from show_host_detail.php:

Long: <input id='lat' name='loc1' />
Lat: <input id='lng' name='loc2' />

Should be changed to
Lat: <input id='lat' name='loc1' />
Long: <input id='lng' name='loc2' />
or, spending a few more electrons,
Latitude: <input id='lat' name='loc1' />
Longitude: <input id='lng' name='loc2' />

(The general convention is to specify latitudinal degree first and longitudinal degree second. Hence, the order of the input fields should remain as it is, only the order of the labels should be swapped.)

Post to thread

Message boards : Number crunching : [site bug] coordinate labels at show_host_detail.php are swapped


Main page · Your account · Message boards


Copyright © 2024 BOINC@Poland | Open Science for the future