<!DOCTYPE html>
<html>
<head>
    {%include '../inc/header.html'%}
    <link href="{{static_url('mobile/css/records.css')}}" rel="stylesheet">
</head>
<body>
    <section class="m-wrapper">
        {%include 'menu.html'%}
    </section>

    <section class="m-wrapper">
        {% for v in data['list'] %}
        {%set v = data['cate'][v] %}
        <h2>{{v['name']}}</h2>
        <section class="grid">
            <dl>
                <dt>
                    <p>日期</p>
                    <p>{{v['name']}}</p>
                    <p>用量</p>
                </dt>
                {% for v1 in v['work'] %}
                <dd>
                    <p><span>{{v1['workdates']}}</span></p><p><span>{{v1['content']}}</span></p><p><span>{{v1['amount']}}</span></p>
                </dd>
                {% end %}
            </dl>
        </section>
        {% end %}
    </section>

{%include '../inc/script.html'%}
</body>
</html>
