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.

85 lines
3.0 KiB

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