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.

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