Parcourir la source

Table view add cell colors for status in problems

Piotr Labudda il y a 11 ans
Parent
commit
4578094e1b
1 fichiers modifiés avec 10 ajouts et 1 suppressions
  1. 10 1
      SE/se-lib/TableAjax.php

+ 10 - 1
SE/se-lib/TableAjax.php

@@ -324,7 +324,7 @@ class TableAjax extends ViewAjax {
 .AjaxTable td, .AjaxTableEdit td,
 .AjaxTable th, .AjaxTableEdit th { border-color:#999; }
 
-/*  */
+/* cell A_STATUS */
 .AjaxTable .cell-A_STATUS-NORMAL { background:#aeffae; color:#000; text-align:center; }
 .AjaxTable .cell-A_STATUS-WAITING { background:#ffd2ff; color:#000; text-align:center; }
 .AjaxTable .cell-A_STATUS-MONITOR { background:#cccaff; color:#000; text-align:center; }
@@ -333,6 +333,15 @@ class TableAjax extends ViewAjax {
 .AjaxTable .cell-A_STATUS-OFF_SOFT { background:#fce3b7; color:#808080; text-align:center; }
 .AjaxTable .cell-A_STATUS-OFF_HARD { background:#eee; color:#808080; text-align:center; }
 
+/* cell Status */
+.AjaxTable .cell-Status-U  { background:rgb(0,176,80); color:#000; text-align:center; }
+.AjaxTable .cell-Status-NU { background:#f00; color:#000; text-align:center; }
+.AjaxTable .cell-Status-P  { background:rgb(112,48,160); color:#000; text-align:center; }
+.AjaxTable .cell-Status-PT { background:rgb(127,127,127); color:#000; text-align:center; }
+.AjaxTable .cell-Status-O  { background:rgb(0,176,240); color:#000; text-align:center; }
+.AjaxTable .cell-Status-DZ { background:rgb(0,112,192); color:#000; text-align:center; }
+.AjaxTable .cell-Status-Z  {}
+
 .AjaxTableCont .valign-btns-bottom a { vertical-align:text-bottom; font-weight:normal; font-size:12px; line-height:14px; }
 		</style>