<?php
    $this->layout('layout/dashboardLayout');
?>
<div class="row">
    <div class="col-sm-6 col-md-4">
        <div class="thumbnail">
            <div class="caption">
                <a href="/dashboard/exception"><h3>错误日志: <?= $filesCount ?? 0 ?></h3></a>
            </div>
        </div>
    </div>
    <div class="col-sm-6 col-md-4">
        <div class="thumbnail">
            <div class="caption">
                <a href="/dashboard/form-log"><h3>表单日志</h3></a>
            </div>
        </div>
    </div>
    <div class="col-sm-6 col-md-4">
        <div class="thumbnail">
            <div class="caption">
                <a href="/dashboard/file-timestamp"><h3>文件更新时间</h3></a>
            </div>
        </div>
    </div>
    <div class="col-sm-6 col-md-4">
        <div class="thumbnail">
            <div class="caption">
                <a href="/dashboard/redis"><h3>redis</h3></a>
            </div>
        </div>
    </div>
    <div class="col-sm-6 col-md-4">
        <div class="thumbnail">
            <div class="caption">
                <h3>单元测试</h3>
<!--                <a href="/dashboard/unit-test"><h3>单元测试</h3></a>-->
            </div>
        </div>
    </div>
    <div class="col-sm-6 col-md-4">
        <div class="thumbnail">
            <div class="caption">
                <a href="/dashboard/analysis"><h3>访问统计</h3></a>
            </div>
        </div>
    </div>
    <div class="col-sm-6 col-md-4">
        <div class="thumbnail">
            <div class="caption">
                <a href="/dashboard/analysis-response-time"><h3>性能统计</h3></a>
            </div>
        </div>
    </div>
</div>
<script>
    let token = sessionStorage.getItem('token');
    document.cookie = `token=${token}`;
</script>
