mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-08-20 22:49:50 +02:00
.config
.run
.workdir
Agent
Common
Docker
Server
Phantom.Server
Phantom.Server.Database
Phantom.Server.Database.Postgres
Phantom.Server.Minecraft
Phantom.Server.Rpc
Phantom.Server.Services
Phantom.Server.Web
Base
Layout
MainLayout.razor
NavMenu.razor
NavMenu.razor.css
NavMenuItem.razor
NavMenuItem.razor.css
_Error.cshtml
_Error.cshtml.cs
_Host.cshtml
_Layout.cshtml
Pages
Shared
Utils
wwwroot
App.razor
Configuration.cs
Launcher.cs
Phantom.Server.Web.csproj
_Imports.razor
appsettings.json
Phantom.Server.Web.Bootstrap
Phantom.Server.Web.Components
Phantom.Server.Web.Identity
Utils
.dockerignore
.gitattributes
.gitignore
AddMigration.bat
AddMigration.sh
Directory.Build.props
Directory.Build.targets
Dockerfile
LICENSE
Packages.props
PhantomPanel.sln
README.md
global.json
25 lines
468 B
Plaintext
25 lines
468 B
Plaintext
<div class="nav-item">
|
|
<NavLink class="nav-link" href="@Href" Match="@Match">
|
|
@if (Icon != null) {
|
|
<span class="oi oi-@Icon" aria-hidden="true"></span>
|
|
}
|
|
<span class="nav-label">@Label</span>
|
|
</NavLink>
|
|
</div>
|
|
|
|
@code {
|
|
|
|
[Parameter]
|
|
public string Href { get; set; } = "";
|
|
|
|
[Parameter]
|
|
public NavLinkMatch Match { get; set; }
|
|
|
|
[Parameter]
|
|
public string? Icon { get; set; }
|
|
|
|
[Parameter]
|
|
public string Label { get; set; } = "";
|
|
|
|
}
|