<html>
    <head>
        <script src="{{ kg['tpl_url'] }}script/jquery.min.js"></script>
    </head>
    <body style="margin:0; padding:50px 0 0 0;">
        <div style="width:400px; font-size:14px; margin:0 auto; padding:10px; line-height:30px; text-align:center; background:#EEE; color:#666; font-family:'微软雅黑'; border:1px #999 solid;">
        客服总数：<font color="#FF0000">{{count}}</font>，正在同步第 <font color="#FF0000">{{index}}</font> 个客服信息 ...<br />
        客服名称：{{cs_info["kf_nick"]}}<br />
        数据同步完成时系统会自动关闭当前窗口<br />
        剩余 <font color="#FF0000">{{count - index}}</font> ，请稍候 ...
        </div>
    </body>
</html>
{% if end == 1 %}
<script>
    $(function(){
        setTimeout(function(){
            window.close();
        }, 1000);
    })
</script>
{% else %}
<meta http-equiv="refresh" content="0;URL=wx_cs_manage?action=syn&index={{index}}" />
{% endif %}
