Skip to content

Commit

Permalink
Update layout for DataTables 2.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 28, 2024
1 parent 04376e7 commit 89f1f51
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<bs:card title="${it.displayName}" fontAwesomeIcon="award">

<div class="table-responsive">
<table class="table table-hover table-striped display" id="fixed">
<table class="table table-hover display" id="fixed">
<thead>
<tr>
<th>${%File}</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</div>

<!-- A single trend chart with the severities pie chart on large screens -->
<div class="col-xl-3 col-xxl-2 d-none d-xl-block">
<div class="col-xl-2 col-xxl-2 d-none d-xl-block">

<bs:card title="${%Severities Distribution}" fontAwesomeIcon="chart-pie">
<c:pie-chart id="severities-solo" model="${it.severityModel}" height="256" enableLinks="true"/>
Expand All @@ -34,14 +34,21 @@
</div>

<!-- A single trend chart with the reference pie chart on large screens -->
<div class="col-xl-3 col-xxl-2 d-none d-xl-block">
<div class="col-xl-2 col-xxl-2 d-none d-xl-block">

<bs:card title="${%Reference Comparison}" fontAwesomeIcon="bell">
<c:pie-chart id="trend-solo" model="${it.trendModel}" height="256" enableLinks="true"/>
</bs:card>

</div>

<!-- A single trend chart with the reference pie chart on large screens -->
<div class="col-xl-2 col-xxl-2 d-none d-xl-block">
<bs:card title="${%Modified vs. Unchanged}" fontAwesomeIcon="file-pen">
<c:pie-chart id="modified-solo" model="${it.modifiedModel}" height="256" enableLinks="true"/>
</bs:card>
</div>

<div class="col">
<issues:history/>
</div>
Expand Down
18 changes: 5 additions & 13 deletions plugin/src/main/resources/issues/property.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,13 @@
<div role="tabpanel" id="${property}Content" class="tab-pane fade" aria-labelledby="${property}Content-tab">
<j:set var="l" value="${it.tabLabelProvider}"/>
<j:set var="t" value="${it.getDetails(property)}"/>
<div class="table-responsive">
<table class="table table-hover table-striped display property-table" id="${property}" isLoaded="true">
<colgroup>
<col class="col-width-5"/>
<col class="col-width-1 text-end"/>
<col class="col-width-1 text-end" />
<col class="col-width-5"/>
</colgroup>
<table class="table table-hover display property-table" id="${property}" isLoaded="true" style="width: 100%;">
<thead>
<tr>
<th>${name}</th>
<th class="text-end">${%Total}</th>
<th class="text-end">${%New}</th>
<th class="no-sort">${%Distribution}</th>
<th class="col-width-3">${name}</th>
<th class="col-width-1 text-end">${%Total}</th>
<th class="col-width-1 text-end">${%New}</th>
<th class="col-width-5 no-sort">${%Distribution}</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -64,7 +57,6 @@
</tbody>
</table>
</div>
</div>
</j:if>

</j:jelly>

0 comments on commit 89f1f51

Please sign in to comment.