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.
31 lines
801 B
31 lines
801 B
from dash import html
|
|
import feffery_utils_components as fuc
|
|
from config.global_config import ApiBaseUrlConfig
|
|
|
|
|
|
def render(*args, **kwargs):
|
|
|
|
return [
|
|
html.Div(
|
|
[
|
|
fuc.FefferyStyle(
|
|
rawStyle="""
|
|
iframe {
|
|
border: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block
|
|
}
|
|
"""
|
|
),
|
|
html.Iframe(
|
|
src=f'{ApiBaseUrlConfig.BaseUrl}/docs'
|
|
)
|
|
],
|
|
id='swagger-docs-container',
|
|
style={
|
|
'position': 'relative',
|
|
'height': 'calc(100vh - 120px)'
|
|
}
|
|
)
|
|
]
|
|
|