Refactor widgets
- Move widget templates to subfolder - Add new generic filter widget templates to replace category, network and filer filters - Update styles
This commit is contained in:
parent
6cc376020e
commit
71ae8d07a6
37 changed files with 260 additions and 308 deletions
14
view/theme/quattro/templates/widget/filter.tpl
Normal file
14
view/theme/quattro/templates/widget/filter.tpl
Normal file
|
@ -0,0 +1,14 @@
|
|||
<div id="{{$type}}-sidebar" class="widget">
|
||||
<h3>{{$title}}</h3>
|
||||
{{if $desc}}
|
||||
<div id="{{$type}}-desc">{{$desc nofilter}}</div>
|
||||
{{/if}}
|
||||
|
||||
<ul class="{{$type}}-ul">
|
||||
<li class="tool {{if !$selected}}selected{{/if}}"><a href="{{$base}}" class="{{$type}}-link {{$type}}-all">{{$all_label}}</a>
|
||||
{{foreach $options as $option}}
|
||||
<li class="tool {{if $selected == $option.ref}}selected{{/if}}"><a href="{{$base}}{{$type}}={{$option.ref}}" class="{{$type}}-link">{{$option.name}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue