Question about traccar code

Macan5 years ago

Hi ,

I have a question about the traccar code, when i use the google inspect tool and i see this html code:

<div class="x-splitter x-border-item x-box-item x-splitter-default x-splitter-vertical x-unselectable" style="width: 10px; height: 434px; margin: 0px; right: auto; left: 400px; top: 0px;" role="separator" aria-hidden="false" aria-disabled="false" aria-expanded="true" aria-orientation="vertical" id="panel-1010-splitter" data-exttouchaction="14" tabindex="0" data-componentid="panel-1010-splitter"><div id="panel-1010-splitter-collapseEl" data-ref="collapseEl" role="presentation" class="x-collapse-el x-layout-split-left"></div></div>

but I cant find that html code in my traccar files , where is it ?

Omar Asim5 years ago

Hi Macan,

Are you trying to change the logo ? Let me what exactly are you trying to do.

Macan5 years ago

No Omar,

I am not trying to change the logo, lets say I want to change layer switcher language from Portuguese to English language.
I have found this html code but dont know where to edit this code:

<div class="panel"><ul><li class="layer"><input type="radio" name="base" id="130a8d63-7a03-4a88-97e8-c57103e8bd9b"><label for="130a8d63-7a03-4a88-97e8-c57103e8bd9b">carto</label></li><li class="layer"><input type="radio" name="base" id="c264af1f-5c6f-43b8-9622-8374081fb2e7"><label for="c264af1f-5c6f-43b8-9622-8374081fb2e7">baidu</label></li><li class="layer"><input type="radio" name="base" id="520a74b6-b1fb-480e-a4af-3171245a6414"><label for="520a74b6-b1fb-480e-a4af-3171245a6414">yandexMap</label></li><li class="layer"><input type="radio" name="base" id="61303619-b3ae-47e4-9761-12bf4db5bc5d"><label for="61303619-b3ae-47e4-9761-12bf4db5bc5d">yandexSat</label></li><li class="layer"><input type="radio" name="base" id="eedef5ac-a31c-4709-ab07-3e3a6e99542f"><label for="eedef5ac-a31c-4709-ab07-3e3a6e99542f">Google Hibrido</label></li><li class="layer"><input type="radio" name="base" id="8ef4a257-9343-47c6-9a7c-a1036eaa722a"><label for="8ef4a257-9343-47c6-9a7c-a1036eaa722a">Google Satelite</label></li><li class="layer"><input type="radio" name="base" id="b1c10a16-38bd-4621-b848-7cf8df71a22e"><label for="b1c10a16-38bd-4621-b848-7cf8df71a22e">Google Tráfego</label></li><li class="layer"><input type="radio" name="base" id="fd57bb75-17e9-429d-8605-36e0e1e89f2f"><label for="fd57bb75-17e9-429d-8605-36e0e1e89f2f">Google Clássico</label></li><li class="layer"><input type="radio" name="base" id="fe6e5893-1b72-495c-bf60-d87b147bb1da"><label for="fe6e5893-1b72-495c-bf60-d87b147bb1da">OpenLayer</label></li><li class="layer"><input type="radio" name="base" id="4934c045-97b2-4413-9065-79a6bafa5d5b"><label for="4934c045-97b2-4413-9065-79a6bafa5d5b">Padrão</label></li></ul></div>
Anton Tananaev5 years ago

It's generated by ExtJS framework.

Macan5 years ago

So if I understand you Anton my friend, I can see and change that code only by editing ExtJS file ?

Omar Asim5 years ago

Macan,
Install SDK ExtJS on the server

Macan5 years ago

Thank you Omar.