The designer's scripts and body can be emitted separately to fit your own HTML template, just like the viewer.

Emit the JS and HTML parts into a template.
designer = StiDesigner()

if designer.processRequest(request):
    return designer.getFrameworkResponse()

report = StiReport()
report.loadFile(url_for('static', filename='reports/WebsiteAnalytics.mrt'))
designer.report = report

js = designer.javascript.getHtml()
html = designer.getHtml()
return render_template('...html', designerJavaScript=js, designerHtml=html)

How it works. Splitting the component into script and body lets you place the full dashboard designer inside a custom Jinja template.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.