Updated dependencies

This commit is contained in:
Eugene ;) 2020-07-27 21:31:23 +02:00
parent 0bf4b0a4d4
commit aad4ed0c87
6 changed files with 21 additions and 21 deletions

View File

@ -7,9 +7,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.5" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.5" />
<PackageReference Include="Radzen.Blazor" Version="2.10.9" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.6" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.6" />
<PackageReference Include="Radzen.Blazor" Version="2.11.1" />
</ItemGroup>

View File

@ -1,11 +1,12 @@

<Router AppAssembly="@typeof(Program).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
</Found>
<NotFound>
<LayoutView Layout="@typeof(MainLayout)">
<p>Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
<CascadingBlazoredModal DisableBackgroundCancel="true" HideCloseButton="true" HideHeader="true" Position="ModalPosition.Center">
<Router AppAssembly="@typeof(Program).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
</Found>
<NotFound>
<LayoutView Layout="@typeof(MainLayout)">
<p>Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
</CascadingBlazoredModal>

View File

@ -17,7 +17,7 @@ namespace Seenginx.Pages
public class NginxBase : ComponentBase
{
[Inject] public INginxService NginxService { get; set; }
[Inject] public IModalService Modal { get; set; }
[CascadingParameter] public IModalService Modal { get; set; }
public string InputSearch { get; set; }

View File

@ -47,6 +47,7 @@
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<script src="_content/Blazorise/blazorise.js"></script>
<script src="_content/Blazorise.Bulma/blazorise.bulma.js"></script>
<script src="_content/Blazored.Modal/blazored.modal.js"></script>
<script src="~/js/ace.js" type="text/javascript" charset="utf-8" asp-append-version="true"></script>
<script src="~/js/index.js" asp-append-version="true"></script>
</body>

View File

@ -18,10 +18,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Blazored.Modal" Version="4.1.0" />
<PackageReference Include="Blazorise.Bulma" Version="0.9.1.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="0.9.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.5" />
<PackageReference Include="Blazored.Modal" Version="5.0.2" />
<PackageReference Include="Blazorise.Bulma" Version="0.9.1.2" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="0.9.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.6" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.3" />
<PackageReference Include="Mono.Posix.NETStandard" Version="1.0.0" />
</ItemGroup>

View File

@ -11,5 +11,3 @@
</div>
</section>
<BlazoredModal DisableBackgroundCancel="true" HideCloseButton="true" HideHeader="true" Position="ModalPosition.Center" />