diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-28 23:44:50 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-28 23:44:50 +0200 |
commit | 5564b47dbc640b30a8090a6138f0c2f841accbe9 (patch) | |
tree | 6033b4bc931163ecc62c46953a77e8de187a6ce0 | |
parent | 28ad60f892f1cdebe704e4bc1aa964d3366f4dcf (diff) | |
download | volse-hubzilla-5564b47dbc640b30a8090a6138f0c2f841accbe9.tar.gz volse-hubzilla-5564b47dbc640b30a8090a6138f0c2f841accbe9.tar.bz2 volse-hubzilla-5564b47dbc640b30a8090a6138f0c2f841accbe9.zip |
minor bs4 fixes
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 2 | ||||
-rwxr-xr-x | view/tpl/settings.tpl | 14 | ||||
-rwxr-xr-x | view/tpl/settings_display.tpl | 6 | ||||
-rwxr-xr-x | view/tpl/settings_features.tpl | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 4d9a1d6cc..fb048518e 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -3,7 +3,7 @@ */ $(document).ready(function() { - //this is a hotfix to make collapsible bs panels work again. this needs fixing in templates. + //this is a hotfix to make collapsible bs panels work again. this needs fixing in bootstrap. $('a').on('click', function(e) { if($(this).data('toggle') == 'collapse') { e.preventDefault(); diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index 37bd70196..dd5fecb43 100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -11,12 +11,12 @@ <div class="panel"> <div class="section-subtitle-wrapper" role="tab" id="basic-settings"> <h3> - <a data-toggle="collapse" data-parent="#settings" href="#basic-settings-collapse" aria-expanded="true" aria-controls="basic-settings-collapse"> + <a data-toggle="collapse" data-parent="#settings" href="#basic-settings-collapse"> {{$h_basic}} </a> </h3> </div> - <div id="basic-settings-collapse" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="basic-settings"> + <div id="basic-settings-collapse" class="collapse show" role="tabpanel" aria-labelledby="basic-settings"> <div class="section-content-tools-wrapper"> {{include file="field_input.tpl" field=$username}} {{include file="field_select_grouped.tpl" field=$timezone}} @@ -37,12 +37,12 @@ <div class="panel"> <div class="section-subtitle-wrapper" role="tab" id="privacy-settings"> <h3> - <a data-toggle="collapse" data-parent="#settings" href="#privacy-settings-collapse" aria-expanded="true" aria-controls="privacy-settings-collapse"> + <a data-toggle="collapse" data-parent="#settings" href="#privacy-settings-collapse"> {{$h_prv}} </a> </h3> </div> - <div id="privacy-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="privacy-settings"> + <div id="privacy-settings-collapse" class="collapse" role="tabpanel" aria-labelledby="privacy-settings"> <div class="section-content-tools-wrapper"> {{if $server_role != 'basic'}} {{include file="field_select_grouped.tpl" field=$role}} @@ -100,12 +100,12 @@ <div class="panel"> <div class="section-subtitle-wrapper" role="tab" id="notification-settings"> <h3> - <a data-toggle="collapse" data-parent="#settings" href="#notification-settings-collapse" aria-expanded="true" aria-controls="notification-settings-collapse"> + <a data-toggle="collapse" data-parent="#settings" href="#notification-settings-collapse"> {{$h_not}} </a> </h3> </div> - <div id="notification-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="notification-settings"> + <div id="notification-settings-collapse" class="collapse" role="tabpanel" aria-labelledby="notification-settings"> <div class="section-content-tools-wrapper"> <div id="settings-notifications"> <h3>{{$activity_options}}</h3> @@ -162,7 +162,7 @@ </a> </h3> </div> - <div id="miscellaneous-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="miscellaneous-settings"> + <div id="miscellaneous-settings-collapse" class="collapse" role="tabpanel" aria-labelledby="miscellaneous-settings"> <div class="section-content-tools-wrapper"> {{if $menus}} <div class="form-group channel-menu"> diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl index 64a3a5778..d8c1ac7aa 100755 --- a/view/tpl/settings_display.tpl +++ b/view/tpl/settings_display.tpl @@ -15,7 +15,7 @@ </a> </h3> </div> - <div id="theme-settings-content" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="theme-settings"> + <div id="theme-settings-content" class="collapse show" role="tabpanel" aria-labelledby="theme-settings"> <div class="section-content-tools-wrapper"> {{if $theme}} {{include file="field_themeselect.tpl" field=$theme}} @@ -41,7 +41,7 @@ </a> </h3> </div> - <div id="custom-settings-content" class="panel-collapse collapse{{if !$theme && !$mobile_theme}} in{{/if}}" role="tabpanel" aria-labelledby="custom-settings"> + <div id="custom-settings-content" class="collapse{{if !$theme && !$mobile_theme}} in{{/if}}" role="tabpanel" aria-labelledby="custom-settings"> <div class="section-content-tools-wrapper"> {{if $theme_config}} {{$theme_config}} @@ -57,7 +57,7 @@ </a> </h3> </div> - <div id="content-settings-content" class="panel-collapse collapse{{if !$theme && !$mobile_theme && !$theme_config}} in{{/if}}" role="tabpanel" aria-labelledby="content-settings"> + <div id="content-settings-content" class="collapse{{if !$theme && !$mobile_theme && !$theme_config}} in{{/if}}" role="tabpanel" aria-labelledby="content-settings"> <div class="section-content-wrapper"> {{include file="field_input.tpl" field=$ajaxint}} {{include file="field_input.tpl" field=$itemspage}} diff --git a/view/tpl/settings_features.tpl b/view/tpl/settings_features.tpl index 75eb34fb9..dfe049a7a 100755 --- a/view/tpl/settings_features.tpl +++ b/view/tpl/settings_features.tpl @@ -14,7 +14,7 @@ </a> </h3> </div> - <div id="{{$g}}-settings-content" class="panel-collapse collapse{{if $g == 'general'}} in{{/if}}" role="tabpanel" aria-labelledby="{{$g}}-settings-title"> + <div id="{{$g}}-settings-content" class="collapse{{if $g == 'general'}} show{{/if}}" role="tabpanel" aria-labelledby="{{$g}}-settings-title"> <div class="section-content-tools-wrapper"> {{foreach $f.1 as $fcat}} {{include file="field_checkbox.tpl" field=$fcat}} |