mirror of https://github.com/itflow-org/itflow
Change asset TV to Display, changed Firewall icon to Fire
This commit is contained in:
parent
acf5268139
commit
74e7507f7d
|
|
@ -315,7 +315,7 @@ $sql_asset_retired = mysqli_query(
|
|||
<i class="<?php echo $item_icon; ?> mr-2 text-secondary"></i><?php echo $item_name; ?>
|
||||
</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>
|
||||
</td>
|
||||
<td title="Expires at <?php echo $item_expire_at; ?>">Expires <?php echo $item_expire_at_human ?></td>
|
||||
|
|
|
|||
|
|
@ -648,8 +648,10 @@ function getAssetIcon($asset_type)
|
|||
$device_icon = "print";
|
||||
} elseif ($asset_type == 'Camera') {
|
||||
$device_icon = "video";
|
||||
} elseif ($asset_type == 'Switch' || $asset_type == 'Firewall/Router') {
|
||||
} elseif ($asset_type == 'Switch') {
|
||||
$device_icon = "network-wired";
|
||||
} elseif ($asset_type == 'Firewall/Router') {
|
||||
$device_icon = "fire-alt";
|
||||
} elseif ($asset_type == 'Access Point') {
|
||||
$device_icon = "wifi";
|
||||
} elseif ($asset_type == 'Phone') {
|
||||
|
|
@ -658,7 +660,7 @@ function getAssetIcon($asset_type)
|
|||
$device_icon = "mobile-alt";
|
||||
} elseif ($asset_type == 'Tablet') {
|
||||
$device_icon = "tablet-alt";
|
||||
} elseif ($asset_type == 'TV') {
|
||||
} elseif ($asset_type == 'Display') {
|
||||
$device_icon = "tv";
|
||||
} elseif ($asset_type == 'Virtual Machine') {
|
||||
$device_icon = "cloud";
|
||||
|
|
|
|||
|
|
@ -211,23 +211,26 @@ $asset_types_array = array (
|
|||
'Phone'=>'fa-phone',
|
||||
'Mobile Phone'=>'fa-mobile-alt',
|
||||
'Tablet'=>'fa-tablet-alt',
|
||||
'Firewall/Router'=>'fa-network-wired',
|
||||
'Firewall/Router'=>'fa-fire-alt',
|
||||
'Switch'=>'fa-network-wired',
|
||||
'Access Point'=>'fa-wifi',
|
||||
'Wireless Access Point'=>'fa-wifi',
|
||||
'Printer'=>'fa-print',
|
||||
'Display'=>'fa-tv',
|
||||
'Camera'=>'fa-video',
|
||||
'TV'=>'fa-tv',
|
||||
'Virtual Machine'=>'fa-cloud',
|
||||
'Other'=>'fa-tag'
|
||||
);
|
||||
|
||||
$software_types_array = array (
|
||||
'SaaS',
|
||||
'Application',
|
||||
'Mobile',
|
||||
'Software as a Service (SaaS)',
|
||||
'Productivity Suites',
|
||||
'Web Application',
|
||||
'Desktop Application',
|
||||
'Mobile Application',
|
||||
'Security Software',
|
||||
'System Software',
|
||||
'Operating System',
|
||||
'Misc'
|
||||
'Other'
|
||||
);
|
||||
|
||||
$license_types_array = array (
|
||||
|
|
|
|||
|
|
@ -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-header bg-dark">
|
||||
<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 class="card-tools">
|
||||
<div>
|
||||
<?php echo "Views: $item_views / <strong>$item_view_limit</strong>"; ?>
|
||||
<?php echo "Viewed: <strong>$item_views</strong> Times"; ?>
|
||||
</div>
|
||||
<div>
|
||||
<?php echo "Expires: <strong>$item_expire</strong>"; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue