微不足道的一些优化。

This commit is contained in:
thinkgem
2018-07-15 16:05:36 +08:00
parent 638c57b9c0
commit ddcf75b856
19 changed files with 57 additions and 56 deletions

View File

@@ -2,4 +2,5 @@
4.0.1
4.0.2
4.0.3
4.0.4
4.0.4
4.0.5

View File

@@ -49,8 +49,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -38,8 +38,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -37,8 +37,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -43,8 +43,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% if (@ObjectUtils.toBoolean(@Global.getConfig('error.page.printErrorInfo', 'true'))){ %>

View File

@@ -1,18 +1,10 @@
<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. */
var productName = @Global.getConfig('productName') + ' ' + @Global.getConfig('productVersion');
var pageTitle = (isNotBlank(title!) ? title! + ' - ' : '') + productName;
var globalFields = @Global.getConst('Global.Fields');
%>
<meta charset="utf-8">
<meta content="webkit" name="renderer"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/>
<meta content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
<meta content="${productName} - Powered By JeeSite V4.0" name="description"/>
<meta content="ThinkGem, http://jeesite.com" name="author"/>
<meta content="Powered By JeeSite V4.0" name="keywords"/>
<title>${pageTitle}</title>
<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. */%>
<meta charset="utf-8"><meta content="webkit" name="renderer"/><meta http-equiv="X-UA-Compatible"
content="IE=edge"><meta name="keywords" content="PoweredByJeeSiteV4.0"/><meta http-equiv="Cache-Control"
content="no-cache, no-store, must-revalidate"/><meta name="description" content="PoweredByJeeSiteV4.0"/><meta
content="no-cache" http-equiv="Pragma"/><meta http-equiv="Expires" content="0"/><meta
content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
<title>${(isNotBlank(title!) ? title! + ' - ' : '') + @Global.getConfig('productName')}</title>
<script src="${ctxPath}/global.min.js?ctx=${ctx}"></script>
<script src="${ctxStatic}/jquery/jquery-1.12.4.min.js"></script>
<script src="${ctxStatic}/jquery/jquery-migrate-1.4.1.min.js"></script>

View File

@@ -3,10 +3,10 @@
<link rel="stylesheet" href="${ctxStatic}/icheck/1.0/square/blue.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/jquery-toastr/2.0/toastr.min.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/modules/sys/sysLogin.css?${_version}">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
<div class="login-box" style="margin-top:4%">
<div class="login-logo" title="${productName}">
<a href="${ctxPath}/account/forgetPwd"><b>${productName}</b> <small>${productVersion}</small></a>
<div class="login-logo">
<a href="${ctxPath}/account/forgetPwd"><b>${@Global.getConfig('productName')}</b>
<small>${@Global.getConfig('productVersion')}</small></a>
</div>
<div class="login-box-body">
<form id="forgetForm" action="${ctxPath}/account/forgetPwd" method="post">
@@ -159,7 +159,8 @@
</form>
</div>
<div class="login-copyright">
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -251,9 +251,8 @@
<!-- /.row -->
</div>
<footer class="main-footer m0">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
<div class="pull-right hidden-xs">当前版本: ${productVersion}</div>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
<div class="pull-right hidden-xs">当前版本: ${@Global.getConfig('productVersion')}</div>
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a href="http://jeesite.com">JeeSite</a>
</footer>
<% } %>
<script>

View File

@@ -1,7 +1,6 @@
<% var productName = @Global.getConfig('productName'); %>
<nav class="navbar navbar-static-top">
<div class="logo" data-toggle="push-menu" title="${productName}">
<b>${productName}</b>
<div class="logo" data-toggle="push-menu">
<b>${@Global.getConfig('productName')}</b>
<small>&nbsp; &nbsp;<i class="fa fa-bars"></i></small>
</div>
<%/*<!--%><a href="javascript:" class="sidebar-toggle" data-toggle="push-menu" role="button">

View File

@@ -3,10 +3,10 @@
<link rel="stylesheet" href="${ctxStatic}/icheck/1.0/square/blue.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/jquery-toastr/2.0/toastr.min.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/modules/sys/sysLogin.css?${_version}">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
<div class="login-box">
<div class="login-logo" title="${productName}">
<a href="${ctx}/login"><b>${productName}</b> <small>${productVersion}</small></a>
<div class="login-logo">
<a href="${ctx}/login"><b>${@Global.getConfig('productName')}</b>
<small>${@Global.getConfig('productVersion')}</small></a>
</div>
<div class="login-box-body">
<#form:form id="loginForm" model="${user!}" action="${ctx}/login" method="post">
@@ -79,7 +79,8 @@
</div>
</div>
<div class="login-copyright">
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>