Cacti / plugin_webseer

Cacti Web Services Monitoring Plugin
GNU General Public License v2.0
8 stars 9 forks source link

Layout issue: Long URL pushes other columns off the screen #22

Closed ITATG closed 6 years ago

ITATG commented 6 years ago

image

It would seem if a URLis very long, it pushes the other columns off the screen. Tested with Version 1.0 and 2.0

ITATG commented 6 years ago

My solution is to cut and put ... if characters are higher than 58. On webseer.php, row 391: if ($row['type'] == 'http') { form_selectable_cell("<a class='linkEditMain' href='" .$row['url'] . "' target=_new>" . mb_strimwidth($row['url'],0,58, "...") . '', $row['id']);

It fits for browsers zoom 100%. I tried with CSS but not working I don't know why. With CSS is cleaner I guess

image

Thank you

cigamit commented 6 years ago

Please test my solution. The URL is hidden, but if you click on the Name, you will open the window. Close if acceptable.

cigamit commented 6 years ago

I'm just going to close. Bark if you feel it should be done differently.

ITATG commented 6 years ago

Perfect! Thank you!