diff --git a/docs/ICONS.md b/docs/ICONS.md index b8cc92f2..bbd49bea 100755 --- a/docs/ICONS.md +++ b/docs/ICONS.md @@ -9,7 +9,7 @@ Icons are used to visually distinguish devices in the app in most of the device Two types of icons are suported: - Free [Font Awesome](https://fontawesome.com/search?o=r&m=free) icons (up-to v 6.4.0) -- SVG icons +- SVG icons (for example from [iconify.design](https://icon-sets.iconify.design/)) You can assign icons individually on each device in the Details tab. diff --git a/front/deviceDetails.php b/front/deviceDetails.php index 9a5c560e..fcf6d2e9 100755 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -1308,7 +1308,7 @@ function getDeviceData (readAllData=false) { $('#txtOwner').val (deviceData['dev_Owner']); $('#txtDeviceType').val (deviceData['dev_DeviceType']); $('#txtVendor').val (deviceData['dev_Vendor']); - $('#txtIcon').val (initDefault(deviceData['dev_Icon'], 'PGkgY2xhc3M9ImZhIGZhLWxhcHRvcCI')); // base64 laptop icon + $('#txtIcon').val (initDefault(deviceData['dev_Icon'], 'PGkgY2xhc3M9ImZhIGZhLWxhcHRvcCI+PC9pPg==')); // base64 laptop icon $('#txtIcon').trigger('change') if (deviceData['dev_Favorite'] == 1) {$('#chkFavorite').iCheck('check');} else {$('#chkFavorite').iCheck('uncheck');}