Ad Widget

Collapse

Changing trigger severity color

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cybaspace
    Member
    • Jul 2005
    • 43

    #1

    Changing trigger severity color

    Hi there!

    I would like to change the severity color of a trigger so that warnings become yellow and informations green.

    I have found in css.css:

    table.tableinfo tr td.disaster { background-color: #FF0000; }
    table.tableinfo tr:hover td.disaster { background-color: #FF0000; }
    table.tableinfo tr td.high { background-color: #FF8888; }
    table.tableinfo tr:hover td.high { background-color: #FF8888; }
    table.tableinfo tr td.average { background-color: #DDAAAA; }
    table.tableinfo tr:hover td.average { background-color: #DDAAAA; }
    table.tableinfo tr td.unknown_trigger { background-color: #BCBCBC; }
    table.tableinfo tr:hover td.unknown_trigger{ background-color: #BCBCBC; }
    table.tableinfo tr td.normal { background-color: #AADDAA; }
    table.tableinfo tr:hover td.normal { background-color: #AADDAA; }


    The colors for warnings and informations are missing. (can't find them in css.css).

    Any idea how I could get custom trigger severity colors?

    Cheers!
  • cybaspace
    Member
    • Jul 2005
    • 43

    #2
    anyone? ;-)

    Comment

    • dantheman
      Senior Member
      • May 2006
      • 209

      #3
      I *think* this is what you are wanting.. you are wanting to set the colors for Triggers overview screen or for the monitoring->triggers page. Below this is for the Monitoring->Trigger page I believe.

      /**************** TRIGGERS INFORMATION MODULE ****************/
      table.triggers_info {
      width: 100%;
      background-color: #FFFFFF;
      border: 1px gray dotted;
      }
      table.triggers_info td {
      border: 0px;
      white-space: nowrap;
      word-spacing: nowrap;
      padding-left: 5px;
      padding-right: 5px;
      font-weight: bold;
      color: #191970;
      text-align: left;
      font-family: Verdana, Helvetica, Geneva;
      font-size: 11px;
      }

      table.triggers_info td.header {
      background: #5C7099 url(images/gradients/table_head2.gif) repeat-x top left;
      color: #FFFFFF;
      }
      table.triggers_info td {
      background-color: #CCCCCC;
      }
      table.triggers_info td.trok {
      background-color: #99F099;
      }
      table.triggers_info td.dis {
      background-color: #FF0000;
      }
      table.triggers_info td.high {
      background-color: #FF8888;
      }
      table.triggers_info td.avg {
      background-color: #DDAAAA;
      }

      Comment

      Working...