Skip to content

Commit e29f5df

Browse files
authored
Merge pull request #69 from JudahNour/basicTable
add gopogh server with flake charts
2 parents 5dff30a + 69ece72 commit e29f5df

File tree

10 files changed

+1452
-42
lines changed

10 files changed

+1452
-42
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ testdata/minikube-logs2.html
99
testdata/minikube-logs2.out
1010
testdata/docker-test/testout.json
1111
testdata/docker-test/testout.html
12-
./gopogh
12+
./gopogh
13+
cmd/gopogh-server/gopogh-server

cmd/gopogh-server/flake_chart.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<html>
2+
<head>
3+
<meta http-equiv="CacheControl" content="no-cache, no-store, must-revalidate"/>
4+
<meta http-equiv="Pragma" content="no-cache"/>
5+
<meta http-equiv="Expires" content="0"/>
6+
7+
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
8+
<script src='https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js'></script>
9+
<!-- Include sort types you need -->
10+
<script src='https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/sorts/tablesort.number.min.js'></script>
11+
12+
<style>
13+
table {
14+
border: 1px solid gray;
15+
margin-left: auto;
16+
margin-right: auto;
17+
border-collapse: collapse;
18+
}
19+
td, th {
20+
border-bottom: 1px solid gray;
21+
padding: 8px;
22+
}
23+
</style>
24+
</head>
25+
<body>
26+
<div id="dropdown_container"></div>
27+
<div id="chart_div"></div>
28+
<div id="version_div"></div>
29+
</body>
30+
<script>
31+
const el = document.createElement('script');
32+
el.setAttribute('src', `flake_chart.js?t=${Math.random()}`);
33+
document.head.appendChild(el);
34+
</script>
35+
</html>

0 commit comments

Comments
 (0)