Example #1
0
def config():
    controller = ConfigController(current_app.config)
    return Response(render_template('config.js', data=controller.get()),
                    mimetype='application/javascript')
Example #2
0
def config_password():
    return ConfigController().password()
Example #3
0
def get_password(username):
    return ConfigController().check_password(username)
Example #4
0
def config_subscription(id):
    return ConfigController().subscription(id)
Example #5
0
def config_notification(id):
    return ConfigController().notification(id)
Example #6
0
def config_sensor(id):
    return ConfigController().sensor(id)
Example #7
0
def config_location(id):
    return ConfigController().location(id)
Example #8
0
def config_config():
    return ConfigController().complete_config()