M2: 主题系统(sablog经典+modern简约)+ 前台全部页面 + 老 URL 301 兼容 + markdown 双份导入

This commit is contained in:
ak
2026-08-11 17:58:29 +08:00
parent f16bb75538
commit 6214976a88
66 changed files with 2763 additions and 10 deletions
+29
View File
@@ -0,0 +1,29 @@
@php $pageTitle = '登录 - '.$siteName; @endphp
@include('partials.head')
<body>
@include('partials.header')
<div class="container auth-layout">
<main class="auth-box">
<h1 class="list-title">登录</h1>
<form method="post" action="{{ route('login') }}">
@csrf
<div class="form-row">
<label>账号(邮箱或用户名)</label>
<input type="text" name="email" required value="{{ old('email') }}" autofocus>
</div>
<div class="form-row">
<label>密码</label>
<input type="password" name="password" required>
</div>
<div class="form-row">
<label><input type="checkbox" name="remember"> 记住我</label>
</div>
@error('email')<p class="error">{{ $message }}</p>@enderror
<button type="submit" class="btn btn-primary">登录</button>
</form>
<p class="auth-alt">还没有账号?<a href="{{ route('register') }}">立即注册</a></p>
</main>
</div>
@include('partials.footer')
</body>
</html>