pucherot / Pi.Alert

WIFI / LAN intruder detector. Check the devices connected and alert you with unknown devices. It also warns of the disconnection of "always connected" devices
GNU General Public License v3.0
1.98k stars 122 forks source link

Spelling mistake in interface #156

Open WildWeasel109 opened 2 years ago

WildWeasel109 commented 2 years ago

Hi all,

I've come across a minor spelling mistake in the interface. If you select a device from the devices tab, the sessions button is missing an 's' and reports 'Sesions'.

Screenshot 2022-05-13 at 11 40 34
cengbrecht commented 2 years ago

Seems to be fixed on the version I have installed.

WildWeasel109 commented 2 years ago

Found the line in devicedetails.php in code section with the error (line 59): div class="small-box-footer pa-small-box-footer"> Sesions

Couldn’t find a pull request for fix.

WildWeasel109 commented 2 years ago

Looks like it's the release code for 3.02. I fixed the spelling mistake in my local deviceDetails.php as per below and it's now OK. How do I get this fixed for the future releases:

    <div class="col-lg-3 col-sm-6 col-xs-6">
      <a href="#" onclick="javascript: $('#tabSessions').trigger('click');">
        <div class="small-box bg-green pa-small-box-green pa-small-box-2">
          <div class="inner"> <h3 id="deviceSessions"> -- </h3> </div>
          <div class="icon"> <i class="fa fa-plug"></i> </div>
          <div class="small-box-footer pa-small-box-footer"> Sessions <i class="fa fa-arrow-circle-right"></i> </div>
        </div>
      </a>
    </div>