Funbit / ets2-telemetry-server

ETS2/ATS Telemetry Web Server + Mobile Dashboard
GNU General Public License v3.0
624 stars 206 forks source link

create a copy of the default skin with MPH #34

Closed Funbit closed 9 years ago

imaggot commented 9 years ago

dashboard hi all, i made one for myself, i emailed the file to "funbit AT gmail.com", also where it displays the actual speed in the little box it still shows kph, but when in uk and you see mph speed sign you can match it to the mph on the default skin with the mph that i added, it made it whole lot easier i found..... in the meantime i hope this helps people till somebody makes a better one :), im not sure if itll be put on here or if it will be how long it will take, so anybody who wants it please feel free to email me "daledawson AT btinternet.com" with subject as "ETS2 TELEMETRY MPH"

yodek commented 9 years ago

If you want [text / number] speed in mph, in dashboard.js [file in skin folder] you have this line: data.truckSpeedMph = data.truckSpeed * 0.621371;

So, only have to change from truckSpeedRounded to truckSpeedMph in dashboard.html AND dashboard.css

imaggot commented 9 years ago

EDIT, i have made another default skin but this time with MPH in the speed box with help from yodek saying what to do, thanks for that :), like i said if anyone wants it please feel free to email me

Ohh cheers i might give that a try :), is it possible to have both kph and mph displayed in two boxes somehow?? Think thatd be cool to have aswell

Sent from my iPhone

On 14 Mar 2015, at 11:02, Lukas notifications@github.com wrote:

If you want [text / number] speed in mph, in dashboard.js [file in skin folder] you have this line: data.truckSpeedMph = data.truckSpeed * 0.621371;

So, only have to change from truckSpeedRounded to truckSpeedMph in in dashboard.html AND dashboard.css

— Reply to this email directly or view it on GitHub.

Funbit commented 9 years ago

Thank you for the contribution. I have released a new MPH version of the default skin in the 2.2.5: http://forum.scssoft.com/viewtopic.php?f=41&t=171000&p=352992#p352992

ta4chu commented 9 years ago

Hi; How can I use this Skin ? Thankyou...

Funbit commented 9 years ago

You may download the alternate MPH skin here: https://www.dropbox.com/s/csdwgk8ul12uaiy/default-mph-alt.zip?dl=0

Unpack the zip file and put "default-mph-alt" folder into "server\html\skins". Refresh your browser to see the installed skin in the menu.

ta4chu commented 9 years ago

Thankyou very much.. Working great...