This commit is contained in:
Shinsuke Sugaya 2014-11-05 06:00:52 +09:00
parent b96a991bf7
commit 706fb26569
4 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="{{urlLink}}">
<div style="border:1px solid #999;margin:5px -1px;padding:0;">
<div style="color:#000;background:#ddd;border:1px solid #666;margin:10px 15px;padding:5px;text-align:left;">{{cacheMsg}}</div>
</div>
{{{hlCache}}}

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

@ -28,13 +28,13 @@
<ol>
<c:forEach var="doc" varStatus="s" items="${documentItems}">
<li id="result${s.index}">
<h3 class="title">
<h3 class="title ellipsis">
<a class="link" href="${doc.urlLink}" data-uri="${doc.urlLink}" data-id="${doc.docId}">${f:h(doc.contentTitle)}</a>
</h3>
<div class="body">
<div class="description">${doc.contentDescription}</div>
<div class="site ellipsis">
<cite>${f:h(doc.site)}</cite>
<cite>${f:h(doc.sitePath)}</cite>
<c:if test="${doc.hasCache_s_s=='true'}">
<a href="cache?docId=${doc.docId}${appendHighlightQueries}" class="cache"><bean:message
key="labels.search_result_cache" /></a>