mikaku / Monitorix

Monitorix is a free, open source, lightweight system monitoring tool.
https://www.monitorix.org
GNU General Public License v2.0
1.12k stars 167 forks source link

A button to reach the main page would be nice #338

Closed bachandi closed 3 years ago

bachandi commented 3 years ago

At the moment the enable_back_button setting adds a "back" button that only goes back in history (javascript:history.back()). When for example accessing the monitorix daily webpage via a bookmark the back button does not bring you to the main page but any page you visited before. For this it would be very nice to add something like enable_mainpage_button or change the functionality of the back button to actually always reach the main page.

mikaku commented 3 years ago

The enable_back_button option uses javascript:history.back() for two good reasons: to go back fast and to keep the changes you made in the main page (assuming you went from there).

The new option enable_mainpage_button would be a good idea to solve the problem when you came via a bookmark or using the URL directly.

I'll work on this.

mikaku commented 3 years ago

Fixed with #341