Merge pull request #2548 from annando/1605-network-widget
Frio: The network widget and the file widget now look better
This commit is contained in:
commit
16da854c2c
2 changed files with 24 additions and 0 deletions
13
view/theme/frio/templates/fileas_widget.tpl
Normal file
13
view/theme/frio/templates/fileas_widget.tpl
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
<div id="fileas-sidebar" class="widget">
|
||||
<h3>{{$title}}</h3>
|
||||
<div id="nets-desc">{{$desc}}</div>
|
||||
|
||||
<ul class="fileas-ul">
|
||||
<li class="tool{{if $sel_all}} selected{{/if}}"><a href="{{$base}}" class="fileas-link fileas-all{{if $sel_all}} fileas-selected{{/if}}">{{$all}}</a></li>
|
||||
{{foreach $terms as $term}}
|
||||
<li class="tool{{if $term.selected}} selected{{/if}}"><a href="{{$base}}?f=&file={{$term.name}}" class="fileas-link{{if $term.selected}} fileas-selected{{/if}}">{{$term.name}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
||||
</div>
|
11
view/theme/frio/templates/nets.tpl
Normal file
11
view/theme/frio/templates/nets.tpl
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
<div id="nets-sidebar" class="widget">
|
||||
<h3>{{$title}}</h3>
|
||||
<div id="nets-desc">{{$desc}}</div>
|
||||
<ul role="menu" class="nets-ul">
|
||||
<li role="menuitem" {{if $sel_all}}class="selected"{{/if}}><a href="{{$base}}?nets=all" class="nets-link{{if $sel_all}} nets-selected{{/if}} nets-all">{{$all}}</a></li>
|
||||
{{foreach $nets as $net}}
|
||||
<li role="menuitem" {{if $net.selected}}class="selected"{{/if}}><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</div>
|
Loading…
Reference in a new issue