{% if control==true %}
    <form id="interval" method="POST">
        <div class="row">
            <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label">Период</label>
                    {{ intervalDropdown| raw }}
                </div>
            </div>
            <div class="col-sm-3">
                <div class="form-group">
                    {% if timeDropdown %}
                        <label class="control-label">Максимальное время выполнения</label>
                        {{ timeDropdown| raw }}
                    {% endif %}
                </div>
            </div>
        </div>

    </form>
{% endif %}
<div class="panel">
    <div class="panel-heading">
        <div class="panel-control">
            <div class="btn-group">
                <button type="button" class="btn btn-default" data-toggle="dropdown"><i
                            class="demo-pli-gear icon-lg"></i></button>
                <ul class="dropdown-menu dropdown-menu-right">
                    <li><a href="{{ page_url }}">Перейти к графику</a></li>
                </ul>
            </div>
        </div>
        <h3 class="panel-title">{{ title }}</h3>
    </div>
    <div class="panel-body">
        <div style="height: {{ height }}px; padding: 0px; position: relative;" id="{{ id }}"></div>
    </div>
</div>


