<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<title>Organization - GitHub Graphs</title>
|
|
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
|
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
|
|
<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">
|
|
<link rel="stylesheet" href="./style.css" />
|
|
<script
|
|
src="https://code.jquery.com/jquery-3.3.1.min.js"
|
|
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
|
|
crossorigin="anonymous">
|
|
</script>
|
|
<script src="js/githubAPI.js"></script>
|
|
<script src="js/friendsGraph.js"></script>
|
|
<script src="js/createOrgRepoGraph.js"></script>
|
|
<script src="js/utilities.js"></script>
|
|
<script src="js/profileGen.js"></script>
|
|
<script src="js/createOrgTable.js"></script>
|
|
<script src="js/createOrgInfo.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.css"/>
|
|
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.js"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="js/vis/vis.js"></script>
|
|
<link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-dark bg-dark navbar-expand-md">
|
|
<a class="navbar-brand" href="/"><img src="img/githubgraph-logo.svg" alt=""></a>
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-menu" aria-controls="main-menu" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div id="main-menu" class="collapse navbar-collapse">
|
|
<ul class="navbar-nav flex-fill justify-content-end">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="./GraphGenerator.html">Generate graphs</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="https://github.com/jrtechs/github-graphs/">View on GitHub</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="./about.html">About</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="main containerCustom">
|
|
|
|
<div class="row containerCustom">
|
|
<div class="col-md-2 col-12">
|
|
<div id="profileGen"></div>
|
|
</div>
|
|
<div class="col-md-6 col-12">
|
|
<div id="graphLoading"></div>
|
|
<div id="organizationInfo"></div>
|
|
<div id="myGraph" class="w-100"></div>
|
|
<pre id="eventSpan"></pre>
|
|
</div>
|
|
<div class="col-md-4 col-12 bg-light">
|
|
<div class="w-100"></div>
|
|
<center><h1>Repositories</h1></center>
|
|
<table class="table table-striped" id="dataTable">
|
|
<thead class="thead-dark">
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Forks</td>
|
|
<td>Language</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="repositoryTable">
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function createGraphs(orgname) {
|
|
options.width = $("#myGraph").width() + "px";
|
|
options.height = "700px";
|
|
|
|
createOrgRepoGraph(orgname, "myGraph", "graphLoading");
|
|
createOrgTable(orgname, 'repositoryTable');
|
|
createOrgInfo(orgname, 'organizationInfo')
|
|
}
|
|
|
|
if(findGetParameter("name") !== null)
|
|
{
|
|
createGraphs(findGetParameter("name"))
|
|
}
|
|
|
|
</script>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|