Skip to content
Snippets Groups Projects
Commit bed1d217 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Fix missed sidebars and styling.

parent ce432a39
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -35,10 +35,12 @@
.collapsed::after {content: '\25BC';}
.collapse,
.collapsing {
.collapsing,
& > .facet {
border-left: 1px solid @list-group-border;
border-right: 1px solid @list-group-border;
}
& > .facet:first-child { border-top: 1px solid @list-group-border; }
.facetOR .text {
display: inline-block;
......
......@@ -159,27 +159,25 @@
<? endif ?>
<? if (!empty($searchFilters)): ?>
<h4><?=$this->transEsc("adv_search_filters")?></h4>
<div class="list-group">
<label class="list-group-item checkbox">
<div class="facet-group">
<label class="checkbox">
<input type="checkbox" checked="checked" class="checkbox-select-all"/>
<?=$this->transEsc("adv_search_select_all")?>
</label>
</div>
<? foreach ($searchFilters as $field => $data): ?>
<div class="list-group">
<div class="list-group-item title"><?=$this->transEsc($field)?></div>
<div class="facet-group">
<div class="title"><?=$this->transEsc($field)?></div>
<? foreach ($data as $value): ?>
<label class="list-group-item checkbox"><input class="checkbox-select-item" type="checkbox" checked="checked" name="filter[]" value='<?=$this->escapeHtmlAttr($value['field'])?>:"<?=$this->escapeHtmlAttr($value['value'])?>"' /> <?=$this->escapeHtml($value['displayText'])?></label>
<label class="facet checkbox"><input class="checkbox-select-item" type="checkbox" checked="checked" name="filter[]" value='<?=$this->escapeHtmlAttr($value['field'])?>:"<?=$this->escapeHtmlAttr($value['value'])?>"' /> <?=$this->escapeHtml($value['displayText'])?></label>
<? endforeach; ?>
</div>
<? endforeach; ?>
<? endif; ?>
<div class="sidegroup">
<h4><?=$this->transEsc("Search Tips")?></h4>
<div class="list-group">
<a class="list-group-item help-link" data-lightbox href="<?=$this->url('help-home')?>?topic=advsearch&amp;_=<?=time() ?>"><?=$this->transEsc("Help with Advanced Search")?></a>
<a class="list-group-item help-link" data-lightbox href="<?=$this->url('help-home')?>?topic=search&amp;_=<?=time() ?>"><?=$this->transEsc("Help with Search Operators")?></a>
</div>
<h4><?=$this->transEsc("Search Tips")?></h4>
<div class="facet-group">
<a class="facet help-link" data-lightbox href="<?=$this->url('help-home')?>?topic=advsearch&amp;_=<?=time() ?>"><?=$this->transEsc("Help with Advanced Search")?></a>
<a class="facet help-link" data-lightbox href="<?=$this->url('help-home')?>?topic=search&amp;_=<?=time() ?>"><?=$this->transEsc("Help with Search Operators")?></a>
</div>
</div>
</form>
......
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