Commit b9d67ed8 authored by Liang's avatar Liang
parent 134e04ad
...@@ -20,7 +20,11 @@ ...@@ -20,7 +20,11 @@
</a> </a>
<span class="right"> <span class="right">
<a href="${servePath}" title='${indexLabel}'>${indexLabel}</a><a href='javascript:admin.logout();' title='${logoutLabel}'>${logoutLabel}</a> <a href="${servePath}" title='${indexLabel}'>
<div class="avatar" style="background-image: url(${gravatar})"></div>
${userName}
</a>
<a href='javascript:admin.logout();' title='${logoutLabel}'>${logoutLabel}</a>
</span> </span>
</div> </div>
<div id="tabs"> <div id="tabs">
......
...@@ -680,18 +680,30 @@ a[class*=" icon-"]:hover { ...@@ -680,18 +680,30 @@ a[class*=" icon-"]:hover {
#top > .right a{ #top > .right a{
color: #555; color: #555;
line-height: 50px; line-height: 32px;
margin: 0 10px; margin: 8px 10px;
border: 1px solid #f6f6f6; border: 1px solid #f6f6f6;
background-color: #f6f6f6; background-color: #f6f6f6;
border-radius: 100px; border-radius: 100px;
padding: 10px; padding: 0 10px;
text-decoration: none; text-decoration: none;
display: inline-block;
} }
#top > .right a:hover { #top > .right a:hover {
color: #333; color: #333;
} }
#top .avatar {
height: 25px;
width: 25px;
border-radius: 20px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
float: left;
margin: 3px 6px 0 0;
}
/* end top-nav */ /* end top-nav */
/* start first tab */ /* start first tab */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment