100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Introduction screens, settings updated, style fixes, lightning removed
Robind42399864cc6
diff --git a/frontend/.gitignore b/frontend/.gitignorenew file mode 100644index 000000000..fbe05fc93--- /dev/null+++ b/frontend/.gitignore@@ -0,0 +1 @@+bower_components/diff --git a/frontend/css/style.css b/frontend/css/style.cssnew file mode 100644index 000000000..5f37874cb--- /dev/null+++ b/frontend/css/style.css@@ -0,0 +1,327 @@+ a{+ color:#FFFFFF;+ text-decoration: none;+ font-weight: 100;+ font-family: 'Roboto', sans-serif;+ font-size:16px;+ }+ app-drawer-layout{+ position: relative;+ z-index: 9;++ }+ app-toolbar {+ height:56px;+ background-color: #374c4f;+ color:#FFFFFF;+ }+ .app-toolbar-custom{+ height:56px;++ }+ .header-layout{+ z-index:8;+ }+ #swiper-iron{+ width: 100%;+ }+ #swiper-iron .swiper-button-next,+ #swiper-iron .swiper-button-prev{+ top: auto;+ bottom: 0px;+ width: 20px;+ }+ #swiper-iron .swiper-pagination{+ background-color: #f2f2f2;+ padding:15px 0;+ }+ #swiper-iron .swiper-pagination-bullet{+ background: #374c4f;+ opacity: 1;+ }+ #swiper-iron .swiper-pagination-bullet-active{+ background:#c0d62e;+ }+ #swiper-iron .swiper-container #wrapper{+ height:100%;+ width:100%!important;+ }+ .main-header {+ box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.4);+ }+ .page-overlay{+ position: absolute;+ width:100%;+ height:100%;+ top:0;+ z-index: 99;+ }+ .page-overlay-inner{+ background-color: #f2f2f2;+ top:0;+ width:100%;+ height:100%;+ position: absolute;+ overflow-y:scroll;+ }+ .margin-left-auto{+ margin-left:auto;+ }+ paper-tabs {+ --paper-tabs-selection-bar-color: #c0d62e;+ color:black;+ background-color: rgba(255,255,255,1);+ height:54px;+ }+ input[type="date"],+ input[type="time"]{+ background-color: #374c4f;+ color:#FFFFFF;+ border:0;+ border-radius: 0;+ font-family: 'Roboto', sans-serif;+ font-weight:100;+ font-size:15px;+ max-width: 100px;+ padding: 5px 0 5px 10px;+ min-width:80px;+++ text-overflow: ellipsis;+ white-space: nowrap;+ overflow: hidden;+ text-align: center;+ text-align: -webkit-center;+ text-align-last:center;+++ -webkit-appearance: none;+ -moz-appearance: none;+ appearance: none;+ }+ paper-tab {+ --paper-tab-ink: #c0d62e;+ }+ [hidden] {+ display: none !important;+ }+ paper-toggle-button.green {+ margin-left: auto;+ float: right;+ opacity:1;+ --paper-toggle-button-checked-bar-color: #374c4f;+ --paper-toggle-button-checked-button-color: #c0d62e;+ --paper-toggle-button-checked-ink-color: #374c4f;+ }++ paper-toggle-button.green {+ float:none;+ margin:auto;+ overflow:hidden;+ }++ paper-toggle-button.green .toggle-label.paper-toggle-button {+ padding-left:0px;+ }+ paper-toggle-button.green[checked] #toggleBar{+ background-color: #374c4f;+ }+ .panel{+ background-color:rgba(255,255,255,0.87);+ margin:10px;+ border-radius: 5px;+ }+ .panel.transparent{+ background-color: transparent;+ }+ .inner-panel{+ padding:15px;+ }+ .inner-panel-10{+ padding:10px 15px;+ }+ .small {+ --iron-icon-height: auto;+ --iron-icon-width: 15px;+ }+ .normal {+ width:30px;+ height:30px;+ --iron-icon-height: 30px;+ --iron-icon-width: 30px;+ }+ .temp-icon {+ height:30px;+ width:30px;+ --iron-icon-height: 30px;+ --iron-icon-width: 30px;+ margin:0;+ }+ .large{+++ width:80px;+ height:80px;+ --iron-icon-height: 80px;+ --iron-icon-width: 80px;+ }+ .normal > ::content img {+ width:auto!important;+ }+ .big {+ --iron-icon-height: auto;+ --iron-icon-width: 72px;+ margin:auto;+ display: block;+ }+ .background-image{+ background-repeat: no-repeat;+ background-position: 0% 50%;+ background-size:120px auto;+ }+ .panel paper-toggle-button{+ margin:5px 0 0 0;+ }+ .panel .row span{+ margin-right: 20px;+ }+ .center{+ text-align: center;+ margin: auto;+ display: block;+ }+ .right{+ float:right;+ }+ .row{+ width:100%;+ margin:10px 0;+ clear:both;+ }++ .container {+ @apply(--layout-horizontal);+ }+ .container {+ margin:25px 0;+ position: relative;+ display: flex;+ flex-flow: row wrap;+ }+ .container.no-margin {+ margin:0;+ }+ .container.no-margin-bottom{+ margin-bottom:0px;+ }+ .container:first-child{+ margin-top:0px;+ }+ .container:last-child{+ margin-bottom:0px;+ }+ .item {+ box-sizing: border-box;+ padding: 10px;+ flex: 1;+ }+ .container-column {+ box-sizing: border-box;+ padding: 0;+ line-height:30px;+ }++ .container-column:first-child{+ padding-right:20px;+ }++ .container-column:nth-child(2){+ }+ .container-column.col_2:nth-child(2){+ }+ .container-column-3{+ }+ .container-column span{+ line-height:30px;+ }+ .container-column:last-child{+ margin-left: auto;+ }+ .celsius:after{+ content: "\00b0"+ }+ #settings-btn{+ color:#FFFFFF;+ }+ #tabsContent #selectionBar{+ height:3px;+ background-color: #c0d62e;+ }+ #contentWrapper.iron-dropdown > .dropdown-content{+ padding:0 10px;+ }+ .tab-link{+ text-decoration: none;+ color:rgba(0,0,0,0.67);+ display: flex;+ font-weight: normal;+ -ms-flex-direction: row;+ -webkit-flex-direction: row;+ flex-direction: row;+ -ms-flex-align: center;+ -webkit-align-items: center;+ align-items: center;+ -ms-flex-pack: center;+ -webkit-justify-content: center;+ justify-content: center;+ -ms-flex: 1 1 auto;+ -webkit-flex: 1 1 auto;+ flex: 1 1 auto;++ }+ #tabsContent paper-ripple #background{+ background-color: #c0d62e;+ }+ .iron-selected .tab-link{+ color:#000000 ;+ }+ .full_width{+ margin-top:20px;+ width:100%;+ }+ .bg-darkgreen{+ background-color: #374c4f;+ }+ .t-white{+ color:#FFFFFF;+ }+ .t-grey{+ color:rgba(0,0,0,0.67);+ }+ .t-black{+ color:#000000;+ }+ #continueButton,+ .paper-button-default{+ font-weight:100;+ padding:0.47em 0.57em+ }+ #continueButton{+ background-color: #374c4f;+ }+ #datePicker #heading{+ height:auto;+ }+ #datePicker #heading .year{+ display:none;+ }+ #datePicker #heading .date{+ font-size:24px;+ font-weight: normal;+ }+ @media screen and (max-width: 480px) {+ #dialog_date{+ width:100%!important;+ margin:0 10px;+ }+ }\ No newline at end of filediff --git a/frontend/images/blok61_icon.png b/frontend/images/blok61_icon.pngnew file mode 100644index 000000000..6c118e1a4Binary files /dev/null and b/frontend/images/blok61_icon.png differdiff --git a/frontend/images/blok61_logo.png b/frontend/images/blok61_logo.pngnew file mode 100644index 000000000..e4ebcb251Binary files /dev/null and b/frontend/images/blok61_logo.png differdiff --git a/frontend/images/intro-1.jpg b/frontend/images/intro-1.jpgnew file mode 100644index 000000000..40f43758bBinary files /dev/null and b/frontend/images/intro-1.jpg differdiff --git a/frontend/images/intro-2.jpg b/frontend/images/intro-2.jpgnew file mode 100644index 000000000..fbe3fb49dBinary files /dev/null and b/frontend/images/intro-2.jpg differdiff --git a/frontend/images/intro-3.jpg b/frontend/images/intro-3.jpgnew file mode 100644index 000000000..68c7f087aBinary files /dev/null and b/frontend/images/intro-3.jpg differdiff --git a/frontend/images/intro-text-2.png b/frontend/images/intro-text-2.pngnew file mode 100644index 000000000..c2ec6d729Binary files /dev/null and b/frontend/images/intro-text-2.png differdiff --git a/frontend/images/intro-text-3.png b/frontend/images/intro-text-3.pngnew file mode 100644index 000000000..f9d14d832Binary files /dev/null and b/frontend/images/intro-text-3.png differdiff --git a/frontend/images/intro-text.png b/frontend/images/intro-text.pngnew file mode 100644index 000000000..b659db160Binary files /dev/null and b/frontend/images/intro-text.png differdiff --git a/frontend/images/introductie-1.jpg b/frontend/images/introductie-1.jpgnew file mode 100644index 000000000..eb98ff551Binary files /dev/null and b/frontend/images/introductie-1.jpg differdiff --git a/frontend/images/introductie-2.jpg b/frontend/images/introductie-2.jpgnew file mode 100644index 000000000..95de9caefBinary files /dev/null and b/frontend/images/introductie-2.jpg differdiff --git a/frontend/images/introductie-3.jpg b/frontend/images/introductie-3.jpgnew file mode 100644index 000000000..8557623e2Binary files /dev/null and b/frontend/images/introductie-3.jpg differdiff --git a/frontend/images/lighting.png b/frontend/images/lighting.pngnew file mode 100644index 000000000..42249e6e3Binary files /dev/null and b/frontend/images/lighting.png differdiff --git a/frontend/images/panel/alarm_small_eye.png b/frontend/images/panel/alarm_small_eye.pngnew file mode 100644index 000000000..e8f3b19d8Binary files /dev/null and b/frontend/images/panel/alarm_small_eye.png differdiff --git a/frontend/images/panel/temperature.png b/frontend/images/panel/temperature.pngnew file mode 100644index 000000000..7abb2b09aBinary files /dev/null and b/frontend/images/panel/temperature.png differdiff --git a/frontend/src/openremote-wizard.html b/frontend/src/openremote-wizard.htmlnew file mode 100644index 000000000..8c7378f62--- /dev/null+++ b/frontend/src/openremote-wizard.html@@ -0,0 +1,83 @@+<html><head><link rel="import" href="../bower_components/paper-stepper/paper-stepper.html">+<link rel="import" href="../bower_components/paper-stepper/paper-step.html">++<link rel="import" href="components/template-scenes-input.html">++</head><body><dom-module id="openremote-wizard">+ <template>+ <style is="custom-style">+ #stepper {+ background-color: transparent;+ box-shadow: none;+ }+ paper-button.default-button {+ background: #c0d62e;+ color:#FFFFFF;+ float:right;+ }+ paper-step > ::content #buttonsWrapper.step-vertical > #continueButton.step-vertical{+ margin-right: 0;+ margin-left: auto;+ }+ paper-step > ::content #textWrapper.step-vertical{+ width: 100%;+ text-align: center;+ padding:12px 0;+ }+ paper-step > ::content #badge.step-vertical{+ margin:0;+ }+ paper-step > ::content #contentConnectorLine.step-vertical{+ margin-left: 0;+ background: none;+ }+ paper-step > ::content #stepWrapper{+ padding-top:10px;+ }+ paper-step > ::content #badge.step-vertical{+ background-color: transparent;+ border:2px solid #c0d62e;+ width: 20px;+ height: 20px;+ }+ paper-step > ::content #label:hover #badge.step-vertical{+ background-color: #c0d62e;+ }+ paper-step > ::content #connectedBadge{+ position: absolute;+ right:20px;+ }+ paper-step{+ background-color: #FFFFFF;+ border-radius: 5px;+ margin-bottom: 10px;++ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);+ }+ </style>++ <paper-stepper on-paper-stepper-completed="completed" on-paper-stepper-progression="progress" id="stepper" vertical="" continue-text="Next" finish-text="Finish">+ <paper-step label="Home" editable><template-scenes-input></template-scenes-input></paper-step>+ <paper-step label="Away" editable><template-scenes-input></template-scenes-input></paper-step>+ <paper-step label="Evening" editable><template-scenes-input></template-scenes-input></paper-step>+ <paper-step label="Night" editable><template-scenes-input></template-scenes-input></paper-step>+ </paper-stepper>+ </template>++ <script>Polymer({+ is:"openremote-wizard",+ listeners: {+ 'completed': 'completed',+ 'progress': 'progress',+ },+ progress: function(e){+ },+ completed: function(e) {+ stepper = document.getElementById('stepper');+ stepper.reset();+ localStorage.setItem("settings", "qweqweqwe");+ window.location = '#/Home'+ },+ });+ </script>+</dom-module></body></html>\ No newline at end of file