From a8ec9d6d6a75640c8b182460a0349d90f31ba41f Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 3 Aug 2011 15:43:03 +0200 Subject: [PATCH] automated creation of entities --- htdocs/frontend/index.html | 9 +++---- htdocs/frontend/javascripts/wui.js | 37 ++++++++++++++++++++++++--- htdocs/frontend/stylesheets/style.css | 3 +-- 3 files changed, 39 insertions(+), 10 deletions(-) diff --git a/htdocs/frontend/index.html b/htdocs/frontend/index.html index 543e6fd..552ed6e 100644 --- a/htdocs/frontend/index.html +++ b/htdocs/frontend/index.html @@ -41,7 +41,7 @@
export - @@ -152,15 +152,14 @@ - + - +
EigenschaftWert
Middleware:
Typ:
Typ:
Öffentlich: ja   nein
Titel:
Titel:
Auflösung:
Kosten:

pro Wh

Beschreibung:
- -

+

Es wird ein neuer Kanal erstellt. Die Antwort der Middleware enthält dann die UUID.
Diese muss dann im Controller angegeben werden (z.B. AVR Net-IO).

diff --git a/htdocs/frontend/javascripts/wui.js b/htdocs/frontend/javascripts/wui.js index 4b89185..d2a666a 100644 --- a/htdocs/frontend/javascripts/wui.js +++ b/htdocs/frontend/javascripts/wui.js @@ -127,7 +127,11 @@ vz.wui.dialogs.init = function() { // show available entity types vz.capabilities.definitions.entities.each(function(index, def) { $('#entity-create select[name=type]').append( - $('