Change asset TV to Display, changed Firewall icon to Fire
This commit is contained in:
+1
-1
@@ -315,7 +315,7 @@ $sql_asset_retired = mysqli_query(
|
|||||||
<i class="<?php echo $item_icon; ?> mr-2 text-secondary"></i><?php echo $item_name; ?>
|
<i class="<?php echo $item_icon; ?> mr-2 text-secondary"></i><?php echo $item_name; ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div>Views: <?php echo "$item_views / $item_view_limit" ?></div>
|
<div>Views: <?php echo $item_views ?></div>
|
||||||
<div class="text-secondary"><?php echo $item_recipient; ?></div>
|
<div class="text-secondary"><?php echo $item_recipient; ?></div>
|
||||||
</td>
|
</td>
|
||||||
<td title="Expires at <?php echo $item_expire_at; ?>">Expires <?php echo $item_expire_at_human ?></td>
|
<td title="Expires at <?php echo $item_expire_at; ?>">Expires <?php echo $item_expire_at_human ?></td>
|
||||||
|
|||||||
+4
-2
@@ -648,8 +648,10 @@ function getAssetIcon($asset_type)
|
|||||||
$device_icon = "print";
|
$device_icon = "print";
|
||||||
} elseif ($asset_type == 'Camera') {
|
} elseif ($asset_type == 'Camera') {
|
||||||
$device_icon = "video";
|
$device_icon = "video";
|
||||||
} elseif ($asset_type == 'Switch' || $asset_type == 'Firewall/Router') {
|
} elseif ($asset_type == 'Switch') {
|
||||||
$device_icon = "network-wired";
|
$device_icon = "network-wired";
|
||||||
|
} elseif ($asset_type == 'Firewall/Router') {
|
||||||
|
$device_icon = "fire-alt";
|
||||||
} elseif ($asset_type == 'Access Point') {
|
} elseif ($asset_type == 'Access Point') {
|
||||||
$device_icon = "wifi";
|
$device_icon = "wifi";
|
||||||
} elseif ($asset_type == 'Phone') {
|
} elseif ($asset_type == 'Phone') {
|
||||||
@@ -658,7 +660,7 @@ function getAssetIcon($asset_type)
|
|||||||
$device_icon = "mobile-alt";
|
$device_icon = "mobile-alt";
|
||||||
} elseif ($asset_type == 'Tablet') {
|
} elseif ($asset_type == 'Tablet') {
|
||||||
$device_icon = "tablet-alt";
|
$device_icon = "tablet-alt";
|
||||||
} elseif ($asset_type == 'TV') {
|
} elseif ($asset_type == 'Display') {
|
||||||
$device_icon = "tv";
|
$device_icon = "tv";
|
||||||
} elseif ($asset_type == 'Virtual Machine') {
|
} elseif ($asset_type == 'Virtual Machine') {
|
||||||
$device_icon = "cloud";
|
$device_icon = "cloud";
|
||||||
|
|||||||
+10
-7
@@ -211,23 +211,26 @@ $asset_types_array = array (
|
|||||||
'Phone'=>'fa-phone',
|
'Phone'=>'fa-phone',
|
||||||
'Mobile Phone'=>'fa-mobile-alt',
|
'Mobile Phone'=>'fa-mobile-alt',
|
||||||
'Tablet'=>'fa-tablet-alt',
|
'Tablet'=>'fa-tablet-alt',
|
||||||
'Firewall/Router'=>'fa-network-wired',
|
'Firewall/Router'=>'fa-fire-alt',
|
||||||
'Switch'=>'fa-network-wired',
|
'Switch'=>'fa-network-wired',
|
||||||
'Access Point'=>'fa-wifi',
|
'Wireless Access Point'=>'fa-wifi',
|
||||||
'Printer'=>'fa-print',
|
'Printer'=>'fa-print',
|
||||||
|
'Display'=>'fa-tv',
|
||||||
'Camera'=>'fa-video',
|
'Camera'=>'fa-video',
|
||||||
'TV'=>'fa-tv',
|
|
||||||
'Virtual Machine'=>'fa-cloud',
|
'Virtual Machine'=>'fa-cloud',
|
||||||
'Other'=>'fa-tag'
|
'Other'=>'fa-tag'
|
||||||
);
|
);
|
||||||
|
|
||||||
$software_types_array = array (
|
$software_types_array = array (
|
||||||
'SaaS',
|
'Software as a Service (SaaS)',
|
||||||
'Application',
|
'Productivity Suites',
|
||||||
'Mobile',
|
'Web Application',
|
||||||
|
'Desktop Application',
|
||||||
|
'Mobile Application',
|
||||||
|
'Security Software',
|
||||||
'System Software',
|
'System Software',
|
||||||
'Operating System',
|
'Operating System',
|
||||||
'Misc'
|
'Other'
|
||||||
);
|
);
|
||||||
|
|
||||||
$license_types_array = array (
|
$license_types_array = array (
|
||||||
|
|||||||
+2
-2
@@ -97,12 +97,12 @@ appNotify("Share Viewed", "$item_type_sql_escaped has been viewed by $item_recip
|
|||||||
<div class="card mt-2">
|
<div class="card mt-2">
|
||||||
<div class="card-header bg-dark">
|
<div class="card-header bg-dark">
|
||||||
<div class="card-title">
|
<div class="card-title">
|
||||||
<h5><small>Secure Message intended for:</small><br><strong><?php echo $item_recipient ?></strong></h5>
|
<h6><small>Secure link intended for:</small><br><strong><?php echo $item_recipient ?></strong></h6>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-tools">
|
<div class="card-tools">
|
||||||
<div>
|
<div>
|
||||||
<?php echo "Views: $item_views / <strong>$item_view_limit</strong>"; ?>
|
<?php echo "Viewed: <strong>$item_views</strong> Times"; ?>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<?php echo "Expires: <strong>$item_expire</strong>"; ?>
|
<?php echo "Expires: <strong>$item_expire</strong>"; ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user