This commit is contained in:
Shinsuke Sugaya 2014-05-10 23:03:44 +09:00
parent 156ad5e9e3
commit 08a72abd9f
3 changed files with 15 additions and 2 deletions

View file

@ -21,6 +21,11 @@
<div class="navbar-inner">
<div class="container">
<p class="navbar-text pull-right">
<c:if test="${!empty username}">
<s:link href="/login/logout" styleClass="logout-link">
<bean:message key="labels.logout" />
</s:link>
</c:if>
<s:link href="/help" styleClass="help-link">
<bean:message key="labels.index_help" />
</s:link>

View file

@ -79,6 +79,10 @@
<c:if test="${!empty username}">
<p class="username">
<bean:message key="labels.searchheader_username" arg0="${f:h(username)}" />
|
<s:link href="/login/logout" styleClass="logout-link">
<bean:message key="labels.logout" />
</s:link>
</p>
</c:if>
</div>

View file

@ -22,11 +22,15 @@ h3 {
font-size: 18px;
}
.navbar .help-link {
.navbar .logout-link {
margin-right: 10px;
}
.navbar .logout-link, .navbar .help-link {
color: #ffffff;
}
.navbar .help-link:hover {
.navbar .logout-link:hover, .navbar .help-link:hover {
color: #08c;
text-decoration: none;
}