diff --git a/projects/Demo/Demo/Demo.csproj b/projects/Demo/Demo/Demo.csproj index d149abe4..8c310f2c 100644 --- a/projects/Demo/Demo/Demo.csproj +++ b/projects/Demo/Demo/Demo.csproj @@ -20,7 +20,7 @@ - + diff --git a/projects/Demo/Demo/wwwroot/css/app.css b/projects/Demo/Demo/wwwroot/css/app.css index 761a0470..083e9d00 100644 --- a/projects/Demo/Demo/wwwroot/css/app.css +++ b/projects/Demo/Demo/wwwroot/css/app.css @@ -1,29 +1,26 @@ -@font-face { - font-family: 'Material Icons'; - font-style: normal; - font-weight: 400; - src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */ - src: local('Material Icons'), local('MaterialIcons-Regular'), url(../fonts/MaterialIcons-Regular.woff2) format('woff2'), url(../fonts/MaterialIcons-Regular.woff) format('woff'), url(../fonts/MaterialIcons-Regular.ttf) format('truetype'); -} - -.c-home-menu-list col { - text-align: center; -} - -.c-home-menu-list a { - display: block; - text-align: center; - color:#000; -} -.c-home-menu-list i { - font-size: 50px; - color:dodgerblue; -} - .field-validation-error, .field-validation-valid{ color:red; display:inline-block; height:20px; padding-right:1px; font-size:small; +} +.row{ + text-align:center; +} +.block-strong .row .button { + margin: 5px auto 0 auto; +} +.text-align-center { + text-align: center; +} +.float-left{ + float:left; +} +.float-right{ + float:right; +} +.col{ + text-align:center; + padding: 3px; } \ No newline at end of file diff --git a/projects/Demo/Demo/wwwroot/index.html b/projects/Demo/Demo/wwwroot/index.html index e418619c..3fa0fa55 100644 --- a/projects/Demo/Demo/wwwroot/index.html +++ b/projects/Demo/Demo/wwwroot/index.html @@ -19,17 +19,17 @@ - + {{Title}} - - - + + + - + {{message.DisplayName||message.Name}} @@ -63,21 +63,17 @@ - - - - - - + + + + - - - - - - - - + + + + + + @@ -148,8 +144,229 @@ - + + + 场景 + + + + {{sence.Name}} + + + + + + 监测 + + + + {{device.Name||device.DisplayName}} + + {{getData(device,"温度")}} + {{getData(device,"湿度")}} + + + {{getData(device,"二氧化碳")}} + + + {{getData(device,"光照强度")}} + + + {{getData(device,"粉尘")}} + + + + + + + 警报 + + + + {{device.Name||device.DisplayName}} + + {{getData(device,"状态")}} + + + + + + + 主机 + + + + {{device.Name||device.DisplayName}} + + {{getData(device,"计算机名")}} + + + + + + + 无线AP + + + + {{device.Name||device.DisplayName}} + + {{getData(device,"连接数")}} + + + + + + + 一路可调窗帘 + + + + {{device.Name||device.DisplayName}} + + {{getData(device,"状态")}} + + + 开 + 停 + 关 + + + + + + + + + 开 + 停 + 关 + + + + + + + 计量开关 + + + + {{device.Name||device.DisplayName}} + + + 开 + 关 + + + + + + + + + + 全开 + 全关 + + + + + + + 一路开关 + + + + {{device.Name||device.DisplayName}} + + + 开 + 关 + + + + + + + + + + 全开 + 全关 + + + + + + + 二路灯开关 + + + + {{device.Name||device.DisplayName}} + + + 全开 + 全关 + + + 开 + 关 + + + 开 + 关 + + + + + + + + + + 全开 + 全关 + + + + + + + 三路照明开关 + + + + {{device.Name||device.DisplayName}} + + + 全开 + 全关 + + + 开 + 关 + 开 + 关 + 开 + 关 + + + + + + + + + + 全开 + 全关 + + + + + @@ -165,215 +382,5 @@ -