Skip to content

Commit

Permalink
Change include files (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brano5 authored Jul 2, 2024
1 parent 2119c8f commit 79b4a91
Show file tree
Hide file tree
Showing 18 changed files with 10,977 additions and 19,539 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\css\" />
<Folder Include="wwwroot\js\" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@

protected override async Task OnAfterRenderAsync(bool firstRender)
{
if(firstRender)
await JSRuntime.InvokeAsync<IJSObjectReference>("import", "/_content/AXSharp.Presentation.Blazor.Controls/js/bootstrap.bundle.min.js");

if (_module == null)
_module = await JSRuntime.InvokeAsync<IJSObjectReference>("import", "/_content/AXSharp.Presentation.Blazor.Controls/js/addToolTipsAndPopOvers.js");
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ixBlazor.App</title>
<base href="~/" />
<link rel="stylesheet" href="/_content/AXSharp.Presentation.Blazor.Controls/css/ix-bootstrap.min.css">
<link rel="stylesheet" href="~/css/bootstrap/bootstrap.css">
<link href="css/site.css" rel="stylesheet" />

</head>
Expand All @@ -35,6 +35,6 @@
</div>

<script src="_framework/blazor.server.js"></script>
<script src="/_content/AXSharp.AXSharp.Presentation.Controls.Blazor-experimental/js/ix-bootstrap.bundle.min.js"></script>
<script src="~/js/bootstrap.bundle.min.js"></script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@inherits LayoutComponentBase

@inject IJSRuntime JSRuntime

<div class="sidebar">
<NavMenu />
</div>
Expand All @@ -10,3 +12,10 @@
</div>
</div>

@code {
protected override async Task OnAfterRenderAsync(bool firstRender)
{
var module = await JSRuntime.InvokeAsync<IJSObjectReference>("import", "/js/addToolTipsAndPopOvers.js");
await module.InvokeVoidAsync("addToolTipsAndPopOvers");
}
}
Loading

0 comments on commit 79b4a91

Please sign in to comment.