diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.css | 12 | ||||
-rw-r--r-- | templates/show_users.inc | 6 |
2 files changed, 15 insertions, 3 deletions
diff --git a/templates/default.css b/templates/default.css index 86e27c8b..186e8912 100644 --- a/templates/default.css +++ b/templates/default.css @@ -68,6 +68,17 @@ td { font-family: Verdana, Helvetica, sans-serif; font-size: 12px; } +.user_online { +background-color: green; +} +.user_offline { +background-color: #7f0000; +} +.user_disabled { +background-color: gray; +} + +/* End Online/Offline Style */ th { padding-right: 10px; } @@ -637,6 +648,7 @@ li.current-rating{ } + /* TV Page Related Styles */ #tv_control { float:left; diff --git a/templates/show_users.inc b/templates/show_users.inc index 3c0931e3..da6ecd2f 100644 --- a/templates/show_users.inc +++ b/templates/show_users.inc @@ -139,11 +139,11 @@ while ($results = mysql_fetch_object($db_result)) { </td> <?php if (($user->is_logged_in()) and ($user->is_online())) { - echo "<td bgcolor=\"green\"> </td>"; + echo "<td class=\"user_online\"> </td>"; } elseif ($user->disabled == 1) { - echo "<td bgcolor=\"gray\"> </td>"; + echo "<td class=\"user_disabled\"> </td>"; } else { - echo "<td bgcolor=\"#7f0000\"> </td>"; + echo "<td class=\"user_offline\"> </td>"; } ?> </tr> |