Open tvjp91 opened 8 years ago
There are two options:
1) Update the code of project in java. You need to learn something about GWT/GXT technologies to do that.
2) Write some css/html/javascript code in traccar.html
.
As for the session information in GWT there is a way to find currently logged in user profile. You can transfer it's parameters to the URL somehow. In plain javascript you can call the authenticated
method of the RESTful API and as a response there will be a JSON of the currently logged in user. Then you can do whatever you want with that object (i.e. transfer parameters to the URL).
hello Vitaly Litvak
thank you very much for this clarification.
please another question how can i change the blue color of traccar-web ui i want to put another color.
Joel TANZOUAK VAUMI Stagiaire Informaticien à mégasoft. PhD student in Systems and Software in Distributed Environment University of Ngaoundere Cameroun. Tel: +237 695325716/ 672604905 Profil linkedIn. https://www.linkedin.com/in/joel-tanzouak-vaumi-864740a6?trk=nav_responsive_tab_profile
2016-08-06 7:50 GMT+01:00 Vitaly Litvak notifications@github.com:
There are two options:
1) Update the code of project in java. You need to learn something about GWT/GXT technologies to do that.
2) Write some css/html/javascript code in traccar.html.
As for the session information in GWT there is a way to find currently logged in user profile. You can transfer it's parameters to the URL somehow. In plain javascript you can call the authenticated method of the RESTful API http://traccar.litvak.su/features/rest-api.html and as a response there will be a JSON of the currently logged in user. Then you can do whatever you want with that object (i.e. transfer parameters to the URL).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vitalidze/traccar-web/issues/798#issuecomment-238009412, or mute the thread https://github.com/notifications/unsubscribe-auth/ATRbXHtBie2aSLIFS-UBo5ykWrS3T85oks5qdC6lgaJpZM4JdfuH .
Unfortunately there is no easy way to edit style. It was discussed in #102 and #283
hello Vitalidze
yes i would like to add a button in the app and when you clic on it, it redirect you to a module that i built, i would like also know how to get the id of a connected user so if i redirect the user to another page i would be able for example to show anything about him using his session id.
thanks