Skip to content

Commit

Permalink
cskefu#713 enhance logo in login page
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Liang Wang committed Jun 26, 2022
1 parent 4acd20d commit 4b5c094
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Binary file modified contact-center/app/src/main/resources/static/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ html(xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xm
a(href="/apps/profile.html" data-toggle="ajax" data-width="750" data-title="修改资料") 个人资料
dd
a(href="javascript:void(0)" onclick="showSystemBuildInfo()") 关于产品
dd
a(href="https://www.cskefu.com/moment/825.html/" target="_blank") 使用指南
dd
a(href="https://github.com/chatopera/cskefu/issues" target="_blank") 反馈建议
dd
a(href="javascript:void(0)" onclick="quitSystem()") 退出系统
.layui-side.layui-bg-black
Expand Down Expand Up @@ -303,7 +307,7 @@ html(xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xm
});
// 展示系统构建信息
function showSystemBuildInfo() {
layer.confirm('<div style="text-align:center;"> <img src="/images/favicon.ico" width="50px" height="50px"><p>春松客服<span>&#174;</span></p></div> Release: #{appVersionNumber} <a href="https://docs.chatopera.com/products/cskefu/index.html" target="_blank">文档中心</a> <br> Build: #{appBuildDate}.#{appVersionAbbrev} <br> Copyright (2018-2022) <a href="https://www.chatopera.com" target="_blank">北京华夏春松科技有限公司</a> <br> 开源许可协议<a href="https://docs.chatopera.com/products/cskefu/osc/license.html" target="_blank">Apache 2.0</a> <br> Business License applied to #{appCustomerEntity} <br> <a href="https://www.cskefu.com" target="_blank">加入春松客服开源社区</a> | <a href="https://www.chatopera.com/price.html" target="_blank">购买春松客服企业服务</a>',
layer.confirm('<div style="text-align:center;"> <img src="/images/favicon.ico" width="50px" height="50px"><p>春松客服<span>&#174;</span></p></div> Release: #{appVersionNumber} <br> Build: #{appBuildDate}.<a href="https://github.com/chatopera/cskefu/commit/#{appVersionAbbrev}">#{appVersionAbbrev}</a> <br> Copyright (2018-2022) <a href="https://www.chatopera.com" target="_blank">北京华夏春松科技有限公司</a>, 开源许可协议: <a href="https://docs.chatopera.com/products/cskefu/osc/license.html" target="_blank">Apache 2.0</a> <br> <a href="https://docs.chatopera.com/products/cskefu/index.html" target="_blank">文档中心</a> | <a href="https://www.cskefu.com/join-us/" target="_blank">加入开源社区</a> | <a href="https://www.chatopera.com/price.html" target="_blank">购买企业服务</a>',
{icon: -1, title: '关于产品', btn: ["关闭"]}, function (index, layero) {
//do something
layer.close(index);
Expand Down
2 changes: 1 addition & 1 deletion contact-center/app/src/main/resources/templates/login.pug
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ html
if systemConfig && systemConfig.loginlogo
img(src='/res/image.html?id=' + systemConfig.loginlogo style="height:60px;width:220px;")
else
img(src="images/logo2.png" style="height:60px;width:220px;")
img(src="images/logo2.png" style="width:220px;")
.login-box-body
p.login-box-msg 账号密码登陆
form#loginForm.layui-form(action="/login.html" method="post")
Expand Down
4 changes: 2 additions & 2 deletions contact-center/app/src/main/resources/templates/register.pug
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ html
.login-logo
a
if systemConfig && systemConfig.loginlogo && systemConfig.loginlogo != ''
img(src='/res/image.html?id=' + systemConfig.loginlogo style="height:60px;width:220px;")
img(src='/res/image.html?id=' + systemConfig.loginlogo style="width:220px;")
else
img(src="images/logo2.png" style="height:60px;width:220px;")
img(src="images/logo2.png" style="width:220px;")
// /.login-logo
.login-box-body
p.login-box-msg 注册账号
Expand Down

0 comments on commit 4b5c094

Please sign in to comment.