mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 00:21:56 +08:00
- Change template definition names from "Content" to specific page names - Modify layout.html to conditionally render templates based on page name - Ensure consistent template naming across admin page templates
19 lines
860 B
HTML
19 lines
860 B
HTML
{{define "login.html"}}
|
|
<div class="flex items-center justify-center min-h-[80vh]">
|
|
<div class="card w-96 bg-base-100 shadow-xl">
|
|
<div class="card-body">
|
|
<h2 class="card-title justify-center text-2xl font-bold mb-6">管理员登录</h2>
|
|
<div class="form-control w-full">
|
|
<label class="label">
|
|
<span class="label-text">密码</span>
|
|
</label>
|
|
<input type="password" id="password" placeholder="请输入管理密码" class="input input-bordered w-full" />
|
|
</div>
|
|
<div class="card-actions justify-end mt-6">
|
|
<button onclick="login()" class="btn btn-primary w-full">登录</button>
|
|
</div>
|
|
<div id="message" class="alert mt-4" style="display: none;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}} |