<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/static/bootstrap.css" />
<script type="text/javascript" src="/static/jquery.js"></script>
<script type="text/javascript" src="/static/bootstrap.js"></script>
<script type="text/javascript" src="/static/hc.js"></script>
<script type="text/javascript" src="/static/exporting.js"></script>


    <title>Главная | CS Master Server Admin</title>
    <meta charset="utf-8" />
    <meta http-equiv=”refresh” content=”10”>
</head>
<body class="container">
<header>
    <div class="row">
        <h1 class="span12">CS Master Server WEBCP</h1>
    </div>
    {% include "nav.html" %}
</header>
<script>
$(function () {
    $('#container').highcharts({
        title: {
            text: 'Статистика за: {{ day }}',
            x: -20 //center
        },
        xAxis: {
            categories: ['00:00','01:00', '02:00', '03:00', '04:00', '05:00', '06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00', '21:00', '22:00', '23:00']
        },
        yAxis: {
            title: {
                text: 'Уникальные запросы/Всего запросов'
            },
            plotLines: [{
                value: 0,
                width: 1,
                color: '#808080'
            }]
        },
        tooltip: {
            valueSuffix: ' запроса(ов)'
        },
        legend: {
            layout: 'vertical',
            align: 'right',
            verticalAlign: 'middle',
            borderWidth: 0
        },
        series: [{% raw data %}]
    });
});
</script>
<pre>
<center>{% raw navstats %}</center>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
</pre>
{% include "footer.html" %}