diff --git a/projects/Infrastructure/Infrastructure.csproj b/projects/Infrastructure/Infrastructure.csproj index f1ce6b9e..28d5daee 100644 --- a/projects/Infrastructure/Infrastructure.csproj +++ b/projects/Infrastructure/Infrastructure.csproj @@ -28,7 +28,7 @@ - + diff --git a/projects/IoTCenter/Areas/Admin/Views/Home/Index.cshtml b/projects/IoTCenter/Areas/Admin/Views/Home/Index.cshtml index 9f7a7fec..c1f35897 100644 --- a/projects/IoTCenter/Areas/Admin/Views/Home/Index.cshtml +++ b/projects/IoTCenter/Areas/Admin/Views/Home/Index.cshtml @@ -4,26 +4,6 @@ ViewData["IsHomePage"] = true; var max = env.IsDevelopment() ? 10 : 1; } -
-

节点

- @for (int i = 0; i < max; i++) - { - foreach (var item in Model.Nodes) - { -
-
-
-

@item.Name

-
设备:@item.DeviceCount
-
- - @item.Name - -
-
- } - } -

分类

@foreach (var item in Model.Categories) @@ -57,4 +37,24 @@
} + +
+

节点

+ @for (int i = 0; i < max; i++) + { + foreach (var item in Model.Nodes) + { +
+
+
+

@item.Name

+
设备:@item.DeviceCount
+
+ + @item.Name + +
+
+ } + }
\ No newline at end of file diff --git a/projects/IoTCenter/Views/Home/Index.cshtml b/projects/IoTCenter/Views/Home/Index.cshtml index de84629f..05056590 100644 --- a/projects/IoTCenter/Views/Home/Index.cshtml +++ b/projects/IoTCenter/Views/Home/Index.cshtml @@ -22,8 +22,8 @@ @HtmlTitle | @cfg["name"] - -
+ +
+ +