Ignore:
Timestamp:
Apr 26, 2019, 7:35:11 PM (6 years ago)
Author:
g7moreau
Message:
  • Small bug -> double style attribute
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nagios-velvice/velvice.cgi

    r384 r386  
    1717use strict;
    1818use warnings;
    19 use version; our $VERSION = version->declare('0.10.10');
     19use version; our $VERSION = version->declare('0.10.11');
    2020
    2121use CGI;
     
    384384            }
    385385         $htmlpage .= "  <td $stylecolor><small>" . join(', ', @host_service) . "</small></td>\n";
    386          $htmlpage .= "  <td $stylecolor style='text-align:right;'>$downtime days</td>\n";
     386         $htmlpage .= "  <td style='background:$color; text-align:right;'>$downtime days</td>\n";
    387387         $htmlpage .= "  <td class='checking'></td>\n" if $cgi_check eq $hostname;
    388388         $htmlpage .= " </tr>\n";
     
    471471=begin html
    472472
    473 <img width="700" alt="Nagios Velvice Alert Panel" title="Nagios Velvice Alert Panel" style="float:right" src="velvice.png" />
     473<img width="700" alt="Nagios Velvice Alert Panel" title="Nagios Velvice Alert Panel" style="float:right;" src="velvice.png" />
    474474
    475475=end html
Note: See TracChangeset for help on using the changeset viewer.