- Refactoring

- Action Button with Parameter
- Actor Action with Parameter
- Sensor Action with Parameter
This commit is contained in:
Manuel83
2017-11-29 22:37:18 +01:00
parent 13836a5680
commit 9b7908c9c5
41 changed files with 8098 additions and 271 deletions
@@ -1,11 +1,11 @@
from flask import Blueprint
from modules.core.core import cbpi, addon
from modules import cbpi
from flask_swagger import swagger
from flask import json
from flask import Blueprint
@addon.core.initializer(order=22)
@cbpi.addon.core.initializer(order=22)
def web(cbpi):
s = Blueprint('web_view', __name__, template_folder='templates', static_folder='static')
@@ -16,4 +16,4 @@ def web(cbpi):
cbpi.addon.core.add_menu_link("JQuery View", "/web_view")
cbpi._app.register_blueprint(s, url_prefix='/web_view')
cbpi.web.register_blueprint(s, url_prefix='/web_view')