|
@@ -1,32 +1,73 @@
|
|
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
|
|
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
|
|
<la:form action="/search" method="get" styleId="searchForm"
|
|
<la:form action="/search" method="get" styleId="searchForm"
|
|
- styleClass="searchResultForm">
|
|
|
|
-${fe:facetForm()}${fe:geoForm()}
|
|
|
|
|
|
+ role="search">
|
|
|
|
+ ${fe:facetForm()}${fe:geoForm()}
|
|
<nav class="navbar navbar-dark bg-inverse navbar-fixed-top">
|
|
<nav class="navbar navbar-dark bg-inverse navbar-fixed-top">
|
|
<la:link styleClass="navbar-brand" href="/">
|
|
<la:link styleClass="navbar-brand" href="/">
|
|
<img src="${f:url('/images/logo-head.png')}"
|
|
<img src="${f:url('/images/logo-head.png')}"
|
|
- alt="<la:message key="labels.header_brand_name" />" />
|
|
|
|
|
|
+ alt="<la:message key="labels.header_brand_name" />" />
|
|
</la:link>
|
|
</la:link>
|
|
<div
|
|
<div
|
|
- class="search-box navbar-form col-lg-5 col-md-6 col-sm-6 col-xs-8 pull-right"
|
|
|
|
- role="search">
|
|
|
|
|
|
+ class="search-box navbar-form col-lg-5 col-md-6 col-sm-6 col-xs-8"
|
|
|
|
+ role="search">
|
|
<div class="input-group">
|
|
<div class="input-group">
|
|
<la:text property="q" maxlength="1000" styleId="query"
|
|
<la:text property="q" maxlength="1000" styleId="query"
|
|
- styleClass="form-control" autocomplete="off" />
|
|
|
|
|
|
+ styleClass="form-control" autocomplete="off" />
|
|
<span class="input-group-btn">
|
|
<span class="input-group-btn">
|
|
<button type="submit" name="search" id="searchButton"
|
|
<button type="submit" name="search" id="searchButton"
|
|
- class="btn btn-primary">
|
|
|
|
|
|
+ class="btn btn-primary">
|
|
<i class="fa fa-search"></i>
|
|
<i class="fa fa-search"></i>
|
|
</button>
|
|
</button>
|
|
<button type="button" class="btn btn-default"
|
|
<button type="button" class="btn btn-default"
|
|
- data-toggle="control-options" data-target="#searchOptions"
|
|
|
|
- id="searchOptionsButton">
|
|
|
|
|
|
+ data-toggle="control-options" data-target="#searchOptions"
|
|
|
|
+ id="searchOptionsButton">
|
|
<i class="fa fa-cog"></i> <span class="sr-only"><la:message
|
|
<i class="fa fa-cog"></i> <span class="sr-only"><la:message
|
|
- key="labels.header_form_option_btn" /></span>
|
|
|
|
|
|
+ key="labels.header_form_option_btn" /></span>
|
|
</button>
|
|
</button>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <ul class="nav navbar-nav hidden-xs-down pull-right">
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${!empty username && username != 'guest'}">
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <div class="dropdown">
|
|
|
|
+ <a class="nav-link dropdown-toggle" data-toggle="dropdown"
|
|
|
|
+ href="#" role="button" aria-haspopup="true"
|
|
|
|
+ aria-expanded="false"> <i class="fa fa-user"></i>
|
|
|
|
+ <span>${username}</span>
|
|
|
|
+ </a>
|
|
|
|
+ <div class="dropdown-menu" aria-labelledby="userMenu">
|
|
|
|
+ <la:link href="/profile" styleClass="dropdown-item">
|
|
|
|
+ <la:message key="labels.profile" />
|
|
|
|
+ </la:link>
|
|
|
|
+ <c:if test="${adminUser == true}">
|
|
|
|
+ <la:link href="/admin" styleClass="dropdown-item">
|
|
|
|
+ <la:message key="labels.administration" />
|
|
|
|
+ </la:link>
|
|
|
|
+ </c:if>
|
|
|
|
+ <la:link href="/logout" styleClass="dropdown-item">
|
|
|
|
+ <la:message key="labels.logout" />
|
|
|
|
+ </la:link>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:when test="${ pageLoginLink }">
|
|
|
|
+ <li class="nav-item"><la:link href="/login"
|
|
|
|
+ styleClass="nav-link " role="button" aria-haspopup="true"
|
|
|
|
+ aria-expanded="false">
|
|
|
|
+ <i class="fa fa-sign-in"></i>
|
|
|
|
+ <span><la:message key="labels.login" /></span>
|
|
|
|
+ </la:link></li>
|
|
|
|
+ </c:when>
|
|
|
|
+ </c:choose>
|
|
|
|
+ <li class="nav-item"><la:link href="/help" styleClass="nav-link" role="help" aria-haspopup="true"
|
|
|
|
+ aria-expanded="false">
|
|
|
|
+ <i class="fa fa-question-circle"></i>
|
|
|
|
+ <span><la:message key="labels.index_help" /></span>
|
|
|
|
+ </la:link></li>
|
|
|
|
+ </ul>
|
|
</nav>
|
|
</nav>
|
|
<div id="searchOptions" class="control-options">
|
|
<div id="searchOptions" class="control-options">
|
|
<div class="container">
|
|
<div class="container">
|
|
@@ -37,7 +78,7 @@ ${fe:facetForm()}${fe:geoForm()}
|
|
<fieldset class="form-group">
|
|
<fieldset class="form-group">
|
|
<label for="contentNum"><la:message key="labels.index_num" /></label>
|
|
<label for="contentNum"><la:message key="labels.index_num" /></label>
|
|
<la:select property="num" styleId="numSearchOption"
|
|
<la:select property="num" styleId="numSearchOption"
|
|
- styleClass="form-control">
|
|
|
|
|
|
+ styleClass="form-control">
|
|
<option value="">
|
|
<option value="">
|
|
<la:message key="labels.search_result_select_num" />
|
|
<la:message key="labels.search_result_select_num" />
|
|
</option>
|
|
</option>
|
|
@@ -53,7 +94,7 @@ ${fe:facetForm()}${fe:geoForm()}
|
|
<label for="contentSort"><la:message
|
|
<label for="contentSort"><la:message
|
|
key="labels.index_sort" /></label>
|
|
key="labels.index_sort" /></label>
|
|
<la:select property="sort" styleId="sortSearchOption"
|
|
<la:select property="sort" styleId="sortSearchOption"
|
|
- styleClass="form-control">
|
|
|
|
|
|
+ styleClass="form-control">
|
|
<option value="">
|
|
<option value="">
|
|
<la:message key="labels.search_result_select_sort" />
|
|
<la:message key="labels.search_result_select_sort" />
|
|
</option>
|
|
</option>
|
|
@@ -100,11 +141,11 @@ ${fe:facetForm()}${fe:geoForm()}
|
|
<label for="contentLang"><la:message
|
|
<label for="contentLang"><la:message
|
|
key="labels.index_lang" /></label>
|
|
key="labels.index_lang" /></label>
|
|
<la:select property="lang" styleId="langSearchOption"
|
|
<la:select property="lang" styleId="langSearchOption"
|
|
- multiple="true" styleClass="form-control">
|
|
|
|
|
|
+ multiple="true" styleClass="form-control">
|
|
<c:forEach var="item" items="${langItems}">
|
|
<c:forEach var="item" items="${langItems}">
|
|
<la:option value="${f:u(item.value)}">
|
|
<la:option value="${f:u(item.value)}">
|
|
- ${f:h(item.label)}
|
|
|
|
- </la:option>
|
|
|
|
|
|
+ ${f:h(item.label)}
|
|
|
|
+ </la:option>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</la:select>
|
|
</la:select>
|
|
</fieldset>
|
|
</fieldset>
|
|
@@ -113,11 +154,11 @@ ${fe:facetForm()}${fe:geoForm()}
|
|
<label for="contentLabelType"><la:message
|
|
<label for="contentLabelType"><la:message
|
|
key="labels.index_label" /></label>
|
|
key="labels.index_label" /></label>
|
|
<la:select property="fields.label" styleId="labelTypeSearchOption"
|
|
<la:select property="fields.label" styleId="labelTypeSearchOption"
|
|
- multiple="true" styleClass="form-control">
|
|
|
|
|
|
+ multiple="true" styleClass="form-control">
|
|
<c:forEach var="item" items="${labelTypeItems}">
|
|
<c:forEach var="item" items="${labelTypeItems}">
|
|
<la:option value="${f:u(item.value)}">
|
|
<la:option value="${f:u(item.value)}">
|
|
- ${f:h(item.label)}
|
|
|
|
- </la:option>
|
|
|
|
|
|
+ ${f:h(item.label)}
|
|
|
|
+ </la:option>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</la:select>
|
|
</la:select>
|
|
</fieldset>
|
|
</fieldset>
|
|
@@ -132,8 +173,8 @@ ${fe:facetForm()}${fe:geoForm()}
|
|
<la:message key="labels.search" />
|
|
<la:message key="labels.search" />
|
|
</button>
|
|
</button>
|
|
<button class="btn btn-secondary pull-right"
|
|
<button class="btn btn-secondary pull-right"
|
|
- data-toggle="control-options" data-target="#searchOptions"
|
|
|
|
- id="searchOptionsCloseButton">
|
|
|
|
|
|
+ data-toggle="control-options" data-target="#searchOptions"
|
|
|
|
+ id="searchOptionsCloseButton">
|
|
<i class="fa fa-angle-double-right"></i>
|
|
<i class="fa fa-angle-double-right"></i>
|
|
<la:message key="labels.search_options_close" />
|
|
<la:message key="labels.search_options_close" />
|
|
</button>
|
|
</button>
|