diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php index adc4dcf..4be246f 100644 --- a/root/dashboard/www/index.php +++ b/root/dashboard/www/index.php @@ -22,7 +22,7 @@ padding-right: 20px; } .far, .fas { - font-family: "Font Awesome 5 Free" !important; + font-family: "Font Awesome 5 Free" !important; } .fa-exclamation-circle,.fa-check-circle, .fa-info-circle, .fa-edit, .fa-lock { font-size:20px; @@ -139,7 +139,13 @@ $tooltip = ""; $files = ""; $counter = 1; + $conf_locations = array( + "subdomain.conf" => "https://github.com/linuxserver/reverse-proxy-confs/blob/master/", + "subfolder.conf" => "https://github.com/linuxserver/reverse-proxy-confs/blob/master/", + "dashboard.subdomain.conf" => "https://github.com/linuxserver/docker-mods/blob/swag-dashboard/root/dashboard/", + ); $output = shell_exec("/etc/cont-init.d/70-templates"); + foreach(explode(PHP_EOL, $output) as $line) { if(substr($line, 0, 1) === "*"){ $tooltip .= str_replace("*", "", $line).PHP_EOL; @@ -147,7 +153,16 @@ $tr_class = ($counter % 2 == 0) ? 'shaded' : ''; $files .= '