From 7934422749a0724f4c2a64fc497b5ff21d525afe Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Mon, 7 Feb 2022 19:56:12 +0000 Subject: [PATCH 1/3] Show URLs from assets/logins --- client_service_view_modal.php | 55 ++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/client_service_view_modal.php b/client_service_view_modal.php index 7dedc09c..21ed0d59 100644 --- a/client_service_view_modal.php +++ b/client_service_view_modal.php @@ -210,32 +210,35 @@ ?> - - - -$row[login_uri]"; -// } -// } -// -// // Showing explicitly linked URLs -// while($row = mysqli_fetch_array($sql_urls)){ -// if(!empty($row['service_uri'])){ -// echo "
  • $row[service_uri]
  • "; -// } -// } -// ?> - - + +
    URLs
    + + From b51db78cd9ca6f657bcf5e8563894a31cb5c78be Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Mon, 7 Feb 2022 20:09:58 +0000 Subject: [PATCH 2/3] Show asset IPs --- client_service_view_modal.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/client_service_view_modal.php b/client_service_view_modal.php index 21ed0d59..06441be6 100644 --- a/client_service_view_modal.php +++ b/client_service_view_modal.php @@ -32,7 +32,13 @@ mysqli_data_seek($sql_assets, 0); while($row = mysqli_fetch_array($sql_assets)){ - echo "
  • $row[asset_name]
  • "; + if(!empty($row['asset_ip'])){ + $ip = '('.$row["asset_ip"].')'; + } + else{ + $ip = ''; + } + echo "
  • $row[asset_name] $ip
  • "; } ?> @@ -68,7 +74,7 @@ } foreach($networks as $network){ $network = explode(":", $network); - echo "
  • $network[0] (VLAN $network[1])
  • "; + echo "
  • $network[0] (VLAN $network[1])
  • "; } // Not showing/haven't added explicitly linked networks - can't see a need for a network that doesn't have an asset on it? From 7d22ab88f6ac2ff28e47cfb5cbfdaa788810eebe Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Mon, 7 Feb 2022 20:14:31 +0000 Subject: [PATCH 3/3] Move service importance to header --- client_service_view_modal.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client_service_view_modal.php b/client_service_view_modal.php index 06441be6..0bcafbf6 100644 --- a/client_service_view_modal.php +++ b/client_service_view_modal.php @@ -13,8 +13,7 @@
    -

    Service Overview:

    - Importance:
    +

    Service Overview:

    Description:
    Backup Info: