Skip to content

Commit

Permalink
Bug #169429 Fix: Frontend > Reports > Radio button and Export CSV ali…
Browse files Browse the repository at this point in the history
…gnment messed up (#205)

Co-authored-by: Megha Biranje <“[email protected]”>
  • Loading branch information
MeghaBiranje and Megha Biranje authored Mar 9, 2021
1 parent fd67301 commit c871571
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions tjreports/site/assets/css/tjreports.css
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,7 @@ table.tjrport-table {
.chartItems{
margin-bottom: 30px;
}
.summaryReport{
margin-top: 0px !important;
}

2 changes: 1 addition & 1 deletion tjreports/site/assets/css/tjreports.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tjreports/site/assets/js/tjrContentUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@ jQuery.extend(tjrContentUI.report, {
if (task == "summary")
{
layout = 'summary';
jQuery('#summaryReportLabel').addClass('btn-danger');
jQuery('#detailsReportLabel').removeClass('btn-success');
jQuery('#reportPagination').hide();
jQuery('#pagination').hide();
}
else
{
jQuery('#detailsReportLabel').removeClass('btn-success');
jQuery('#summaryReportLabel').removeClass('btn-danger');
jQuery('#reportPagination').show();
jQuery('#pagination').show();
}
Expand Down
Loading

0 comments on commit c871571

Please sign in to comment.