From 353d19019153d6e7ee4e98b18d790b2523901c58 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 30 Jun 2020 16:42:04 +0200 Subject: 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. --- pkg/html/generated.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'pkg/html') 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; } -- cgit mrf-deployment