Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor

Christian Bauer549b1bbd16bd
diff --git a/README.md b/README.md
index 4b92dd78a..4658240ba 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,10 @@
---
+#### This is pre-alpha software under development, we are working on internal Milestone 2. Older code we are currently migrating can be found [in the M1 repository](https://github.com/openremote/or-controller).
+
+---
+
* **Live Demo**: http://demo2.openremote.com (test/test)
* **Docker Images**: https://hub.docker.com/u/openremote/
* **Documentation/Wiki:** https://github.com/openremote/openremote/wiki
@@ -47,9 +51,13 @@ The default configuration of all `*Service` classes is for host IP `192.168.99.1
The GWT compiler will listen for compilation requests and produce Javascript code from our Java code. Start and keep it running in the background with `./gradlew -p manager gwtSuperDev`.
-### Import project to Eclipse (optional)
+### Import into IntelliJ IDEA
+
+- Create a "New Project From Existing Sources" and import as a Gradle project
+
+### Import project to Eclipse
-- run `./gradlew eclipse`
+- Run `./gradlew eclipse`
- In Eclipse go to File > Import and import the project as "Existing Projects into Workspace"
### Run Manager server
diff --git a/manager/src/main/java/org/openremote/manager/client/app/AppViewImpl.ui.xml b/manager/src/main/java/org/openremote/manager/client/app/AppViewImpl.ui.xml
index 6406a3e4a..6cc5e0283 100644
--- a/manager/src/main/java/org/openremote/manager/client/app/AppViewImpl.ui.xml
+++ b/manager/src/main/java/org/openremote/manager/client/app/AppViewImpl.ui.xml
@@ -2,15 +2,25 @@
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
+ .viewport {
+ width: 100%;
+ height: 100vh;
+ min-height: 100%;
+ margin: 0;
+ }
+
+ .content {
+ overflow: auto;
+ }
</ui:style>
<ui:with field="constants" type="org.openremote.manager.client.i18n.ManagerConstants"/>
<ui:with field="themeStyle" type="org.openremote.manager.client.ThemeStyle"/>
- <g:FlowPanel styleName="layout vertical viewport">
- <g:SimplePanel ui:field="header" styleName="layout horizontal header"/>
- <g:SimplePanel ui:field="content" styleName="flex layout vertical content"/>
- <g:SimplePanel ui:field="footer" styleName="layout horizontal footer"/>
+ <g:FlowPanel styleName="layout vertical" addStyleNames="{style.viewport}">
+ <g:SimplePanel ui:field="header" styleName="layout horizontal"/>
+ <g:SimplePanel ui:field="content" styleName="flex layout vertical" addStyleNames="{style.content}"/>
+ <g:SimplePanel ui:field="footer" styleName="layout horizontal"/>
</g:FlowPanel>
</ui:UiBinder>
\ No newline at end of file
diff --git a/manager/src/main/java/org/openremote/manager/client/app/HeaderViewImpl.ui.xml b/manager/src/main/java/org/openremote/manager/client/app/HeaderViewImpl.ui.xml
index cafd70dc7..0269ba3f6 100644
--- a/manager/src/main/java/org/openremote/manager/client/app/HeaderViewImpl.ui.xml
+++ b/manager/src/main/java/org/openremote/manager/client/app/HeaderViewImpl.ui.xml
@@ -38,7 +38,7 @@
addStyleNames="{style.navItem} {themeStyle.NavItem}"
waves="LIGHT">
<g:HTMLPanel addStyleNames="{style.iconButton}" styleName="layout horizontal center">
- <svg style="pointer-events: none; display: block; height: 80%;" viewBox="0 0 24 24"
+ <svg style="pointer-events: none; display: block; height: 80%; margin-right: 15px;" viewBox="0 0 24 24"
preserveAspectRatio="xMidYMid meet">
<path fill="#C4D600"
d="M11.93,21.851c-5.551,0-10.066-4.515-10.066-10.065h2.108c0,4.388,3.57,7.958,7.958,7.958 c4.387,0,7.958-3.57,7.958-7.958c0-4.388-3.57-7.958-7.958-7.958V1.72c5.55,0,10.066,4.517,10.066,10.066 C21.996,17.336,17.48,21.851,11.93,21.851L11.93,21.851z"/>
diff --git a/manager/src/main/webapp/css/style.html b/manager/src/main/webapp/css/style.html
index 73a3ab64e..cd12bfffb 100644
--- a/manager/src/main/webapp/css/style.html
+++ b/manager/src/main/webapp/css/style.html
@@ -21,26 +21,14 @@
font-weight: 500 !important;
}
- html, body, .viewport {
+ html, body {
width: 100%;
height: 100vh;
min-height: 100%;
margin: 0;
}
- .content {
- overflow: auto;
- z-index: -1;
- }
-
- .theme-Header {
- background-color: var(--theme-black);
- color: var(--theme-white);
- -webkit-box-shadow: 0px 4px 14px -4px rgba(0,0,0,0.75);
- -moz-box-shadow: 0px 4px 14px -4px rgba(0,0,0,0.75);
- box-shadow: 0px 4px 14px -4px rgba(0,0,0,0.75);
- }
-
+ .theme-Header,
.theme-Footer {
background-color: var(--theme-black);
color: var(--theme-white);