Skip to content

Commit

Permalink
Merge pull request #770 from linuxserver/swag-dashboard-change-icons
Browse files Browse the repository at this point in the history
Change auth icons in the proxies table
  • Loading branch information
quietsy authored Sep 27, 2023
2 parents 6bd7e3b + 3cb3e9e commit 1a37ded
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions root/dashboard/www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ function GetHeader() {
.far, .fas {
font-family: "Font Awesome 5 Free" !important;
}
.fa-exclamation-circle,.fa-check-circle, .fa-info-circle, .fa-edit, .fa-lock {
.fa-exclamation-circle,.fa-check-circle, .fa-info-circle, .fa-edit, .fa-lock, .fa-lock-open {
font-size:20px;
padding: 2px;
}
.fa-lock-open {
color: gray;
padding-left: 7px;
cursor: help;
}
.fa-check-circle, .fa-lock {
color: #5DB56A;
}
Expand Down Expand Up @@ -66,9 +71,9 @@ function GetProxies() {
$status .= '<i class="fas fa-check-circle"></i></td><td class="align-td">';
$auths = implode(PHP_EOL, $data->auths);
if ($data->auth_status == 1) {
$status .= '<i class="fas fa-check-circle" title="'.$auths.'"></i>';
$status .= '<i class="fas fa-lock" title="'.$auths.'"></i>';
} else {
$status .= '<i class="fas fa-exclamation-circle" title="'.$auths.'"></i>';
$status .= '<i class="fas fa-lock-open" title="'.$auths.'"></i>';
}
$status .= '</td><td class="left-text"><span class="status-text">'.$location.'</span></td>';
} else {
Expand Down

0 comments on commit 1a37ded

Please sign in to comment.