Skip to content

Commit

Permalink
chore(moderation): Adjust footer length with datatable width (columns)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Maier <thomas.maier@evosoft.com>
  • Loading branch information
maierthomas committed Jun 20, 2018
1 parent 605a8e5 commit 3da002e
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions frontend/sw360-portlet/src/main/webapp/html/moderation/view.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -56,36 +56,18 @@
<div class="tab-content span10">
<div id="tab-Open" class="tab-pane">
<table id="moderationsTable" cellpadding="0" cellspacing="0" border="0" class="display" style="width:100%">
<colgroup>
<col style="width: 5%;" />
<col style="width: 10%;" />
<col style="width: 20%;" />
<col style="width: 15%;" />
<col style="width: 15%;" />
<col style="width: 30%;" />
<col style="width: 5%;" />
</colgroup>
<tfoot>
<tr>
<th colspan="7"></th>
<th colspan="8"></th>
</tr>
</tfoot>
</table>
</div>
<div id="tab-Closed">
<table id="closedModerationsTable" cellpadding="0" cellspacing="0" border="0" class="display" style="width:100%">
<colgroup>
<col style="width: 5%;" />
<col style="width: 10%;" />
<col style="width: 20%;" />
<col style="width: 15%;" />
<col style="width: 15%;" />
<col style="width: 30%;" />
<col style="width: 5%;" />
</colgroup>
<tfoot>
<tr>
<th colspan="7"></th>
<th colspan="8"></th>
</tr>
</tfoot>
</table>
Expand Down Expand Up @@ -199,7 +181,7 @@
}
],
data: tableData,
autowidth: false,
autoWidth: false,
columns: [
{title: "Date", render: {display: renderTimeToReadableFormat}},
{title: "Type"},
Expand Down

0 comments on commit 3da002e

Please sign in to comment.