You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
501 B

from dash import dcc, html
from flask import session
from config.global_config import DSUrlConfig
def render(*args, **kwargs):
return html.Div(
[
html.Iframe(
id='project-iframe',
src=DSUrlConfig.DSUrl+'/datasource?userName='+session.get('user_info').get('user_name')+"&password="+session.get('user_info').get('password'),
style={'width': '100%', 'height': 'calc(100vh - 122px)', 'border': 'none'}
)
]
)