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.

84 lines
2.9 KiB

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