diff --git a/config/pialert.conf b/config/pialert.conf index e99340a2..df50dcac 100644 --- a/config/pialert.conf +++ b/config/pialert.conf @@ -6,6 +6,7 @@ #------------------------------------------------------------------------------- # Puche 2021 pi.alert.application@gmail.com GNU GPLv3 #------------------------------------------------------------------------------- +TZ = 'Europe/London' PIALERT_PATH = '/home/pi/pialert' DB_PATH = PIALERT_PATH + '/db/pialert.db' @@ -40,7 +41,6 @@ PIHOLE_DB = '/etc/pihole/pihole-FTL.db' DHCP_ACTIVE = False DHCP_LEASES = '/etc/pihole/dhcp.leases' - # arp-scan options & samples # # Scan local network (default) diff --git a/config/version.conf b/config/version.conf index 7110989f..60c442de 100644 --- a/config/version.conf +++ b/config/version.conf @@ -1,4 +1,3 @@ VERSION = '3.5_leiweibau' VERSION_YEAR = '2022' VERSION_DATE = '2022-07-07' -TZ = 'Europe/London' \ No newline at end of file diff --git a/front/devices.php b/front/devices.php index 5fec26da..3e8563d4 100644 --- a/front/devices.php +++ b/front/devices.php @@ -229,7 +229,7 @@ function main () { // ----------------------------------------------------------------------------- function initializeDatatable () { - + // If the device has a small width (mobile) only show name, ip, and status columns. if (window.screen.width < 400) { var tableColumnShow = [10,11,12,1,2,3,4,5,6,8]; } else { @@ -252,7 +252,6 @@ function initializeDatatable () { // 'order' : [[3,'desc'], [0,'asc']], 'columnDefs' : [ - // Only display all collums on non mobile device width - still in testing phase {visible: false, targets: tableColumnShow }, {className: 'text-center', targets: [3, 8, 9] }, {width: '80px', targets: [5, 6] }, diff --git a/front/php/templates/header.php b/front/php/templates/header.php index 1fe2638c..a22de7c9 100644 --- a/front/php/templates/header.php +++ b/front/php/templates/header.php @@ -85,8 +85,9 @@ if ($ENABLED_DARKMODE === True) {