Customized Top-Bar for Nodered Dashboard - Button, Text, Date/Time
Nodered Dashboard template node that can provide a
- text
- date/time (Format day, fullmonth, year and hour, minute, second)
- Home-Button
- Create a template node for code
- Copy & Paste content to node 3 Create a template node for CSS
- Copy & paste CSS informations to template
- Add UI Control for node after the template node (to receive and execute the workload coming from the template node)
- Customize template node
- home.payload = 'Home' //Set to name of homepage
- change month according to your language in function formatDate
- pic.src = '/Home1.png' //Set to path and filename of image
- toolbar.append (x) // Enable or disable functions
- Most of the code and ideas come from here: https://discourse.nodered.org/t/button-in-topbar/6377/31