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/SimpleList.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 designer inside a custom Jinja template.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.