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.

103 lines
3.6 KiB

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