<#--

    Bolo - A stable and beautiful blogging system based in Solo.
    Copyright (c) 2020, https://github.com/adlered

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

-->
<#include "../common-template/macro-common_page.ftl">

<@commonPage "403 权限不足">
<h2>403 权限不足!</h2>
<img class="img-error" src="${staticServePath}/images/403.png" alt="403" title="403 Forbidden!" />
<div class="a-error">
    ${msg!}
    您的账号没有后台管理权限<br>
    <span id="sec">3</span> 秒后返回 <a href="${servePath}">主页</a>
    <script>
        i = 2;
        intervalId = setInterval("fun()", 1000);
        function fun() {
            if (i == 0) {
                window.location.href = "${servePath}";
                clearInterval(intervalId);
            }
            document.getElementById("sec").innerHTML = i;
            i--;
        }
    </script>
</div>
</@commonPage>
