You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot find a description how to create a new module with a modal file (for opening a new DIV)
I'm creating a new Chart module (inspired by intchart) - and all is working as expected, but I do not know how to create a new modal element.
Even modify the existing seems not to be possible easy, because the elements are inside the (old) build.js and templates.js files and taken from there.
In documentation do not find anything about it.
So question is, how to create the graphModal.html inside Z-Way, so that it can be used.
And - what is the right way to add an icon for statistics inside the device widget (like yout history or the Intchart symbol).
In this time using a modified Intchart structure (file names) but want to modify as sample the modal element.
Thanks!
Michael
The text was updated successfully, but these errors were encountered:
Where can I find this files in the local installation - and how to merge the modified files there?
in /opt/z-way-server/htdocs/smarthome/app/ is no "views" and "controllers" directory.
$ cd /path/to/automationFolder
$ nunjucks-precompile ./templates/ > ./htdocs/_templates.js
But it seems that "_templates " is not existing more...
Is this the right way for inserting new elements?
And - will this changes be overwritten in case of updating? I think so,...
Implementing in main branch could not be possible because of license terms of highcharts - it is free for personal not commercial use only - so it could be added by me (when finished) as module "for personal use" only...
Hi,
I cannot find a description how to create a new module with a modal file (for opening a new DIV)
I'm creating a new Chart module (inspired by intchart) - and all is working as expected, but I do not know how to create a new modal element.
Even modify the existing seems not to be possible easy, because the elements are inside the (old) build.js and templates.js files and taken from there.
In documentation do not find anything about it.
So question is, how to create the graphModal.html inside Z-Way, so that it can be used.
And - what is the right way to add an icon for statistics inside the device widget (like yout history or the Intchart symbol).
In this time using a modified Intchart structure (file names) but want to modify as sample the modal element.
Thanks!
Michael
The text was updated successfully, but these errors were encountered: