aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-15 18:50:39 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-12-06 16:42:58 +0100
commit0230ba3e7ee638765ace8e2c3b436e703017b46c (patch)
tree92f454376c4cf12317ff858ff16826c28dfc748d /pkg/html
parent40ec852a0b6073c78a43148b36ba9ef67954e18b (diff)
dashboard/app: add page with manager stats graphs
Diffstat (limited to 'pkg/html')
-rw-r--r--pkg/html/generated.go57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkg/html/generated.go b/pkg/html/generated.go
index 2cbcba3ec..53d035c6e 100644
--- a/pkg/html/generated.go
+++ b/pkg/html/generated.go
@@ -211,6 +211,63 @@ textarea {
color: #25a7db;
text-decoration: none;
}
+
+.page {
+ position: relative;
+ width: 100%;
+}
+
+aside {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ width: 290px;
+ margin-top: 5px;
+}
+
+.panel {
+ border: 1px solid #aaa;
+ border-radius: 5px;
+ margin-bottom: 5px;
+}
+
+.panel h1 {
+ font-size: 16px;
+ margin: 0;
+ padding: 2px 8px;
+}
+
+.panel select {
+ padding: 5px;
+ border: 0;
+ width: 100%;
+}
+
+.main-content {
+ position: absolute;
+ top: 0;
+ left: 300px;
+ right: 5px;
+ min-height: 200px;
+ overflow: hidden;
+}
+
+.graph_help {
+ position: absolute;
+ top: 115px;
+ left: 10px;
+ z-index: 1;
+ text-decoration: none;
+ font-weight: bold;
+ font-size: xx-large;
+ color: blue;
+}
+
+#graph_div {
+ width: 100%;
+ height: 85vh;
+}
`
const js = `
// Copyright 2018 syzkaller project authors. All rights reserved.