aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html/generated.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-30 16:42:04 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-09 19:40:12 +0200
commit353d19019153d6e7ee4e98b18d790b2523901c58 (patch)
tree434cfdf6a7ae4cbccd5a5625aea649ca999713a9 /pkg/html/generated.go
parent894db56cb21049ff801b30b3f294854d6da099de (diff)
dashboard/app: add navigation buttons
Currently we have only "fixed" link at the top of the page. "invalid" is missing and this is not scalable. Add natigation buttons (tabs) for main pages.
Diffstat (limited to 'pkg/html/generated.go')
-rw-r--r--pkg/html/generated.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/html/generated.go b/pkg/html/generated.go
index 67259865b..9ded079bb 100644
--- a/pkg/html/generated.go
+++ b/pkg/html/generated.go
@@ -18,6 +18,24 @@ h1, h2, h3, h4 {
font-weight: bold;
}
+.navigation_tab {
+ border: 1px solid black;
+ padding: 4px;
+ margin: 4px;
+}
+
+.navigation_tab_selected {
+ font-weight: bold;
+ border: 2px solid black;
+ padding: 4px;
+ margin: 4px;
+}
+
+.position_table .navigation {
+ padding-top: 15px;
+ padding-bottom: 6px;
+}
+
table {
border: 1px solid #ccc;
margin: 20px 5px;
@@ -56,6 +74,12 @@ table td, table th {
padding: 0px;
}
+.position_table .namespace_td {
+ width: 100%;
+ padding-top: 10px;
+ padding-left: 20px;
+}
+
.position_table .search {
text-align: right;
}