diff --git a/projects/IoTCenter/IoTCenter.csproj b/projects/IoTCenter/IoTCenter.csproj
index 531ada5d..891a350f 100644
--- a/projects/IoTCenter/IoTCenter.csproj
+++ b/projects/IoTCenter/IoTCenter.csproj
@@ -6,8 +6,10 @@
+
+
diff --git a/projects/IoTCenter/Views/Home/Node.cshtml b/projects/IoTCenter/Views/Home/Node.cshtml
index 955a7258..31d07315 100644
--- a/projects/IoTCenter/Views/Home/Node.cshtml
+++ b/projects/IoTCenter/Views/Home/Node.cshtml
@@ -74,7 +74,7 @@
}
.btns {
- padding: 0 18px;
+ padding: 10.5px;
}
.btns .btn {
@@ -84,6 +84,57 @@
.ptz img, .control img {
cursor: pointer;
}
+
+ label.button input {
+ display: none;
+ }
+
+ label.button {
+ display: inline-block;
+ padding: 0 10px;
+ line-height: 30px;
+ background-color: cadetblue;
+ color: #FFF;
+ vertical-align: middle;
+ border-radius: 15px;
+ text-align: center;
+ }
+
+ input[type=range] {
+ -webkit-appearance: none;
+ height: 25px;
+ }
+
+ input[type=range]::-webkit-slider-runnable-track {
+ width: 300px;
+ height: 5px;
+ background: #ddd;
+ border: none;
+ border-radius: 3px;
+ }
+
+ input[type=range]::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ border: none;
+ height: 16px;
+ width: 16px;
+ border-radius: 50%;
+ background-color: Highlight;
+ margin-top: -5px;
+ }
+
+ input[type=range]:focus {
+ outline: none;
+ }
+
+ input[type=range]:focus::-webkit-slider-runnable-track {
+ background: #ccc;
+ }
+
+ canvas {
+ width: 100%;
+ height: 215px;
+ }
@HtmlTitle | @cfg["name"]
diff --git a/projects/IoTCenter/wwwroot/node.default.html b/projects/IoTCenter/wwwroot/node.default.html
index ce5437d3..3d1490af 100644
--- a/projects/IoTCenter/wwwroot/node.default.html
+++ b/projects/IoTCenter/wwwroot/node.default.html
@@ -140,35 +140,35 @@
@@ -252,6 +252,7 @@
+
@@ -297,6 +298,72 @@
+
+
+
+
+ {{device.Name||device.DisplayName}}
+
+
+
+