FlightAware Discussions

Settings button


#1

Hi
made a little error i think to the skyview page after entering the set gain lines
part picture

from div class=“buttonContainer” onwards is missing
could someone paste correct para for me from logo container to button container
i must have slipped up missing some bits here after 3 line addition below

                            <div class="dateTime" id="clock_div"></div>
                            <div class="button buttonHeader" onclick="resetMap();"><span class="buttonText">Reset Map</span></div>
                            <div class="button buttonHeader" onclick="selectAllPlanes();"><span class="buttonText">Show All Tracks</s$
                            <div class="button buttonHeader" onclick="deselectAllPlanes();"><span class="buttonText">Hide All Tracks<$
                    </div>
                    <div class="settingsContainer"><img src="images/settings-icon.png" id="settingsCog" srcset="images/settings-icon.$
            </div>

            <div id="layout_container">



                    <div id="highlighted_infoblock">

think a block is missing


#2

If you have done following step, it is easy:

Just do this to replace corrupted copy of index html by a copy of original unmodified file

cd /usr/share/dump1090-fa/html/
sudo cp index.html.orig  index.html

After replacing corrupted copy by fresh one, do the next step (4.2) to insert 3 lines of code


#3

Hi abcd567
i did do a bkup totally forgot
need a nudge in the right direction some times all sorted line missing was

my fault

many thanks
john


#4

Anybody who forgot to make a back-up copy of index.html can get original from GitHub by this command:

ver 3.6.3 specific
sudo wget /usr/share/dump1090-fa/html/index.html.orig "https://raw.githubusercontent.com/flightaware/dump1090/v3.6.3/public_html/index.html"
.
OR
.
master
sudo wget /usr/share/dump1090-fa/html/index.html.orig "https://raw.githubusercontent.com/flightaware/dump1090/master/public_html/index.html"