From 3c8b9e5edf9a7fb98367a80de28534f64de4d7ac Mon Sep 17 00:00:00 2001 From: Rosiak Date: Sun, 11 Oct 2015 14:29:08 +0200 Subject: [PATCH] patch login & device pages --- html/includes/table/devices.inc.php | 4 ++-- html/pages/logon.inc.php | 34 ++++++++++++++++------------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/html/includes/table/devices.inc.php b/html/includes/table/devices.inc.php index ed57e6c166..55084b97e1 100644 --- a/html/includes/table/devices.inc.php +++ b/html/includes/table/devices.inc.php @@ -166,7 +166,7 @@ foreach (dbFetchRows($sql, $param) as $device) { $port_count = dbFetchCell('SELECT COUNT(*) FROM `ports` WHERE `device_id` = ?', array($device['device_id'])); $sensor_count = dbFetchCell('SELECT COUNT(*) FROM `sensors` WHERE `device_id` = ?', array($device['device_id'])); - $actions = ('
+ $actions = ('
'); $actions .= ' View device '; $actions .= ('
@@ -190,7 +190,7 @@ foreach (dbFetchRows($sql, $param) as $device) {
https
-
'); +
'); $hostname = generate_device_link($device); $platform = $device['hardware'].'
'.$device['features']; diff --git a/html/pages/logon.inc.php b/html/pages/logon.inc.php index 05e4508c35..c56115db5a 100644 --- a/html/pages/logon.inc.php +++ b/html/pages/logon.inc.php @@ -5,37 +5,41 @@ if( $config['twofactor'] && isset($twofactorform) ) { else { ?>
-
-
+

-

+ +
- - - +
+ +
- - - +
+ +
- - - +
+
+ +
+
- +
+ +