aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/posted_date_widget.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-07 18:11:36 +0200
committermarijus <mario@mariovavti.com>2014-10-07 18:11:36 +0200
commit21eae4df9c45d836c50bae79b251597968f43967 (patch)
tree9b0524e74a0092decbdef2c915a41bedeae00112 /view/tpl/posted_date_widget.tpl
parentbf0168546331c131652cfd519522d193078e999c (diff)
downloadvolse-hubzilla-21eae4df9c45d836c50bae79b251597968f43967.tar.gz
volse-hubzilla-21eae4df9c45d836c50bae79b251597968f43967.tar.bz2
volse-hubzilla-21eae4df9c45d836c50bae79b251597968f43967.zip
porting more widgets to bs nav-pills
Diffstat (limited to 'view/tpl/posted_date_widget.tpl')
-rwxr-xr-xview/tpl/posted_date_widget.tpl30
1 files changed, 17 insertions, 13 deletions
diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl
index 0867ab392..1104d61bb 100755
--- a/view/tpl/posted_date_widget.tpl
+++ b/view/tpl/posted_date_widget.tpl
@@ -1,16 +1,20 @@
<div id="datebrowse-sidebar" class="widget">
<h3>{{$title}}</h3>
-<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
-<ul id="posted-date-selector">
-{{foreach $dates as $y => $arr}}
-<li id="posted-date-selector-year-{{$y}}" class="fakelink" onclick="openClose('posted-date-selector-{{$y}}');">{{$y}}</li>
-<div id="posted-date-selector-{{$y}}" style="display: none;">
-<ul class="posted-date-selector-months">
-{{foreach $arr as $d}}
-<li class="posted-date-li"><a href="#" onclick="dateSubmit('{{$url}}?f=&dend={{$d.1}}&dbegin={{$d.2}}'); return false;">{{$d.0}}</a></li>
-{{/foreach}}
-</ul>
-</div>
-{{/foreach}}
-</ul>
+ <script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
+ <ul id="posted-date-selector" class="nav nav-pills nav-stacked">
+ {{foreach $dates as $y => $arr}}
+ <li id="posted-date-selector-year-{{$y}}">
+ <a href="#" onclick="openClose('posted-date-selector-{{$y}}'); return false;">{{$y}}</a>
+ </li>
+ <div id="posted-date-selector-{{$y}}" style="display: none;">
+ <ul class="posted-date-selector-months nav nav-pills nav-stacked">
+ {{foreach $arr as $d}}
+ <li>
+ <a href="#" onclick="dateSubmit('{{$url}}?f=&dend={{$d.1}}&dbegin={{$d.2}}'); return false;">{{$d.0}}</a>
+ </li>
+ {{/foreach}}
+ </ul>
+ </div>
+ {{/foreach}}
+ </ul>
</div>