-
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edc824d
commit 8423917
Showing
4 changed files
with
60 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
<MudNavMenu Style="width: 240px; overflow: hidden" Color="Color.Info"> | ||
<MudNavMenu Style="width: 64px; overflow-x: hidden" Color="Color.Info"> | ||
|
||
<MudNavLink Href="./" Match="NavLinkMatch.All"> | ||
<img src="./_content/Proto.Cluster.Dashboard/protosymbol.png" style="width: 32px;margin-left: -17px"> | ||
</MudNavLink> | ||
<MudNavLink Disabled="true"></MudNavLink> | ||
<MudNavLink Href="ClusterOverview" Match="NavLinkMatch.Prefix" Icon="@Icons.Filled.BarChart">Cluster Overview</MudNavLink> | ||
<MudNavLink Href="ClusterState" Match="NavLinkMatch.Prefix" Icon="@Icons.Filled.RemoveRedEye">Cluster State</MudNavLink> | ||
<MudNavLink Href="ActorDiagram" Match="NavLinkMatch.Prefix" Icon="@Icons.Filled.AccountTree">Actors</MudNavLink> | ||
<MudNavLink Href="ClusterDiagnostics" Match="NavLinkMatch.Prefix" Icon="@Icons.Filled.Medication">Diagnostics</MudNavLink> | ||
<ProtoNavLink Href="ClusterOverview" Icon="@Icons.Filled.BarChart">Cluster Overview</ProtoNavLink> | ||
<ProtoNavLink Href="ClusterState" Icon="@Icons.Filled.RemoveRedEye">Cluster State</ProtoNavLink> | ||
<ProtoNavLink Href="ActorDiagram" Icon="@Icons.Filled.AccountTree">Actors</ProtoNavLink> | ||
<ProtoNavLink Href="ClusterDiagnostics" Icon="@Icons.Filled.Medication">Diagnostics</ProtoNavLink> | ||
|
||
</MudNavMenu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<div> | ||
<MudMenu FullWidth="false" | ||
ActivationEvent="@MouseEvent.MouseOver" | ||
AnchorOrigin="Origin.CenterRight" | ||
TransformOrigin="Origin.CenterLeft" | ||
Variant="Variant.Filled" | ||
Color="Color.Secondary" | ||
> | ||
<ActivatorContent> | ||
<MudNavLink Href="@Href" Match="NavLinkMatch.Prefix" Icon="@Icon"></MudNavLink> | ||
</ActivatorContent> | ||
<ChildContent> | ||
<MudMenuItem Href="@Href" Match="NavLinkMatch.Prefix">@ChildContent</MudMenuItem> | ||
</ChildContent> | ||
</MudMenu> | ||
</div> | ||
|
||
@code { | ||
|
||
[Parameter] | ||
public string Href { get; set; } | ||
|
||
[Parameter] | ||
public string Icon { get; set; } | ||
|
||
[Parameter] | ||
public RenderFragment? ChildContent { get; set; } | ||
|
||
} |