Zoneminder web interface window sizes?

Forum for questions and support relating to the 1.25.x releases only.
Locked
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Zoneminder web interface window sizes?

Post by robi »

Hi devs!

Could you please give me a hint where to look for, in the PHP code for the browser popup window sizes?
In the translated interface several strings are longer than in English, and things don't fit well in the windows. In most cases widening them just a bit would fix the issue.

I'd send in the patches later, I promise.
v1.25.0 + Ubuntu Linux 12.04 Server
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Re: Zoneminder web interface window sizes?

Post by kylejohnson »

Hey Robi,

These should be in web/skins/classic/js/skin.js

For future reference, please base your code branches off of the 'develop' github branch.
For example, you would git clone zoneminder && cd zoneminder && git checkout develop && git checkout yournewbranch && do your stuff here. This makes it much easier to merge code while following our branching and release standards.

Thanks for your contributions!
Kyle
Idling as gnulnx in #zoneminder on freenode. Come say hi!
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Re: Zoneminder web interface window sizes?

Post by robi »

Thanks, I've put my work in https://github.com/ZoneMinder/ZoneMinder/pull/44 and https://github.com/ZoneMinder/ZoneMinder/pull/48
Both need to be pulled in.

Sorry for the mess I caused on GitHub, but everytime I clicked on "propose file change" button, GitHub threw me out with an error 404 not found.
In the end I managed to finally push them into 1.26.
v1.25.0 + Ubuntu Linux 12.04 Server
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Re: Zoneminder web interface window sizes?

Post by robi »

kylejohnson wrote: For example, you would git clone zoneminder && cd zoneminder && git checkout develop && git checkout yournewbranch && do your stuff here.
I was unable to set up correctly my Git for Windows environment, thus I'm submitting my changes directly though the web interface of GitHub.
v1.25.0 + Ubuntu Linux 12.04 Server
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Re: Zoneminder web interface window sizes?

Post by kylejohnson »

I'll test out #44 and #48 as soon as I have time. I want to make sure it displays properly before merging it in.

Thank ya!
Idling as gnulnx in #zoneminder on freenode. Come say hi!
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Re: Zoneminder web interface window sizes?

Post by robi »

OK, great, I guess GitHub will drop me a notification when you pull them in.

Just a tip: switch to Hungarian before you test the patches, to see how it looked before.
v1.25.0 + Ubuntu Linux 12.04 Server
Locked