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.

83 lines
2.9 KiB

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