Website for visualizing a persons github network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
4.0 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <title>Organization - GitHub Graphs</title>
  7. <link rel="icon" href="./favicon.ico" type="image/x-icon" />
  8. <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  10. <link rel="stylesheet" href="./style.css" />
  11. <script
  12. src="https://code.jquery.com/jquery-3.3.1.min.js"
  13. integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
  14. crossorigin="anonymous">
  15. </script>
  16. <script src="js/githubAPI.js"></script>
  17. <script src="js/createOrgRepoGraph.js"></script>
  18. <script src="js/utilities.js"></script>
  19. <script src="js/profileGen.js"></script>
  20. <script src="js/createOrgTable.js"></script>
  21. <script src="js/createOrgInfo.js"></script>
  22. <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.css"/>
  23. <script type="text/javascript" src="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.js"></script>
  24. <script type="text/javascript" src="js/vis/vis.js"></script>
  25. <link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" />
  26. </head>
  27. <body>
  28. <div id="header-bar" class="d-flex flex-column flex-md-row shadow-sm align-items-center">
  29. <div id="header-title">
  30. <a href="./index.html">
  31. <img id="logo" src="./logo.svg" />
  32. </a>
  33. </div>
  34. <div id="navigation">
  35. <ul class="nav">
  36. <li class="nav-item">
  37. <a href="./GraphGenerator.html">
  38. Generate graphs
  39. </a>
  40. </li>
  41. <div class="nav-sep"></div>
  42. <li class="nav-item">
  43. <a href="https://github.com/jrtechs/github-graphs">
  44. View on GitHub
  45. </a>
  46. </li>
  47. <div class="nav-sep"></div>
  48. <li class="nav-item">
  49. <a href="./about.html">
  50. About
  51. </a>
  52. </li>
  53. </ul>
  54. </div>
  55. </div>
  56. <div class="main containerCustom">
  57. <div class="row containerCustom">
  58. <div class="col-md-2 col-12">
  59. <div id="profileGen"></div>
  60. </div>
  61. <div class="col-md-6 col-12">
  62. <div id="graphLoading"></div>
  63. <div id="myGraph" class="w-100"></div>
  64. <div id="organizationInfo"></div>
  65. <pre id="eventSpan"></pre>
  66. </div>
  67. <div class="col-md-4 col-12 bg-light">
  68. <div class="w-100"></div>
  69. <center><h1>Repositories</h1></center>
  70. <table class="table table-striped" id="dataTable">
  71. <thead class="thead-dark">
  72. <tr>
  73. <td>Name</td>
  74. <td>Forks</td>
  75. <td>Language</td>
  76. </tr>
  77. </thead>
  78. <tbody id="repositoryTable">
  79. </tbody>
  80. </table>
  81. </div>
  82. </div>
  83. <script>
  84. function createGraphs(orgname) {
  85. options.width = $("#myGraph").width() + "px";
  86. options.height = "700px";
  87. createOrgRepoGraph(orgname, "myGraph", "graphLoading");
  88. createOrgTable(orgname, 'repositoryTable');
  89. createOrgInfo(orgname, 'organizationInfo')
  90. }
  91. if(findGetParameter("name") !== null) {
  92. createGraphs(findGetParameter("name"))
  93. }
  94. </script>
  95. </div>
  96. </body>
  97. </html>