体验细节优化

This commit is contained in:
thinkgem
2020-09-05 15:14:25 +08:00
parent 80a5f83791
commit 39ec6649d5
3 changed files with 8 additions and 5 deletions

View File

@@ -5,4 +5,5 @@
4.0.4 4.0.4
4.0.5 4.0.5
4.0.6 4.0.6
4.0.7 4.0.7
4.0.8

View File

@@ -50,7 +50,7 @@ else {
<% if (@Global.getConfigToBoolean('error.page.printErrorInfo', 'true')){ %> <% if (@Global.getConfigToBoolean('error.page.printErrorInfo', 'true')){ %>
<div class="box mt20"> <div class="box mt20">
${@StringUtils.toHtml(@ExceptionUtils.getStackTraceAsString(ex))}<br/> ${@StringUtils.toHtml(@ExceptionUtils.getStackTraceAsString(ex))}<br/>
此异常信息若不想输出,可打开jeesite.yml文件设置error.page.printErrorInfo=false即可 此异常信息若不想输出,可打开 'application.yml' 文件,设置 'error.page.printErrorInfo: false' 即可
</div> </div>
<% } %> <% } %>
<% } %> <% } %>

View File

@@ -11,16 +11,18 @@
<div class="login-box-body"> <div class="login-box-body">
<#form:form id="loginForm" model="${user!}" action="${ctx}/login" method="post"> <#form:form id="loginForm" model="${user!}" action="${ctx}/login" method="post">
<div class="form-group has-feedback"> <div class="form-group has-feedback">
<span class="glyphicon glyphicon-user form-control-feedback" title="${text('登录账号')}"></span> <span class="icon-user form-control-feedback" title="${text('登录账号')}"></span>
<#form:input type="text" name="username" class="form-control required" <#form:input type="text" name="username" class="form-control required"
data-msg-required="${text('请填写登录账号.')}" placeholder="${text('登录账号')}" data-msg-required="${text('请填写登录账号.')}" placeholder="${text('登录账号')}"
value="${cookie('rememberUserCode')}"/> value="${cookie('rememberUserCode')}"/>
</div> </div>
<div class="form-group has-feedback"> <div class="form-group has-feedback">
<span class="glyphicon glyphicon-lock form-control-feedback" <span class="icon-lock form-control-feedback"
title="${text('登录密码,鼠标按下显示密码')}" title="${text('登录密码,鼠标按下显示密码')}"
onmousedown="$('#password').attr('type','text')" onmousedown="$('#password').attr('type','text')"
onmouseup="$('#password').attr('type','password')"></span> onmouseup="$('#password').attr('type','password')"
onmouseenter="$(this).removeClass('icon-lock').addClass('icon-eye')"
onmouseout="$(this).removeClass('icon-eye').addClass('icon-lock')"></span>
<#form:input type="password" name="password" class="form-control required" <#form:input type="password" name="password" class="form-control required"
data-msg-required="${text('请填写登录密码.')}" placeholder="${text('登录密码')}" autocomplete="off"/> data-msg-required="${text('请填写登录密码.')}" placeholder="${text('登录密码')}" autocomplete="off"/>
</div> </div>