openhab-webui/bundles/org.openhab.ui.basic
lolodomo 9e48ad8693
[BasicUI] Fix update of buttons (switch element) (#2538)
Fix #2537

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-04-21 11:40:15 +02:00
..
doc improve Maven + Bnd layout and settings (#44) 2019-04-05 08:28:49 +02:00
src/main New Crowdin updates (#2528) 2024-04-12 12:37:18 +00:00
web-src [BasicUI] Fix update of buttons (switch element) (#2538) 2024-04-21 11:40:15 +02:00
.classpath Update Eclipse .classpath files (#1603) 2022-12-23 16:55:26 +01:00
.gitignore [BasicUI] Move most of app settings to per-device (browser) settings (#2243) 2024-03-03 10:22:17 +01:00
.project improve Maven + Bnd layout and settings (#44) 2019-04-05 08:28:49 +02:00
BasicUI Setup.launch Switch to Java 11 and drop Java 8 support (#160) 2020-01-12 22:33:58 +01:00
CONTRIBUTING.md Upgrade from webpack v4 to v5 (#2267) 2024-01-31 00:32:56 +01:00
NOTICE [basicui] Remove roboto font leftovers (#1719) 2023-02-21 19:45:46 +01:00
README.md [BasicUI] Add more examples of valid/invalid URLs in README (#1823) 2023-05-09 12:07:21 +02:00
eslint.json improve Maven + Bnd layout and settings (#44) 2019-04-05 08:28:49 +02:00
gulpfile.js [BasicUI] Move most of app settings to per-device (browser) settings (#2243) 2024-03-03 10:22:17 +01:00
package-lock.json Bump tar from 6.1.13 to 6.2.1 in /bundles/org.openhab.ui.basic (#2531) 2024-04-20 21:21:07 +02:00
package.json [BasicUI] Upgrade to last version of Material icons (#2016) 2023-08-16 10:16:45 +02:00
pom.xml Apply spotless after release 2023-12-22 23:33:18 +01:00

README.md

Basic UI

The Basic UI is a web interface based on Material Design Lite from Google.

Features

  • Responsive layout suitable for various screen sizes
  • AJAX navigation
  • Live update

Configuration

org.openhab.basicui:defaultSitemap=demo
# Icons can be disabled
org.openhab.basicui:enableIcons=true
# Icons can be shown as PNG or SVG images
# Default: PNG
org.openhab.basicui:iconType=svg

Accessing Sitemaps

The Basic UI has a default layout showing all things and their corresponding items. You may create your own sitemaps and access them through the basic UI in 2 ways.

  1. Set the default sitemap via the UI via Settings -> Basic UI -> Configure, and set the Default Sitemap name.

  2. Passing the "sitemap" parameter to the URL used to access the server.

Examples:

  1. http://hostname:8080/basicui/app is a valid URL to load your default sitemap or to get a page listing all defined sitemaps when no default sitemap is configured.
  2. http://hostname:8080/basicui/app?sitemap=sitemapname is a valid URL to load a particular sitemap.
  3. http://hostname:8080/basicui/app/ is an invalid URL due to trailing slash.
  4. http://hostname:8080/basicui/app?sitemap=sitemapname/ is an invalid URL due to trailing slash.

Screenshots:

Screenshot 1 Screenshot 2