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