View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 1137 | RackTables | default | public | 2014-01-16 20:24 | 2018-11-14 14:51 |
| Reporter | WhiteTiger | Assigned To | adoom42 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.20.6 | ||||
| Target Version | 0.20.7 | Fixed in Version | 0.20.7 | ||
| Summary | 1137: coloring lines of objects with problems | ||||
| Description | Attached is the code to distinguish objects with problems coloring table rows with shades of red. | ||||
| Tags | interface | ||||
| Attached Files | 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']);
pi.css.diff (157 bytes)
191,199d178
< .row_even.has_problems {
< background-color: #ffa0a0;
< }
<
< .row_odd.has_problems {
< background-color: #FBBCBC;
< }
| ||||
|
changed files was: racktables/wwwroot/inc/interface.php racktables/wwwroot/css/pi.css |
|
| Thanks for the patch. | |
| 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 |