Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show three highlighted items #34

Closed
virusczz opened this issue Mar 4, 2018 · 6 comments
Closed

Show three highlighted items #34

virusczz opened this issue Mar 4, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@virusczz
Copy link

virusczz commented Mar 4, 2018

Hi, Super theme. I want to have more like 3 big items. I managed to have 9. Only i can not do the 9x highcharts to run.
Can you implement the possibility to chose the number how many items to be Highlighted?

@virusczz
Copy link
Author

virusczz commented Mar 5, 2018

image

@virusczz
Copy link
Author

virusczz commented Mar 5, 2018

image

Done :) manualy: -n+3 changed to -n+9 in files:
dashboard_show_data_visualizations.js
dashboard_highlights_see-through.css

@virusczz
Copy link
Author

virusczz commented Mar 5, 2018

What i don't know how to do is to add a box to write the number, and not to have only 3.

@xztraz
Copy link
Contributor

xztraz commented Mar 6, 2018

other settings in theme is saved in user variables. you could start there. somewhere in code there should be something that reads from user vars. should be a case of mostly copy paste coding :)

@flatsiedatsie
Copy link
Owner

The best thing would be to create a setting where users enter a number. Then javascript could add a CSS class to that number of devices. Then the theme's CSS could be changed to just apply to thing with that tag, instead of the hardcoded first three devices. Perhaps in the future..

@flatsiedatsie flatsiedatsie added the enhancement New feature or request label Nov 2, 2018
@flatsiedatsie
Copy link
Owner

There is now an option to make all items large. That will have to do for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants