Files
TripLog/templates/auth/login.php
T

19 lines
758 B
PHP
Raw Normal View History

<div class="login-wrapper">
<form method="post" action="<?= url('auth/doLogin') ?>" class="login-form">
<input type="hidden" name="_csrf" value="<?= e(csrf_token()) ?>">
<h1>🏠 家庭出行记录</h1>
<p class="muted">请登录后继续</p>
<div class="form-row">
<label>手机号 / 用户名</label>
<input type="text" name="phone" required autofocus placeholder="手机号或用户名">
</div>
<div class="form-row">
<label>密码</label>
<input type="password" name="password" required placeholder="请输入密码">
</div>
<button type="submit" class="btn-primary" style="width:100%; padding:11px;">登录</button>
</form>
</div>