Skip to content

Commit

Permalink
Merge pull request #69 from JudahNour/basicTable
Browse files Browse the repository at this point in the history
add gopogh server with flake charts
  • Loading branch information
spowelljr authored Aug 11, 2023
2 parents 5dff30a + 69ece72 commit e29f5df
Show file tree
Hide file tree
Showing 10 changed files with 1,452 additions and 42 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ testdata/minikube-logs2.html
testdata/minikube-logs2.out
testdata/docker-test/testout.json
testdata/docker-test/testout.html
./gopogh
./gopogh
cmd/gopogh-server/gopogh-server
35 changes: 35 additions & 0 deletions cmd/gopogh-server/flake_chart.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<html>
<head>
<meta http-equiv="CacheControl" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js'></script>
<!-- Include sort types you need -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/sorts/tablesort.number.min.js'></script>

<style>
table {
border: 1px solid gray;
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
}
td, th {
border-bottom: 1px solid gray;
padding: 8px;
}
</style>
</head>
<body>
<div id="dropdown_container"></div>
<div id="chart_div"></div>
<div id="version_div"></div>
</body>
<script>
const el = document.createElement('script');
el.setAttribute('src', `flake_chart.js?t=${Math.random()}`);
document.head.appendChild(el);
</script>
</html>
Loading

0 comments on commit e29f5df

Please sign in to comment.