diff --git a/assets/css/app.scss b/assets/css/app.scss index 59b124137c..772376545a 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -857,6 +857,12 @@ form .field { @apply mt-4; } +.stats_table { + thead th { + @apply bg-gray-20 text-gray-90 font-semibold text-left px-4 py-3 border-b border-gray-30; + } +} + //@import 'primevue-md-light-indigo/theme.css'; //@import '~primevue/resources/primevue.min.css'; //@import '~primeflex/primeflex.css'; diff --git a/public/main/admin/statistics/index.php b/public/main/admin/statistics/index.php index bc827e4c6d..c7ba145aa5 100644 --- a/public/main/admin/statistics/index.php +++ b/public/main/admin/statistics/index.php @@ -930,7 +930,7 @@ switch ($report) { ); $scoreDisplay = ScoreDisplay::instance(); - $table = new HTML_Table(['class' => 'table table-hover table-striped data_table']); + $table = new HTML_Table(['class' => 'table table-hover table-striped data_table stats_table']); $headers = [ get_lang('Name'), get_lang('Count'), diff --git a/public/main/inc/lib/statistics.lib.php b/public/main/inc/lib/statistics.lib.php index cf0a5e832e..7128904cca 100644 --- a/public/main/inc/lib/statistics.lib.php +++ b/public/main/inc/lib/statistics.lib.php @@ -464,7 +464,7 @@ class Statistics $isFileSize = false ) { $total = 0; - $content = ' + $content = '
'; $i = 0; foreach ($stats as $subtitle => $number) { @@ -1299,7 +1299,7 @@ class Statistics } $scoreDisplay = ScoreDisplay::instance(); - $table = new HTML_Table(['class' => 'data_table']); + $table = new HTML_Table(['class' => 'data_table stats_table']); $headers = [ get_lang('Name'), get_lang('Count'), @@ -1382,7 +1382,7 @@ class Statistics ); } - $table = new HTML_Table(['class' => 'data_table']); + $table = new HTML_Table(['class' => 'data_table stats_table']); $table->setHeaderContents(0, 0, get_lang('Username')); $table->setHeaderContents(0, 1, get_lang('First name')); $table->setHeaderContents(0, 2, get_lang('Last name'));
'.$title.'