first commit

This commit is contained in:
小喵 2022-07-11 18:09:15 +08:00 committed by Ming Tsay
commit db313f5eef
Signed by: mt
GPG key ID: 2BCF198BD3341FB3
47 changed files with 2006 additions and 0 deletions

8
templates/login.php Normal file
View file

@ -0,0 +1,8 @@
<?php $this->layout('template', ['title' => '登入系統', 'noStatus' => true]) ?>
<p class="lead">您尚未登入,請點選下方按鈕進行登入。</p>
<?php if (empty($authUrl)): ?>
<a href="/login.php" class="btn btn-lg btn-warning btn-block">登入連結載入失敗,按此重新載入</a>
<?php else: ?>
<a href="<?= $this->e($authUrl) ?>" class="btn btn-lg btn-primary btn-block">透過 Discord 帳號登入</a>
<?php endif ?>