Not all tables should be of .table class

pull/5742/merge
Aleksander Machniak 7 years ago
parent 6ca864ff9a
commit 797696346e

@ -3,7 +3,7 @@
<h1 class="voice"><roundcube:object name="productname" /> <roundcube:label name="login" /></h1>
<div class="content selected" role="main">
<roundcube:form id="login-form" name="login-form" method="post">
<roundcube:form id="login-form" name="login-form" method="post" class="propform">
<roundcube:object name="loginform" form="login-form" size="40" submit=true />
</form>
<div id="bottomline" role="contentinfo">

@ -537,7 +537,11 @@ function rcube_elastic_ui()
});
// Make tables pretier, FIXME: these classes do not work on the current Bootstrap build as they should
$('table:not(.propform):not(.listing)').addClass('table table-responsive').find('thead').addClass('thead-default');
$('table:not(.propform):not(.listing)').each(function() {
if (!$(this).parent().is('.propform')) {
$(this).addClass('table table-responsive').find('thead').addClass('thead-default');
}
});
$('.toolbarmenu select', context).addClass('form-control');
if (context != document) {

Loading…
Cancel
Save