mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
More icons work - default icon fix🔨
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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');}
|
||||
|
||||
Reference in New Issue
Block a user