| 1 | {@ include(common/header) @} |
| 2 | <h1 class="paragraph">ログイン</h1> |
| 3 | <p class="paragraph"> |
| 4 | ログインして下さい。 |
| 5 | </p> |
| 6 | |
| 7 | {@ if ($error) @} |
| 8 | <p> |
| 9 | <div class="errormes"> |
| 10 | {{ $error }} |
| 11 | </div> |
| 12 | </p> |
| 13 | {@ endif @} |
| 14 | |
| 15 | <p> |
| 16 | <form action="/login" method="POST"> |
| 17 | {$ $username = randstr() $} |
| 18 | {$ $password = randstr() $} |
| 19 | {$ $botUsername = randstr() $} |
| 20 | {$ $botPassword = randstr() $} |
| 21 | <table> |
| 22 | <tbody> |
| 23 | <tr> |
| 24 | <td><label for="{{ $username }}">ユーザー名:</label></td> |
| 25 | <td><input type="text" id="{{ $username }}" name="{{ $username }}" value="{{ $nyuU }}" /></td> |
| 26 | </tr> |
| 27 | <tr> |
| 28 | <td><label for="{{ $password }}">パスワード:</label></td> |
| 29 | <td><input type="password" id="{{ $password }}" name="{{ $password }}" value="" /></td> |
| 30 | </tr> |
| 31 | <tr> |
| 32 | <td></td> |
| 33 | <td> |
| 34 | <div style="position:absolute; left:-9999px;"> |
| 35 | <input type="text" id="{{ $botUsername }}" name="{{ $botUsername }}" value="" /> |
| 36 | <input type="password" id="{{ $botPassword }}" name="{{ $botPassword }}" value="" /> |
| 37 | </div> |
| 38 | |
| 39 | <a href="/?bot=1" style="display:none"></a> |
| 40 | <input type="hidden" id="csrf_token" name="csrf_token" value="{{ make_csrf_token() }}" /> |
| 41 | <button>サインイン</button> |
| 42 | </td> |
| 43 | </tr> |
| 44 | </tbody> |
| 45 | </table> |
| 46 | </form> |
| 47 | </p> |
| 48 | {@ include(common/footer) @} |