{$layout}

{$var "header"}
<!-- echart -->
<script type="text/javascript" src="/js/echarts/echarts.min.js"></script>
<link rel="stylesheet" href="/_/@default/servers/server/stat/providers.less" media="all" />
{$end}

{$template "/servers/server/settings/settings_menu"}
{$template "/left_menu"}

<div class="http-config-container">
    {$ if eq .statIsOn false}
    <div class="audit-message warning">
        <i class="icon warning circle"></i>
        要想查看统计数据，需要先开启统计功能，<a :href="'/servers/server/settings/stat?serverId=' + serverId">点击这里</a>修改配置。
    </div>
    {$else}
    <div class="config-section">
        <div class="section-title">
            <i class="icon server"></i>
            运营商排行
        </div>
        <div class="chart-box" id="provider-chart"></div>
    </div>
    {$end}
</div>