Traccar Server: Logo.svg

Albertus7 years ago

Good Day

Could anyone guide me to where could i specify size of custom logo i added and where could i maybe change colors of blue buttons . . .
Is there a css file i miss somewhere?

Thank You

Albertus Geyser

Anton Tananaev7 years ago

In Login.js file.

Albertus7 years ago

Thank you Anton.

I have an logo with size:

280px × 325px

But when i open Traccar Server then it always gives me:

280px × 325px (scaled to 180px × 48px)

I changes Login.js to:

items: [{
            xtype: 'image',
            src: 'logo.svg',
            alt: Strings.loginLogo,
            width: 280,
            height: 325,
            style: {
                display: 'block',
                margin: '10px auto 25px'
            }

Still no luck.

Could you guide me to where i should change?

Thank You

Albertus Geyser

Anton Tananaev7 years ago

You obviously need to compile JavaScript after you change the code. Check minify shell script in tools folder.

Albertus7 years ago

Good Day Anton

Maybe i am little bit blond today, but where can i locate tools folder?

Thank You

Albertus Geyser

Anton Tananaev7 years ago

In the source code repository.

Albertus7 years ago

Good Day Anton

How do i need to run minify.sh in Linux Ubuntu?

Hope you can help?

Thank You

Albertus Geyser

Anton Tananaev7 years ago

There is plenty of resources online where you can learn about Linux and shell scripts. If you need help with branding, we also provide paid support.

Albertus7 years ago

What is cost of Branding?

Anton Tananaev7 years ago

You can find pricing here:

https://www.traccar.org/product/professional-services/

Please send an email if you want to discuss it.