removes the cis styles from the admin views

This commit is contained in:
SimonGschnell
2024-04-26 14:43:56 +02:00
parent dec6b160a6
commit ffe4fcb0b3
5 changed files with 4 additions and 9 deletions
@@ -11,7 +11,6 @@ $this->load->view(
'sbadmintemplate3' => true,
'tabulator5' => true,
'tabulator5JQuery' => true,
'cis'=>true,
'momentjs2' => true,
'ajaxlib' => true,
'dialoglib' => true,
@@ -11,7 +11,6 @@ $this->load->view(
'sbadmintemplate3' => true,
'tabulator5' => true,
'tabulator5JQuery' => true,
'cis'=> true,
'momentjs2' => true,
'ajaxlib' => true,
'dialoglib' => true,
@@ -11,7 +11,6 @@ $this->load->view(
'ajaxlib' => true,
'tabulator5' => true,
'tabulator5JQuery' => true,
'cis' => true,
'tablewidget' => true,
'navigationwidget' => true,
'sbadmintemplate3' => true,
+1 -3
View File
@@ -12,9 +12,7 @@
<div id="tableDatasetActionsTop"></div>
<!-- TableWidget table -->
<div class="border border-1 mb-4">
<?php TableWidget::loadViewDataset(); ?>
</div>
<?php TableWidget::loadViewDataset(); ?>
<!-- Table info bottom -->
<div id="tableDatasetActionsBottom"></div>
+3 -3
View File
@@ -799,8 +799,8 @@ function _renderTabulatorHeaderHTML(tableWidgetDiv) {
var tableUniqueId = tableWidgetDiv.attr("tableUniqueId");
var tabulatorHeaderHTML = "";
tabulatorHeaderHTML += `<div class="btn-toolbar ${
_bootstrapVersion == 3 ? "pull-right" : "d-flex justify-content-end mb-2"
tabulatorHeaderHTML += `<div ${
_bootstrapVersion == 3 ? 'class="btn-toolbar pull-right" style="margin-bottom:0.5rem;"' : 'class="btn-toolbar d-flex justify-content-end mb-2"'
}" role="toolbar">
<div class="btn-group" role="group">
<!-- CSV Download button -->
@@ -938,7 +938,7 @@ function _renderTabulatorFooterHTML(tableWidgetFooterOptions) {
typeof tableWidgetFooterOptions.selectButtons != "undefined" &&
tableWidgetFooterOptions.selectButtons == true
) {
tabulatorFooterHTML += `<div class="btn-toolbar" role="toolbar">
tabulatorFooterHTML += `<div ${_bootstrapVersion==3?'style="margin-top:1.5rem;" class="btn-toolbar"': 'class="btn-toolbar mt-4"'} role="toolbar">
<div class="btn-group" role="group">
<button id="select-all" class="btn ${
_bootstrapVersion == 3