Skip to content

Commit

Permalink
fix: cleanup tags on dashboard (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaser authored Nov 5, 2024
1 parent 5e02557 commit 0fc3e51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
$tailscale_dashboard = Utils::printDash($tr->tr("info.online"), $tailscaleDashInfo->Online);
$tailscale_dashboard .= Utils::printDash($tr->tr("info.hostname"), $tailscaleDashInfo->HostName);
$tailscale_dashboard .= Utils::printDash($tr->tr("info.dns"), $tailscaleDashInfo->DNSName);
$tailscale_dashboard .= Utils::printDash($tr->tr("info.ip"), implode("<br /><span class='w26'>&nbsp;</span>", $tailscaleDashInfo->TailscaleIPs));
$tailscale_dashboard .= Utils::printDash($tr->tr("info.ip"), implode("<br><span class='w26'>&nbsp;</span>", $tailscaleDashInfo->TailscaleIPs));
}

echo <<<EOT
<tbody title="Tailscale">
<tr><td>
<img style="margin-right: 8px; width: 32px; height: 32px" src="/plugins/tailscale/tailscale.png" /><div class='section'>Tailscale<br><span id='tailscale-temp'></span><br></div>
<img style="margin-right: 8px; width: 32px; height: 32px" src="/plugins/tailscale/tailscale.png" alt="Tailscale"><div class='section'>Tailscale<br><span id='tailscale-temp'></span><br></div>
<a href="/Settings/Tailscale" title="_(Settings)_"><i class="fa fa-fw fa-cog control"></i></a>
</td></tr>
{$tailscale_dashboard}
Expand Down

0 comments on commit 0fc3e51

Please sign in to comment.