Edit Traccar Web 'Modern' Interface

RichardG4 years ago

I am trying to make some changes to the Traccar modern web interface on my traccar server.

My developer has edited some Traccar web files from the traccar-web github repo and sent them to me.

The files/folders do not match what I have in my traccar install.

These were the files provided by my developer
1- modern/public/styles.css
2- modern/src/App.js
3- modern/src/MainToolbar.js
4- modern/src/store/purchaseStore.js (This is a new file created by the developer)

When I check my traccar server filesystem I cannot see the 'public' or 'src' folder under the 'modern' folder.

Traccar web repo: https://github.com/traccar/traccar-web
I am using traccar-linux-64-4.12.zip installer from https://www.traccar.org/download/

Can someone point me in the right direction as to what the issue could be?

Are these github files/folders not present in the official install files? Do we need to create an installer?

Anton Tananaev4 years ago

Installer only includes compiled version, not original source. I would recommend reading about create-react-app.

RichardG4 years ago

thanks for the information. will look into that.

Ammar.FA4 years ago

@Anton, can we modify the web version through that Installer?

Anton Tananaev4 years ago

Modify through the installer? Do you mean create your own installer? Yes, but it's much more complicated than just replacing files. So, I'm not sure why would you want to do that.

raba2 years ago

Hi all,
First of all greetings to the dev team of traccar for putting hell lotta work and making great progress.

I am trying to customize traccar modern UI through some changes in Settings . How can I change some names belongs to Settings menu? I tried to change Settings/SettingsMenu.js but it didn't show up on the interface. Any help will be appreciated.

URLEY REY2 years ago

debes modificar el archivo json de la carpeta l10n.