View Issue Details

IDProjectCategoryView StatusLast Update
1137RackTablesdefaultpublic2018-11-14 14:51
ReporterWhiteTiger Assigned Toadoom42  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.20.6 
Target Version0.20.7Fixed in Version0.20.7 
Summary1137: coloring lines of objects with problems
DescriptionAttached is the code to distinguish objects with problems coloring table rows with shades of red.
Tagsinterface

Activities

WhiteTiger

WhiteTiger

2014-01-16 20:24

reporter  

interface.php.diff (607 bytes)   
2176,2181c2097
<                               if($obj['has_problems']=="yes"){
<                                       $problem = "has_problems";
<                               } else {
<                                       $problem = "";
<                               }
<                               echo "<tr class='row_${order} tdleft ${problem}' valign=top><td>" . mkA ("<strong>${obj['dname']}</strong>", 'object', $obj['id']);
---
>                               echo "<tr class='row_${order} tdleft' valign=top><td>" . mkA ("<strong>${obj['dname']}</strong>", 'object', $obj['id']);
interface.php.diff (607 bytes)   
WhiteTiger

WhiteTiger

2014-01-16 20:25

reporter  

pi.css.diff (157 bytes)   
191,199d178
< .row_even.has_problems {
<         background-color: #ffa0a0;
< }
<
< .row_odd.has_problems {
<         background-color: #FBBCBC;
< }
pi.css.diff (157 bytes)   
WhiteTiger

WhiteTiger

2014-01-16 20:27

reporter   ~0002077

changed files was:
racktables/wwwroot/inc/interface.php
racktables/wwwroot/css/pi.css
adoom42

adoom42

2014-01-18 19:44

administrator   ~0002081

Thanks for the patch.

Issue History

Date Modified Username Field Change
2014-01-16 20:24 WhiteTiger New Issue
2014-01-16 20:24 WhiteTiger File Added: interface.php.diff
2014-01-16 20:25 WhiteTiger Tag Attached: patch
2014-01-16 20:25 WhiteTiger Tag Attached: interface
2014-01-16 20:25 WhiteTiger File Added: pi.css.diff
2014-01-16 20:27 WhiteTiger Note Added: 0002077
2014-01-18 19:44 adoom42 Note Added: 0002081
2014-01-18 19:44 adoom42 Assigned To => adoom42
2014-01-18 19:44 adoom42 Status new => closed
2014-01-18 19:44 adoom42 Resolution open => fixed
2014-01-18 19:44 adoom42 Fixed in Version => 0.20.7
2014-01-18 19:44 adoom42 Target Version => 0.20.7
2018-11-14 14:51 infrastation Tag Detached: patch