<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:tal="http://xml.zope.org/namespaces/tal"
    xmlns:metal="http://xml.zope.org/namespaces/metal"
    xmlns:i18n="http://xml.zope.org/namespaces/i18n"
    metal:use-macro="here/main_template/macros/master"
    i18n:domain="senaite.core">

<body>
    <metal:content-title fill-slot="content-title">
    <h1>
        <img tal:condition="view/icon | nothing"
             src="" tal:attributes="src view/icon"/>
        <span class="documentFirstHeading"
              tal:content="context/title"></span>
    </h1>
    </metal:content-title>

    <metal:content-description fill-slot="content-description">
    </metal:content-description>

    <metal:content-core fill-slot="content-core">

    <!-- Chart container -->
    <div class='chart-container'>
        <div class='chart-options'>
            <input type='hidden' id='selqcsample' name='selqcsample'>
            <label for='selanalyses'>Analysis</label>
            <select id='selanalyses' name='selanalyses'>
            </select>&nbsp;&nbsp;
            <label for='interpolation'>Interpolation</label>
            <select id='interpolation' name='interpolation'>
                <option value='basis' selected>Basis</option>
                <option value='cardinal'>Cardinal</option>
                <option value='linear'>Linear</option>
            </select>&nbsp;&nbsp;
            <a id='printgraph' class='print-16' href='#' i18n:translate="">Print</a>
        </div>
        <div id='chart'></div>
    </div>

    <!-- Reference Analyses table -->
    <tal:analysestable>
    <tal:parts replace="structure view/get_analyses_table"/>
    <input type="hidden" id='graphdata' tal:attributes="value view/get_analyses_json"/>
    </tal:analysestable>

    </metal:content-core>
</body>
</html>
