{$layout}

{$var "header"}
<!-- echart -->
<script type="text/javascript" src="/js/echarts/echarts.min.js"></script>
{$end}

{$template "/left_menu"}
<div class="right-box">
    {$ if eq .statIsOn false}
    <p class="ui message">
        要想查看统计数据，需要先开启统计功能，<a :href="'/servers/server/settings/stat?serverId=' + serverId">[点击这里]</a>修改配置。
    </p>
    {$else}
    <h4>运营商排行</h4>
    <div class="chart-box" id="provider-chart"></div>
    {$end}
</div>