You've already forked caddy-opnsense-blocker
Use compact SVG icons for requests actions
This commit is contained in:
@@ -202,6 +202,9 @@ func TestHandlerServesOverviewAndManualActions(t *testing.T) {
|
||||
if !strings.Contains(queryLogBody, `.status-code`) || strings.Contains(queryLogBody, `.status-pill`) {
|
||||
t.Fatalf("requests log page should use the simplified status styling")
|
||||
}
|
||||
if !strings.Contains(queryLogBody, `function actionIconSVG(kind)`) || strings.Contains(queryLogBody, `🔓`) || strings.Contains(queryLogBody, `⛔`) {
|
||||
t.Fatalf("requests log page should use compact SVG action icons")
|
||||
}
|
||||
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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user