You've already forked caddy-opnsense-blocker
Keep Tabulator full width after hiding columns
This commit is contained in:
@@ -199,6 +199,9 @@ func TestHandlerServesOverviewAndManualActions(t *testing.T) {
|
||||
if !strings.Contains(queryLogBody, `/assets/tabulator/tabulator.min.js`) || !strings.Contains(queryLogBody, `/assets/tabulator/tabulator_midnight.min.css`) {
|
||||
t.Fatalf("requests log page should load local tabulator assets")
|
||||
}
|
||||
if !strings.Contains(queryLogBody, `.tabulator .tabulator-tableholder .tabulator-table { min-width: 100% !important; width: 100% !important; }`) {
|
||||
t.Fatalf("requests log page should keep the tabulator body at full width")
|
||||
}
|
||||
if !strings.Contains(queryLogBody, "Source") || !strings.Contains(queryLogBody, "Bots") || !strings.Contains(queryLogBody, "HTTP status") {
|
||||
t.Fatalf("requests log page should expose source, bot, and status filters")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user