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.

113 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
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/friendsGraph.js"></script>
  18. <script src="js/createOrgRepoGraph.js"></script>
  19. <script src="js/utilities.js"></script>
  20. <script src="js/profileGen.js"></script>
  21. <script src="js/createOrgTable.js"></script>
  22. <script src="js/createOrgInfo.js"></script>
  23. <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.css"/>
  24. <script type="text/javascript" src="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.js"></script>
  25. <script type="text/javascript" src="js/vis/vis.js"></script>
  26. <link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" />
  27. </head>
  28. <body>
  29. <div id="header-bar" class="d-flex flex-column flex-md-row shadow-sm align-items-center">
  30. <div id="header-title">
  31. <a href="./index.html">
  32. <img id="logo" src="./logo.svg" />
  33. </a>
  34. </div>
  35. <div id="navigation">
  36. <ul class="nav">
  37. <li class="nav-item">
  38. <a href="./GraphGenerator.html">
  39. Generate graphs
  40. </a>
  41. </li>
  42. <div class="nav-sep"></div>
  43. <li class="nav-item">
  44. <a href="https://github.com/jrtechs/github-graphs">
  45. View on GitHub
  46. </a>
  47. </li>
  48. <div class="nav-sep"></div>
  49. <li class="nav-item">
  50. <a href="./about.html">
  51. About
  52. </a>
  53. </li>
  54. </ul>
  55. </div>
  56. </div>
  57. <div class="main containerCustom">
  58. <div class="row containerCustom">
  59. <div class="col-md-2 col-12">
  60. <div id="profileGen"></div>
  61. </div>
  62. <div class="col-md-6 col-12">
  63. <div id="graphLoading"></div>
  64. <div id="organizationInfo"></div>
  65. <div id="myGraph" class="w-100"></div>
  66. <pre id="eventSpan"></pre>
  67. </div>
  68. <div class="col-md-4 col-12 bg-light">
  69. <div class="w-100"></div>
  70. <center><h1>Repositories</h1></center>
  71. <table class="table table-striped" id="dataTable">
  72. <thead class="thead-dark">
  73. <tr>
  74. <td>Name</td>
  75. <td>Forks</td>
  76. <td>Language</td>
  77. </tr>
  78. </thead>
  79. <tbody id="repositoryTable">
  80. </tbody>
  81. </table>
  82. </div>
  83. </div>
  84. <script>
  85. function createGraphs(orgname) {
  86. options.width = $("#myGraph").width() + "px";
  87. options.height = "700px";
  88. createOrgRepoGraph(orgname, "myGraph", "graphLoading");
  89. createOrgTable(orgname, 'repositoryTable');
  90. createOrgInfo(orgname, 'organizationInfo')
  91. }
  92. if(findGetParameter("name") !== null)
  93. {
  94. createGraphs(findGetParameter("name"))
  95. }
  96. </script>
  97. </div>
  98. </body>
  99. </html>