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

Add a style option to change the background color of the top bar (time period) #258

Open
dannybeckett opened this issue Jul 22, 2024 · 0 comments

Comments

@dannybeckett
Copy link

dannybeckett commented Jul 22, 2024

Please could you add a new option to the .conf file for changing the background color of the top bar to select a time period? E.G. a new option called color_TopBarBG = "6A00FF"

Here I have styled my top bar purple:

2024-07-22 19_16_30-AWStats for domain and 92 more pages - Personal - Microsoft​ Edge

I achieved this by using the option:

HTMLHeadSection="<script type="text/javascript">    /* Recolor the top time period bar */    parent.document.getElementById('topFrame').contentDocument.body.style.backgroundColor = '#6A00FF';    </script>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant