diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-05-31 09:56:35 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-05-31 09:56:35 +0200 |
commit | 47d55694a4c84b6c12c0db61a69bcac8b671b20e (patch) | |
tree | b15e96f4ea67e2214a66a9d28dafaf53d25b98ec /view/tpl/posted_date_widget.tpl | |
parent | 087f9784e3c5a860ed2b86e7f9e8e9f312038546 (diff) | |
parent | f0e615dee529e031663576286345141ad2996974 (diff) | |
download | volse-hubzilla-47d55694a4c84b6c12c0db61a69bcac8b671b20e.tar.gz volse-hubzilla-47d55694a4c84b6c12c0db61a69bcac8b671b20e.tar.bz2 volse-hubzilla-47d55694a4c84b6c12c0db61a69bcac8b671b20e.zip |
Merge branch '2.4RC'2.4
Diffstat (limited to 'view/tpl/posted_date_widget.tpl')
-rwxr-xr-x | view/tpl/posted_date_widget.tpl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl index 8b442e4b9..fb43c744b 100755 --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -3,12 +3,12 @@ function toggle_posted_date_button() { if($('#posted-date-dropdown').is(':visible')) { $('#posted-date-icon').removeClass('fa-caret-up'); - $('#posted-date-icon').addClass('fa-caret-down'); + $('#posted-date-icon').addClass('fa-cog'); $('#posted-date-dropdown').hide(); } else { $('#posted-date-icon').addClass('fa-caret-up'); - $('#posted-date-icon').removeClass('fa-caret-down'); + $('#posted-date-icon').removeClass('fa-cog'); $('#posted-date-dropdown').show(); } } @@ -18,21 +18,21 @@ function toggle_posted_date_button() { <div id="datebrowse-sidebar" class="widget"> <h3>{{$title}}</h3> <script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script> - <ul id="posted-date-selector" class="nav nav-pills nav-stacked"> + <ul id="posted-date-selector" class="nav nav-pills flex-column"> {{foreach $dates as $y => $arr}} {{if $y == $cutoff_year}} </ul> <div id="posted-date-dropdown" style="display: none;"> - <ul id="posted-date-selector-drop" class="nav nav-pills nav-stacked"> + <ul id="posted-date-selector-drop" class="nav nav-pills flex-column"> {{/if}} - <li id="posted-date-selector-year-{{$y}}"> - <a href="#" onclick="openClose('posted-date-selector-{{$y}}'); return false;">{{$y}}</a> + <li class="nav-item" id="posted-date-selector-year-{{$y}}"> + <a class="nav-link" 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"> + <ul class="posted-date-selector-months nav nav-pills flex-column"> {{foreach $arr as $d}} - <li> - <a href="#" onclick="dateSubmit('{{$url}}?f=&dend={{$d.1}}{{if $showend}}&dbegin={{$d.2}}{{/if}}'); return false;">{{$d.0}}</a> + <li class="nav-item"> + <a class="nav-link" href="#" onclick="dateSubmit('{{$url}}?f=&dend={{$d.1}}{{if $showend}}&dbegin={{$d.2}}{{/if}}'); return false;">{{$d.0}}</a> </li> {{/foreach}} </ul> @@ -40,7 +40,7 @@ function toggle_posted_date_button() { {{/foreach}} {{if $cutoff}} </div> - <button class="btn btn-default btn-sm" onclick="toggle_posted_date_button(); return false;"><i id="posted-date-icon" class="fa fa-caret-down"></i></button> + <button class="btn btn-outline-secondary btn-sm" onclick="toggle_posted_date_button(); return false;"><i id="posted-date-icon" class="fa fa-cog"></i></button> {{/if}} </ul> </div> |