Skip to content

Commit 1a37ded

Browse files
authored
Merge pull request #770 from linuxserver/swag-dashboard-change-icons
Change auth icons in the proxies table
2 parents 6bd7e3b + 3cb3e9e commit 1a37ded

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

root/dashboard/www/index.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,15 @@ function GetHeader() {
2424
.far, .fas {
2525
font-family: "Font Awesome 5 Free" !important;
2626
}
27-
.fa-exclamation-circle,.fa-check-circle, .fa-info-circle, .fa-edit, .fa-lock {
27+
.fa-exclamation-circle,.fa-check-circle, .fa-info-circle, .fa-edit, .fa-lock, .fa-lock-open {
2828
font-size:20px;
2929
padding: 2px;
3030
}
31+
.fa-lock-open {
32+
color: gray;
33+
padding-left: 7px;
34+
cursor: help;
35+
}
3136
.fa-check-circle, .fa-lock {
3237
color: #5DB56A;
3338
}
@@ -66,9 +71,9 @@ function GetProxies() {
6671
$status .= '<i class="fas fa-check-circle"></i></td><td class="align-td">';
6772
$auths = implode(PHP_EOL, $data->auths);
6873
if ($data->auth_status == 1) {
69-
$status .= '<i class="fas fa-check-circle" title="'.$auths.'"></i>';
74+
$status .= '<i class="fas fa-lock" title="'.$auths.'"></i>';
7075
} else {
71-
$status .= '<i class="fas fa-exclamation-circle" title="'.$auths.'"></i>';
76+
$status .= '<i class="fas fa-lock-open" title="'.$auths.'"></i>';
7277
}
7378
$status .= '</td><td class="left-text"><span class="status-text">'.$location.'</span></td>';
7479
} else {

0 commit comments

Comments
 (0)