fuc-new/resources/views/tabler/auth/login.tpl
2026-07-06 18:31:04 +08:00

203 lines
14 KiB
Smarty

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<title>登录 — 福云</title>
<!-- ico -->
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" type="text/css" href="/theme/cool/assets/css/cool.css">
<link rel="stylesheet" type="text/css" href="/theme/cool/assets/css/auth/page-auth.css">
<link rel="stylesheet" type="text/css" href="/theme/cool/assets/vendors/css/vendors.min.css">
<link rel="stylesheet" type="text/css" href="/theme/cool/assets/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="/theme/cool/assets/css/bootstrap-extended.css">
<link rel="stylesheet" type="text/css" href="/theme/cool/assets/css/plugins/sweetalert2.min.css">
<link rel="stylesheet" href="https://fastly.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.8.2/css/all.min.css">
</head>
<!-- BEGIN: Body-->
<body class="vertical-layout vertical-menu-modern 1-column navbar-floating footer-static bg-full-screen-image blank-page blank-page" data-open="click" data-menu="vertical-menu-modern" data-col="1-column">
<!-- BEGIN: Content-->
<div class="app-content content ">
<div class="content-overlay"></div>
<div class="header-navbar-shadow"></div>
<div class="content-wrapper">
<div class="content-header row">
</div>
<div class="content-body">
<div class="auth-wrapper auth-v1 px-2">
<div class="auth-inner py-2">
<div class="card mt-5">
<div class="card-body">
<a href="javascript:void(0);" class="brand-logo">
<img src="/fucai192.png" height="55">
<!--
<svg viewBox="0 0 139 95" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="28">
<defs>
<linearGradient id="linearGradient-1" x1="100%" y1="10.5120544%" x2="50%" y2="89.4879456%">
<stop stop-color="#000000" offset="0%"></stop>
<stop stop-color="#FFFFFF" offset="100%"></stop>
</linearGradient>
<linearGradient id="linearGradient-2" x1="64.0437835%" y1="46.3276743%" x2="37.373316%" y2="100%">
<stop stop-color="#EEEEEE" stop-opacity="0" offset="0%"></stop>
<stop stop-color="#FFFFFF" offset="100%"></stop>
</linearGradient>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard" transform="translate(-400.000000, -178.000000)">
<g id="Group" transform="translate(400.000000, 178.000000)">
<path class="text-primary" id="Path" d="M-5.68434189e-14,2.84217094e-14 L39.1816085,2.84217094e-14 L69.3453773,32.2519224 L101.428699,2.84217094e-14 L138.784583,2.84217094e-14 L138.784199,29.8015838 C137.958931,37.3510206 135.784352,42.5567762 132.260463,45.4188507 C128.736573,48.2809251 112.33867,64.5239941 83.0667527,94.1480575 L56.2750821,94.1480575 L6.71554594,44.4188507 C2.46876683,39.9813776 0.345377275,35.1089553 0.345377275,29.8015838 C0.345377275,24.4942122 0.230251516,14.560351 -5.68434189e-14,2.84217094e-14 Z" style="fill: currentColor"></path>
<path id="Path1" d="M69.3453773,32.2519224 L101.428699,1.42108547e-14 L138.784583,1.42108547e-14 L138.784199,29.8015838 C137.958931,37.3510206 135.784352,42.5567762 132.260463,45.4188507 C128.736573,48.2809251 112.33867,64.5239941 83.0667527,94.1480575 L56.2750821,94.1480575 L32.8435758,70.5039241 L69.3453773,32.2519224 Z" fill="url(#linearGradient-1)" opacity="0.2"></path>
<polygon id="Path-2" fill="#000000" opacity="0.049999997" points="69.3922914 32.4202615 32.8435758 70.5039241 54.0490008 16.1851325"></polygon>
<polygon id="Path-21" fill="#000000" opacity="0.099999994" points="69.3922914 32.4202615 32.8435758 70.5039241 58.3683556 20.7402338"></polygon>
<polygon id="Path-3" fill="url(#linearGradient-2)" opacity="0.099999994" points="101.428699 0 83.0667527 94.1480575 130.378721 47.0740288"></polygon>
</g>
</g>
</g>
</svg>
-->
<!-- <h2 class="brand-text text-primary ml-1">福云</h2> -->
</a>
<h4 class="card-title mb-1">👋 欢迎来到福云</h4>
<p class="card-text mb-2">请登录您的账号开始体验!</p>
<form id="login_form" class="form-group" action="javascript:void(0);" method="POST">
<div class="form-group login-form-item">
<label for="login-email" class="form-label">邮箱</label>
<input type="text" class="form-control notnull" id="email" name="email" title="邮箱" placeholder="输入您的邮箱地址" autofocus>
</div>
<div class="form-group login-form-item">
<div class="d-flex justify-content-between">
<label for="login-password" class="form-label">密码</label>
<a href="/password/reset">
<small>忘记密码?</small>
</a>
</div>
<div class="input-group input-group-merge form-password-toggle">
<input type="password" id="passwd" class="form-control notnull" name="passwd" title="密码" placeholder="············" />
</div>
</div>
<div class="form-group" id="2fa-form">
<label for="login-email" class="form-label">令牌</label>
<input id="2fa-code" class="form-control valid" type="number" placeholder="二步验证动态码,未设置为空即可" name="code_2fa">
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" id="remember-me" name="remember-me" tabindex="3" value="true">
<label class="custom-control-label" for="remember-me">记住我</label>
</div>
</div>
<button type="submit" class="btn btn-primary btn-block waves-effect waves-float login-button">登录</button>
</form>
<!--
<div class="divider">
<div class="divider-text">or</div>
</div>
<div class="d-flex justify-content-center">
<button type="button" class="btn btn-info btn-block waves-effect waves-float " id="telegram-login" data-toggle="modal" data-target="#telegram-modal"><i class="fab fa-telegram-plane"></i>&nbsp;&nbsp;使用 Telegram 登录</button>
</div>
-->
<p class="text-center mt-2">
<span>还没有账号?</span>
<a href="/auth/register">
<span>马上注册 👉</span>
</a>
</p>
</div>
</div>
<div class="text-center mt-2 text-small">
Copyright &copy; 2025 福云
<!--
<p class="mt-1">
Powered by
<a href="/staff">SSPANEL</a>
<div class="bullet"></div>
</p>
-->
</div>
</div>
</div>
</div>
</div>
<!-- 开始:modal -->
<div class="modal fade" id="telegram-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle"><strong>Telegram 一键登录</strong></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="text-center mt-1 mb-1" id="telegram-login-box">
</div>
<div class="text-center mb-1">
<div class="text-job text-muted">或者添加机器人账号 <a href="https://t.me/@福云tg_bot" target="_blank">@福云tg_bot</a>,发送下面的数字给它
</div>
</div>
<div class="text-center">
<h2><code id="code_number" style="color: #6777ef">848270</code></h2>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
</div>
</div>
</div>
</div>
<!-- 结束:modal -->
</div>
{if $public_setting['enable_login_captcha']}
{include file='captcha/js.tpl'}
{/if}
<!-- END: Content-->
<!-- 开始:JavaScript -->
<script src="https://fastly.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js" type="c4d86746314722ec8753695f-text/javascript"></script>
<script src="/theme/cool/assets/vendors/js/vendors.min.js" type="c4d86746314722ec8753695f-text/javascript"></script>
<script src="/theme/cool/assets/js/scripts/sweetalert2.min.js" type="c4d86746314722ec8753695f-text/javascript"></script>
<script src="/theme/cool/assets/js/auth.js" type="c4d86746314722ec8753695f-text/javascript"></script>
<!-- 结束:JavaScript -->
<!-- 开始:极验 -->
<script type="c4d86746314722ec8753695f-text/javascript">
var geetest = 0;
</script>
<!-- 结束:极验 -->
<!-- 开始:telegram登录js
<script type="c4d86746314722ec8753695f-text/javascript">
$(document).ready(function () {
var el = document.createElement('script');
document.getElementById('telegram-login-box').append(el);
el.onload = function () {
$('#telegram-alert').remove()
}
el.src = 'https://telegram.org/js/telegram-widget.js';
el.setAttribute('data-size', 'large')
el.setAttribute('data-telegram-login', '福云tg_bot')
el.setAttribute('data-auth-url', 'https://福云.com/auth/telegram_oauth')
el.setAttribute('data-request-access', 'write')
});
</script>
结束:telegram登录js -->
<script src="../cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="c4d86746314722ec8753695f-|49" defer></script>
{include file='live_chat.tpl'}
</body>
</html>