Former-commit-id: 1a4e7732cd0ea839964735c8a9a95c2428330826
Former-commit-id: 671b5bf8f5a1c1a965c6c6a321799ee6ed0f0aad
1.0
wanggang 5 years ago
parent 8fca3b1596
commit 364fc128ba

@ -0,0 +1 @@
@Html.CheckBox("", new { disabled = "disabled", style = "width:20px;height:20px;margin:2px 0;" })

@ -15,14 +15,7 @@
@Html.Label(prop.PropertyName, prop.GetDisplayName() + "", new { @class = "col-sm-2 col-form-label" })
<div class="col-sm-8">
<div class="form-control form-control-display">
@if (prop.UnderlyingOrModelType == typeof(bool))
{
@Html.CheckBox(prop.PropertyName, new { disabled = "disabled", style = "width:20px;height:20px;margin:2px 0;" })
}
else
{
@Html.Display(prop.PropertyName, uihit)
}
@Html.Display(prop.PropertyName, uihit)
</div>
</div>
</div>

@ -29,6 +29,7 @@ namespace IoT.Shared.Application.Models
public string Image { get; set; }
[Display(Name = "版本")]
[ReadOnly(true)]
public string Version { get; set; }
[Display(Name = "序号")]

@ -6,7 +6,6 @@ using IoT.Shared.Application.Domain.Entities;
using IoT.Shared.Application.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;

@ -249,6 +249,8 @@ CREATE INDEX "IX_iot_RolePermission_PermissionId" ON "iot_RolePermission" ("Perm
CREATE UNIQUE INDEX "IX_iot_RolePermission_RoleId_PermissionId" ON "iot_RolePermission" ("RoleId", "PermissionId");
CREATE UNIQUE INDEX "IX_iot_Setting_Name" ON "iot_Setting" ("Name");
CREATE UNIQUE INDEX "IX_iot_User_Email" ON "iot_User" ("Email");
CREATE UNIQUE INDEX "IX_iot_User_UserName" ON "iot_User" ("UserName");

Loading…
Cancel
Save