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

Replaced view icons in Bootstrap with FontAwesome icons. Moved the beloved icons to Bootprint.

parent 84686252
No related merge requests found
var vudlSettings = {
'accordion': {
'bottom' :20, // Pixels from the bottom to adjust accordion
'headerHeight':26 // Height of the headers, plus top-bottom margins
},
'scroll': {
'top' :100, // Pixels above to of accordion to trigger loading
'bottom' :300, // Pixels below
'selected':10 // When scrolling to selected, spacing from top
},
}
\ No newline at end of file
<div class="pull-right">
<? $viewList = $this->params->getViewList(); if (count($viewList) > 1): ?>
<? foreach ($viewList as $viewType => $viewData): ?>
<? if (!$viewData['selected']): ?>
<a href="<?=$this->results->getUrlQuery()->setViewParam($viewType)?>" title="<?=$this->transEsc('Switch view to')?> <?=$this->transEsc($viewData['desc'])?>" >
<? endif; ?>
<img src="<?=$this->imageLink('view_'.$viewType.'.png') ?>"<? if($viewData['selected']): ?> title="<?=$this->transEsc($viewData['desc']) ?> <?=$this->transEsc('view already selected') ?>" <? endif ?> alt="<?=$this->transEsc($viewData['desc'])?>"/>
<?=ucfirst($this->transEsc($viewType)) ?> <?=$this->transEsc('view') ?><? if (!$viewData['selected']): ?></a><? endif; ?>&nbsp;
<? endforeach; ?>
<? endif; ?>
</div>
h2,#modal h3 {margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px} h2,#modal h3 {margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px}
#modal h3 {margin-bottom:0px} #modal h3 {margin-bottom:0px}
.icon-grid:before {content: "\f00a"}
.result {border-top:1px solid #DDD;padding:1em 0} .result {border-top:1px solid #DDD;padding:1em 0}
.tab-container {border:1px solid #DDD;border-top:0;border-radius:0 0 4px 4px;margin-top:-20px;padding:12px;position:relative} .tab-container {border:1px solid #DDD;border-top:0;border-radius:0 0 4px 4px;margin-top:-20px;padding:12px;position:relative}
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<? if (!$viewData['selected']): ?> <? if (!$viewData['selected']): ?>
<a href="<?=$this->results->getUrlQuery()->setViewParam($viewType)?>" title="<?=$this->transEsc('Switch view to')?> <?=$this->transEsc($viewData['desc'])?>" > <a href="<?=$this->results->getUrlQuery()->setViewParam($viewType)?>" title="<?=$this->transEsc('Switch view to')?> <?=$this->transEsc($viewData['desc'])?>" >
<? endif; ?> <? endif; ?>
<img src="<?=$this->imageLink('view_'.$viewType.'.png') ?>"<? if($viewData['selected']): ?> title="<?=$this->transEsc($viewData['desc']) ?> <?=$this->transEsc('view already selected') ?>" <? endif ?> alt="<?=$this->transEsc($viewData['desc'])?>"/> <i class="icon-<?=$viewType ?>"<? if($viewData['selected']): ?> title="<?=$this->transEsc($viewData['desc']) ?> <?=$this->transEsc('view already selected') ?>" <? endif ?> alt="<?=$this->transEsc($viewData['desc'])?>"></i>
<?=ucfirst($this->transEsc($viewType)) ?> <?=$this->transEsc('view') ?><? if (!$viewData['selected']): ?></a><? endif; ?>&nbsp; <?=ucfirst($this->transEsc($viewType)) ?> <?=$this->transEsc('view') ?><? if (!$viewData['selected']): ?></a><? endif; ?>&nbsp;
<? endforeach; ?> <? endforeach; ?>
<? endif; ?> <? endif; ?>
......
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