add ability to style and template menu buttons (#866)

* add ability to select button style for menu items

* allow for jinja template rendering for (nearly) all menu options
this shuffles params json checks to display time instead of config time
This commit is contained in:
Geoffrey Young authored and GitHub committed 2023-02-13 21:06:33 -06:00
1 parent fc7b8c5304
commit 3d7e92f507
3 files changed
+28 -13

No files matched your search

+2
View File
@@ -133,6 +133,8 @@ A menu item is configured as follows:
name: Item Name
icon: home
# Optional Parameters
# Icon style, defined as "button.mycolor4" (for example) in the theme css
style: mycolor4
# Panel from the panels listed below
panel: preheat
# Moonraker method to call when the item is selected