Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.27k stars 110 forks source link

[FEATURE REQUEST] Link to Icon Gallery #573

Closed Andre1Becker closed 4 weeks ago

Andre1Becker commented 2 months ago

Hi all,

It would be nice to see a direct link to the LeMetric Icon Gallery in the docs or even better, within the "Icons" tab on the Webinterface.

Cheers!

daniel-simpson commented 4 weeks ago

You can actually do this yourself, if you're willing to play around in the DoNotTouch.json file.

Note: back it up first!

Change the line starting with "raw-html-icon_html": to

"raw-html-icon_html": " <div id=\"iconcontent\"> <div id=\"form-con\"> <form> <label for=\"lametric-iconID\">Icon ID</label><br> <input type=\"text\" id=\"lametric-iconID\" name=\"lametric-iconID\"><br> <div class=\"button-row\"> <input class=\"btn\" type=\"button\" value=\"Preview\" onclick=\"createLametricLink()\"> <input class=\"btn\" type=\"button\" value=\"Download\" onclick=\"downloadLametricImage()\"> </div> </form> </div> <br> <br> <div id=\"icon-container\"> </div> <a href=\"https://developer.lametric.com/icons\" target=\"_blank\">Icon lists</a> </div>",

Not particularly pretty, but gets the job done!

image

Andre1Becker commented 4 weeks ago

Works as expected! Nice!