mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-20 10:50:48 +08:00
调整UI
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<PluginVersion>10.11.65</PluginVersion>
|
||||
<ProPluginVersion>10.11.65</ProPluginVersion>
|
||||
<DefaultVersion>10.11.65</DefaultVersion>
|
||||
<PluginVersion>10.11.66</PluginVersion>
|
||||
<ProPluginVersion>10.11.66</ProPluginVersion>
|
||||
<DefaultVersion>10.11.66</DefaultVersion>
|
||||
<AuthenticationVersion>10.11.6</AuthenticationVersion>
|
||||
<SourceGeneratorVersion>10.11.6</SourceGeneratorVersion>
|
||||
<NET8Version>8.0.20</NET8Version>
|
||||
|
@@ -13,7 +13,7 @@ namespace ThingsGateway.Gateway.Razor;
|
||||
public partial class ChannelRuntimeInfo
|
||||
{
|
||||
#if !Management
|
||||
private string Height { get; set; } = "calc(100% - 270px)";
|
||||
private string Height { get; set; } = "calc(100% - 300px)";
|
||||
#else
|
||||
private string Height { get; set; } = "calc(100% - 330px)";
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
<DeviceRuntimeInfo1 DeviceRuntime="DeviceRuntime" />
|
||||
|
||||
<LogConsole HeightString="calc(100% - 270px)" LogLevel=@(LogLevel)
|
||||
<LogConsole HeightString=@Height LogLevel=@(LogLevel)
|
||||
LogLevelChanged="async (logLevel)=>
|
||||
{
|
||||
LogLevel = logLevel;
|
||||
|
@@ -12,6 +12,13 @@ namespace ThingsGateway.Gateway.Razor;
|
||||
|
||||
public partial class DeviceRuntimeInfo
|
||||
{
|
||||
|
||||
#if !Management
|
||||
private string Height { get; set; } = "calc(100% - 300px)";
|
||||
#else
|
||||
private string Height { get; set; } = "calc(100% - 330px)";
|
||||
#endif
|
||||
|
||||
[Parameter, EditorRequired]
|
||||
public DeviceRuntime DeviceRuntime { get; set; }
|
||||
|
||||
|
@@ -77,7 +77,7 @@ ShowDesign=true;}" />
|
||||
</RowButtonTemplate>
|
||||
</AdminTable>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 h-100">
|
||||
<div class="col-12 col-sm-6 h-100 ps-2">
|
||||
|
||||
<RulesStatus RulesId="RulesId"></RulesStatus>
|
||||
</div>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
@if (_rules != null)
|
||||
{
|
||||
<LogConsole HeightString="100%" LogLevel=@(LogLevel) LogLevelChanged="(a)=>{
|
||||
<LogConsole HeightString="calc(100% - 50px)" LogLevel=@(LogLevel) LogLevelChanged="(a)=>{
|
||||
LogLevel=a;
|
||||
return RulesEngineHostedService.SetRulesLogLevelAsync(RulesId, a);
|
||||
}" LogPath=@LogPath HeaderText="@_rules.Name"></LogConsole>
|
||||
|
Reference in New Issue
Block a user