Browse Source

Upgraded the repository table to have pagination.

pull/11/head
Jeffery Russell 5 years ago
parent
commit
5a2a0ac53b
2 changed files with 7 additions and 0 deletions
  1. +5
    -0
      public/OrgRepoGraph.html
  2. +2
    -0
      public/js/createOrgTable.js

+ 5
- 0
public/OrgRepoGraph.html View File

@ -19,6 +19,11 @@
<script src="js/profileGen.js"></script> <script src="js/profileGen.js"></script>
<script src="js/createOrgTable.js"></script> <script src="js/createOrgTable.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.js"></script>
<script type="text/javascript" src="js/vis/vis.js"></script> <script type="text/javascript" src="js/vis/vis.js"></script>
<link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" /> <link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" />

+ 2
- 0
public/js/createOrgTable.js View File

@ -22,6 +22,8 @@ function createOrgTable(orgName, tableContainer)
} }
$("#" + tableContainer).html(html); $("#" + tableContainer).html(html);
$('#dataTable').DataTable();
}, },
function(error) function(error)
{ {

Loading…
Cancel
Save