mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-24 20:28:59 +08:00
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
@using Microsoft.AspNetCore.Components.Web;
|
|
@using Microsoft.JSInterop;
|
|
@using ThingsGateway.Debug
|
|
@using ThingsGateway.Extension
|
|
@using ThingsGateway.Foundation
|
|
@using BootstrapBlazor.Components
|
|
@namespace ThingsGateway.Upgrade
|
|
|
|
<div class=@($"{ClassString} row my-2 mx-2") style="min-height:500px;height: 50%;">
|
|
|
|
<div class="col-3 h-100">
|
|
|
|
<div class="row mx-1 form-inline mt-2">
|
|
|
|
<div class="col-12 col-md-8 p-1">
|
|
|
|
<Button IsAsync Color="Color.Primary" OnClick="OnUpdate">@GatewayLocalizer["Update"]</Button>
|
|
|
|
</div>
|
|
<div class="col-12 col-md-4 p-1">
|
|
|
|
<Button IsAsync Color="Color.Primary" OnClick="OnRestart">
|
|
@GatewayLocalizer["Restart"]
|
|
</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<Divider />
|
|
|
|
|
|
|
|
</div>
|
|
<div class="col-9 ">
|
|
@if (Logger != null)
|
|
{
|
|
<LogConsole HeightString="500px" LogLevel=@(Logger.LogLevel) LogLevelChanged="(a)=>{
|
|
Logger.LogLevel=a;
|
|
}" LogPath=@LogPath HeaderText=@HeaderText></LogConsole>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|