更新内容:

1.修改登录页模板1、4不显示副标题问题
2.修改登录页模板3样式
3.修改验证码图片高度不居中问题


Signed-off-by: 小胡 <3203164629@qq.com>
This commit is contained in:
小胡
2024-05-22 03:21:04 +00:00
committed by Gitee
Unverified
parent 8fb8be3186
commit c5290a87a3
4 changed files with 9 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
<input name="sechash" type="hidden" value="$sechash" />
<!--{if $sectpl}-->
<!--{if $seccodecheck}-->
<div class="mb-3 has-feedback row seccode-wrapper seccode_type_{$_G[setting][seccodedata][type]}">
<div class="mb-3 has-feedback row seccode-wrapper seccode_type_{$_G[setting][seccodedata][type]}" style="display: flex;align-content: center;align-items: center;">
<div class="col-7">
<span class="mdi form-control-feedback" id="checkseccodeverify_$sechash"></span>
<input name="seccodeverify" class="form-control" id="seccodeverify_$sechash" type="text" autocomplete="off" style="{if $_G[setting][seccodedata][type] != 1}ime-mode:disabled;{/if}" onblur="checksec('code', '$sechash')" placeholder="{lang seccode}" />

View File

@@ -47,6 +47,7 @@
<div class="text-center mb-3">
<img alt="light year admin" src="<!--{if !$_G['setting']['bbclosed']}-->{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}<!--{else}-->static/image/common/logo.png<!--{/if}-->">
<h1><!--{if $_G[setting][loginset][title]}-->$_G[setting][loginset][title]<!--{else}-->$_G[setting][sitename]<!--{/if}--></h1>
<!--{if $_G[setting][loginset][subtitle]}--><p>$_G[setting][loginset][subtitle]</p><!--{/if}-->
</div>
<form action="user.php?mod=login&op=logging&action=login&loginsubmit=yes{if !empty($_GET['handlekey'])}&handlekey=$_GET[handlekey]{/if}{if isset($_GET['frommessage'])}&frommessage{/if}&loginhash=$loginhash" method="post" class="signin-form needs-validation" name="login" id="loginform_$loginhash" role="form" onsubmit="{if $_G['setting']['pwdsafety']}pwmd5('password3_$loginhash');{/if}pwdclear = 1; loginsub('loginform_$loginhash', 'returnmessage_$loginhash');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />

View File

@@ -54,14 +54,14 @@
<![endif]-->
<script type="text/javascript" src="user/scripts/login.js?{VERHASH}"></script>
<!--{eval $loginhash = 'L'.random(4);}-->
<div class="center-vh">
<div class="center-vh p-2">
<div class="card<!--{if $_G[setting][loginset][lwaveanimation]}--> wave wave-animate-slow<!--{/if}-->">
<div class="flex-box login-box">
<div class="login-left p-5">
<div class="text-center mb-3 d-sm-none">
<img src="<!--{if !$_G['setting']['bbclosed']}-->{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}<!--{else}-->static/image/common/logo.png<!--{/if}-->" alt="logo" />
</div>
<h2 class="text-center"><!--{if $_G[setting][loginset][title]}-->$_G[setting][loginset][title]<!--{else}-->$_G[setting][sitename]<!--{/if}--></h2>
<h2 class="text-center d-sm-none"><!--{if $_G[setting][loginset][title]}-->$_G[setting][loginset][title]<!--{else}-->$_G[setting][sitename]<!--{/if}--></h2>
<form class="signin-form needs-validation" action="user.php?mod=login&op=logging&action=login&loginsubmit=yes{if !empty($_GET['handlekey'])}&handlekey=$_GET[handlekey]{/if}{if isset($_GET['frommessage'])}&frommessage{/if}&loginhash=$loginhash" method="POST" name="login" id="loginform_$loginhash" role="form" onsubmit="{if $_G['setting']['pwdsafety']}pwmd5('password3_$loginhash');{/if}pwdclear = 1; loginsub('loginform_$loginhash', 'returnmessage_$loginhash');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="{$referer}" />
@@ -107,12 +107,14 @@
<!--{/if}-->
<!--{/if}-->
</form>
<p class="text-center mt-3"><!--{template common/copyright}--></p>
<p class="text-center mt-3 d-sm-none"><!--{template common/copyright}--></p>
</div>
<div class="login-right p-5 d-none d-sm-block">
<p class="mb-3"><img src="{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}" alt="logo" /></p>
<h2 class="text-white"><!--{if $_G[setting][loginset][title]}-->$_G[setting][loginset][title]<!--{else}-->$_G[setting][sitename]<!--{/if}--></h2>
<!--{if $_G[setting][loginset][subtitle]}--><p class="text-white">$_G[setting][loginset][subtitle]</p><!--{/if}-->
<!--{if $_G[setting][metadescription]}--><p class="text-white align-self-end">$_G[setting][metadescription]</p><!--{/if}-->
<p class="text-white align-self-end"><!--{template common/copyright}--></p>
</div>
</div>
</div>

View File

@@ -47,7 +47,8 @@
<div class="text-center mb-3">
<img alt="light year admin" src="<!--{if !$_G['setting']['bbclosed']}-->{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}<!--{else}-->static/image/common/logo.png<!--{/if}-->">
<h1><!--{if $_G[setting][loginset][title]}-->$_G[setting][loginset][title]<!--{else}-->$_G[setting][sitename]<!--{/if}--></h1>
<p>请选择下列用户登录</p>
<!--{if $_G[setting][loginset][subtitle]}--><p>$_G[setting][loginset][subtitle]</p><!--{/if}-->
<p><small>请选择下列用户登录</small></p>
</div>
<form class="signin-form needs-validation" action="user.php?mod=login&op=logging&action=login&loginsubmit=yes" method="POST" name="login" role="form" onsubmit="if(this.uid.value=='') return false">
<input type="hidden" name="formhash" value="{FORMHASH}" />