

{% macro show_circuit_page(display_options, circuit_json, uid, min_width, min_height, view_format) %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% include "html/head_imports.html" %}
</head>
<body>

{% if not jupyter %}
<div style="
    position:absolute;
    top:0;bottom:0;left:0;right:0;
    margin:auto;resize:both;display:block;overflow:hidden;
    width:min({{ min_width }}, 100%);
    height:min({{ min_height }},100%);
    max-width:100%;
    max-height:100%;">
{% endif %}