|
@@ -58,20 +58,20 @@ ${ commonheader(_('Search'), "search", user, "40px") | n,unicode }
|
|
|
</form>
|
|
</form>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
-<div class="container">
|
|
|
|
|
|
|
+<div class="container results">
|
|
|
<div id="loader" class="row" style="text-align: center">
|
|
<div id="loader" class="row" style="text-align: center">
|
|
|
<img src="/static/art/spinner.gif" />
|
|
<img src="/static/art/spinner.gif" />
|
|
|
</div>
|
|
</div>
|
|
|
<div id="mainContent" class="row hide">
|
|
<div id="mainContent" class="row hide">
|
|
|
% if error:
|
|
% if error:
|
|
|
- <div class="span12">
|
|
|
|
|
|
|
+ <div class="span12 results">
|
|
|
<div class="alert">
|
|
<div class="alert">
|
|
|
${ error['message'] }
|
|
${ error['message'] }
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
%else:
|
|
%else:
|
|
|
% if response and response['response']['docs'] and len(response['response']['docs']) > 0 and response['normalized_facets']:
|
|
% if response and response['response']['docs'] and len(response['response']['docs']) > 0 and response['normalized_facets']:
|
|
|
- <div class="span2">
|
|
|
|
|
|
|
+ <div class="span2 results">
|
|
|
<ul class="facet-list">
|
|
<ul class="facet-list">
|
|
|
% for fld in response['normalized_facets']:
|
|
% for fld in response['normalized_facets']:
|
|
|
% if fld['type'] == 'date':
|
|
% if fld['type'] == 'date':
|
|
@@ -119,9 +119,9 @@ ${ commonheader(_('Search'), "search", user, "40px") | n,unicode }
|
|
|
|
|
|
|
|
% if response and response['response']['docs'] and len(response['response']['docs']) > 0:
|
|
% if response and response['response']['docs'] and len(response['response']['docs']) > 0:
|
|
|
% if response['normalized_facets']:
|
|
% if response['normalized_facets']:
|
|
|
- <div class="span10">
|
|
|
|
|
|
|
+ <div class="span10 results">
|
|
|
% else:
|
|
% else:
|
|
|
- <div class="span12">
|
|
|
|
|
|
|
+ <div class="span12 results">
|
|
|
% endif
|
|
% endif
|
|
|
<ul class="breadcrumb">
|
|
<ul class="breadcrumb">
|
|
|
<li class="pull-right">
|
|
<li class="pull-right">
|