Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
59 lines (35 loc) · 2.13 KB

ICONS.md

File metadata and controls

executable file
·
59 lines (35 loc) · 2.13 KB

Important

⚠ This is a public archive and the active project has been renamed to NetAlertX and moved: jokob.sk/NetAlertX

  • To differentiate from the upstream stale project
  • To differentiate from other active forks
  • To indicate this is not a Raspberry Pi-specific tool anymore

Icons overview

Icons are used to visually distinguish devices in the app in most of the device listing tables and the network tree.

Raspberry Pi with a brand icon

Icons Support

Two types of icons are suported:

You can assign icons individually on each device in the Details tab.

Adding new icons

  1. You can get an SVG or a Font awesome HTML code

Copying the SVG (for example from iconify.design):

iconify svg

Copying the HTML code from Font Awesome.

Font awesome

  1. Navigate to the device you want to use the icon on and click the "+" icon:

preview

  1. Paste in the copied HTML or SVG code.

  2. Click "OK"

  3. "Save" the device

Note

If you want to mass-apply an icon to all devices of the same device type (Field: Type), you can click the mass-copy button (next to the "+" button). A confirmation prompt is displayed. If you proceed, icons of all devices set to the same device type as the current device, will be overwritten with the current device's icon.

  • The blue dropdown contains all icons already used in the app for device icons. You need to navigate away or refresh the page once you add a new icon.

🌟 Pro Font Awesome icons

If you own the premium package of Font Awesome icons you can mount it in your Docker container the following way:

/font-awesome:/home/pi/pialert/front/lib/AdminLTE/bower_components/font-awesome:ro

You can use the full range of Font Awesome icons afterwards.