{%set loadUrl = data['url']['data'] + '&ajax=1' %}
{% if data['ajax'] == False %}
<!DOCTYPE html>
<html>
<head>
    {%include '../inc/header.html'%}
    <link href="{{static_url('mobile/css/station.css')}}" rel="stylesheet">
    {% if 'camera' in data and data['camera'] %}
    <link href="{{static_url('pc/lib/player/video-js.min.css')}}" rel="stylesheet">
    {% end %}
</head>

<body>
    {%set data['topName'] = data['info']['name'] %}
    {%set data['topUrl'] = '/device' %}
    {%include '../inc/top.html'%}
    <section class="has-bbar">
    	{% if 'camera' in data and data['camera'] %}
    	{% for k,v in enumerate(data['camera']) %}
    	<div class="form-group-head">{{v['name']}}</div>
        <section>
            <video id="player-{{k}}" class="box player video-js vjs-default-skin" controls>
              <source
                 src="{{v['value']}}"
                 type="application/x-mpegURL">
            </video>
        </section>
        {% end %}
        {% end %}

    	<div id="loadMain">
        {% end %}

        {% if 'pic' in data and data['pic'] %}
        {% for k,v in enumerate(data['pic']) %}
        <div class="form-group-head">{{v['name']}}</div>
        <section>
        	<img src="{{v['value']}}" width="100%">
        </section>
        {% end %}
        {% end %}
        {%include 'inc/data.html'%}
        {% if data['ajax'] == False %}
        </div>
    </section>
    {%include 'inc/menu.html'%}
{%include '../inc/script.html'%}
{%include '../../pc/device/inc/load.html'%}
</body>
</html>
{% end %}