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
This is not an issue, instead sharing what I found to be beneficial.
The Buttons tab/page is great and I keep adding quick command checks with output that might be needed to copy/paste or when the output is long and needs to be scrolled.
This is not an issue, instead sharing what I found to be beneficial.
The Buttons tab/page is great and I keep adding quick command checks with output that might be needed to copy/paste or when the output is long and needs to be scrolled.
I came across and added sweetalert.js (independent of any framework) like this;
https://sweetalert.js.org/guides/
In /var/www/html/console/buttons.php
add <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> to the header after the last js
and change the function execute_button(button_id)
alert(data) statement to simply
swal(data)
and it blends nicely with the CSS/theme.
Hope you find it useful too. It can replace all alert() in other pages/functions if you see fit.
cheers!
The text was updated successfully, but these errors were encountered: