Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台用户添加头像 #491

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/main/webapp/WEB-INF/views/modules/sys/sysIndex.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!--
Last-Updated :dandelion
Last-Updation :2019.05.06 22:58
-->
<html>
<head>
<title>${fns:getConfig('productName')}</title>
Expand All @@ -13,6 +17,12 @@
#footer {margin:8px 0 0 0;padding:3px 0 0 0;font-size:11px;text-align:center;border-top:2px solid #0663A2;}
#footer, #footer a {color:#999;} #left{overflow-x:hidden;overflow-y:auto;} #left .collapse{position:static;}
#userControl>li>a{/*color:#fff;*/text-shadow:none;} #userControl>li>a:hover, #user #userControl>li.open>a{background:transparent;}
.round_icon{width: 30px;height: 30px;display: flex;border-radius: 50%;
align-items: center;
justify-content: center;
overflow: hidden;
margin-top: 30%;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
Expand Down Expand Up @@ -160,6 +170,9 @@
</ul>
<!--[if lte IE 6]><script type="text/javascript">$('#themeSwitch').hide();</script><![endif]-->
</li>
<li>
<img class="round_icon" src="${fns:getUser().photo}" alt="logo" onerror="this.src='${ctxStatic}/images/default_head_ico.jpg;this.onerror=null'"/>
</li>
<li id="userInfo" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" title="个人信息">您好, ${fns:getUser().name}&nbsp;<span id="notifyNum" class="label label-info hide"></span></a>
<ul class="dropdown-menu">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.