70 lines
2.8 KiB
PHP
Executable File
70 lines
2.8 KiB
PHP
Executable File
<?php
|
|
/* Smarty version 5.3.1, created on 2025-02-13 14:58:43
|
|
from 'file:password/token.tpl' */
|
|
|
|
/* @var \Smarty\Template $_smarty_tpl */
|
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
|
'version' => '5.3.1',
|
|
'unifunc' => 'content_67ad9823e96490_60713359',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'5ca19a6a0901f04145c841ad8fe8e2e83c078270' =>
|
|
array (
|
|
0 => 'password/token.tpl',
|
|
1 => 1712762115,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
'file:header.tpl' => 1,
|
|
'file:footer.tpl' => 1,
|
|
),
|
|
))) {
|
|
function content_67ad9823e96490_60713359 (\Smarty\Template $_smarty_tpl) {
|
|
$_smarty_current_dir = '/www/wwwroot/fuuu.cloud/resources/views/tabler/password';
|
|
$_smarty_tpl->renderSubTemplate('file:header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
|
|
?>
|
|
|
|
<body class="border-top-wide border-primary d-flex flex-column">
|
|
<div class="page page-center">
|
|
<div class="container-tight my-auto">
|
|
<div class="text-center mb-4">
|
|
<a href="#" class="navbar-brand navbar-brand-autodark">
|
|
<img src="/images/uim-logo-round_96x96.png" height="64" alt="SSPanel-UIM Logo">
|
|
</a>
|
|
</div>
|
|
<div class="card card-md">
|
|
<div class="card-body">
|
|
<h2 class="card-title text-center mb-4">设置新密码</h2>
|
|
<div class="mb-3">
|
|
<label class="form-label">新密码</label>
|
|
<input id="password" type="password" class="form-control" placeholder="请输入新密码">
|
|
</div>
|
|
<div class="mb-3">
|
|
<label class="form-label">再次输入新密码</label>
|
|
<input id="confirm_password" type="password" class="form-control" placeholder="请再次输入新密码">
|
|
</div>
|
|
<div class="form-footer">
|
|
<button class="btn btn-primary w-100"
|
|
hx-post="{ location.pathname }" hx-swap="none"
|
|
hx-vals='js:{
|
|
password: document.getElementById("password").value,
|
|
confirm_password: document.getElementById("confirm_password").value, }'>
|
|
<i class="ti ti-key icon"></i>
|
|
重置
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="text-center text-secondary mt-3">
|
|
已有账户? <a href="/auth/login" tabindex="-1">点击登录</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php $_smarty_tpl->renderSubTemplate('file:footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
|
|
}
|
|
}
|