OnCourse Software
https://www.ocs-support.co.uk/forums/

PF3 Web Display Background color
https://www.ocs-support.co.uk/forums/viewtopic.php?t=4346
Page 1 of 2
Author:  SkyCamel [ Sat Oct 28, 2023 4:44 pm ]
Post subject:  PF3 Web Display Background color

And yet another of my requests ;)
To avoid to many reflection in my monitors I usually fly in a dusk/dark environment.
I'm running Chrome browser on a Linux pc and there doesn't seem to be a "dark theme" parameter.
The background of the PF3 Web Display page is white which is,as you can understand, very disruptive sitting in a dusk/dark environment.
I can change the text color in the config (HTMLcolor) but would it be possible to add "background-color" as an option?
So I can then select black background and, I don't know, yellow text?
Cheers,
Luc

Author:  pointy56 [ Sat Oct 28, 2023 10:04 pm ]
Post subject:  Re: PF3 Web Display Background color

Hi Luc,

I'm working on several things at the moment, but I'll look into this when I next have the Web Display code open.

Cheers,
Martin

Author:  SkyCamel [ Sun Oct 29, 2023 7:26 am ]
Post subject:  Re: PF3 Web Display Background color

Great!
Thanks,
Luc

Author:  pointy56 [ Sun Oct 29, 2023 10:00 pm ]
Post subject:  Re: PF3 Web Display Background color

Please take a look at release 2.2.0 here: <Since deleted due to bug found>

Hopefully it will do what you are looking for; it provides a new option, BGColor, to set the background color - try 'DimGray'.

Let me know how you get on,
Martin

Author:  SkyCamel [ Mon Oct 30, 2023 12:50 pm ]
Post subject:  Re: PF3 Web Display Background color

Just updated to 2.2.2 but unfortunately WebDisplay is not working anymore.
The good news, I get the dimgray background with yellow text.
But for the rest nothing is working anymore.
I can't give any input so clicking on "current" of "freq" doesn't do anything.
Also clicking on "hiding default ..." doesn't do anything, it's like it doesn't send anything to the server.
The WebDisplay windows shows however server 2.2.2 and template 2.2.2
I also changed the remote text from 7009 to 1009 in the WebDisplay config as it was in the previous version.
Furthermore, on the same time I updated PF3 to beta 3.21.13.
The WebDisplay 2.1.0 is working fine with the latest PF3 beta.
If you need any log or so please let me know.
Cheers,
Luc

Author:  pointy56 [ Mon Oct 30, 2023 5:16 pm ]
Post subject:  Re: PF3 Web Display Background color

Apologies, I was trying to get this out with minimum testing as I am rather busy for the next couple of weeks.
I'm pleased that the background colour change is working; I've deleted this release and will replace it when I've fixed the bug.

Martin

Author:  SkyCamel [ Tue Oct 31, 2023 8:05 am ]
Post subject:  Re: PF3 Web Display Background color

No stress Martin, it will be ready whenever it's ready. I still have a pair of sunglasses, look like a real pilot now :lol:
Cheers,
Luc

Author:  pointy56 [ Wed Nov 01, 2023 11:12 am ]
Post subject:  Re: PF3 Web Display Background color

I believe that release 2.2.1 fixes the problem that you were seeing: http://www.ocs-support.co.uk/forums/vie ... php?t=4351
(I somehow managed to pick up a development version of the HTML file when building the 2.2.0 release)

Regards,
Martin

Author:  SkyCamel [ Wed Nov 01, 2023 4:13 pm ]
Post subject:  Re: PF3 Web Display Background color

Yep, working now, however once the 10 ATC calls in the history is reached it doesn't scroll (omitting the 1st message and displaying the 11th)
After "Hide ATC history" and bringing it back up it then shows the 11th message.
Also, if you ever get bored, maybe change to only displaying ATC messages, not the read backs ;)
Cheers,
Luc

Author:  pointy56 [ Wed Nov 01, 2023 4:28 pm ]
Post subject:  Re: PF3 Web Display Background color

Unfortunately I don't think I can differentiate between new ATC messages and read backs - that detail isn't passed through from PF3.
(Perhaps you could attach a screenshot showing exactly what you mean in case I'm missing something)

And I'm not sure how easy it would be to make the history scroll, I'll have a bit more of a think - adding the history the way it is was quite easy.

Cheers,
Martin

Page 1 of 2 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited