background
Furry主题添加登录按钮
# VPS

编辑usr/themes/Furry/inc/left/tool.php
找到一下内容:

        <div class="absolute -top-[6px] -left-4 break-keep invisible opacity-0 group-hover:opacity-100 group-hover:visible duration-150 ease-in-out -translate-y-full px-2 py-1 bg-gray-700 rounded-md text-center text-white text-sm after:content-[''] after:absolute after:left-1/2 after:top-[100%] after:-translate-x-1/2 after:border-[6px] after:border-x-transparent after:border-b-transparent after:border-t-gray-700">
            返回首页
        </div>
    </a>

在后面加入以下内容:

<a class="group relative block select-none" href="<?= rtrim($this->options->siteUrl, '/') ?>/admin/login.php">
    <div class="cursor-pointer inline-flex flex-shrink-0 justify-center items-center h-10 w-10 rounded-md bg-white border">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-5 w-5" aria-hidden="true">
            <path d="M19.14 12.936a7.995 7.995 0 0 0 0-1.872l2.036-1.58a.5.5 0 0 0 .12-.64l-1.928-3.338a.5.5 0 0 0-.607-.22l-2.396.96a7.992 7.992 0 0 0-1.62-.94L14.9 2.5a.5.5 0 0 0-.49-.5h-3.82a.5.5 0 0 0-.49.5l-.37 2.086a7.992 7.992 0 0 0-1.62.94l-2.396-.96a.5.5 0 0 0-.607.22L2.704 8.844a.5.5 0 0 0 .12.64l2.036 1.58a7.995 7.995 0 0 0 0 1.872l-2.036 1.58a.5.5 0 0 0-.12.64l1.928 3.338a.5.5 0 0 0 .607.22l2.396-.96c.5.38 1.05.7 1.62.94l.37 2.086a.5.5 0 0 0 .49.5h3.82a.5.5 0 0 0 .49-.5l.37-2.086c.57-.24 1.12-.56 1.62-.94l2.396.96a.5.5 0 0 0 .607-.22l1.928-3.338a.5.5 0 0 0-.12-.64l-2.036-1.58zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z"/>
        </svg>
    </div>
    <div class="absolute -top-[6px] -left-6 break-keep invisible opacity-0 group-hover:opacity-100 group-hover:visible duration-150 ease-in-out -translate-y-full px-2 py-1 bg-gray-700 rounded-md text-center text-white text-sm
                after:content-[''] after:absolute after:left-1/2 after:top-[100%] after:-translate-x-1/2 after:border-[6px] after:border-x-transparent after:border-b-transparent after:border-t-gray-700">
        后台登录
    </div>
</a>