Ngfw 15870 block page css modify#1245
Open
DhirajM09 wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restyle the NGFW block page (served to end-users when traffic is blocked by Web Filter, Virus Blocker, or Threat Prevention) to match the Vue UI (vuntangle) design language — consistent with the captive portal restyling done in
0e1c86f59b.Motivation
The admin UI is migrating from ExtJS to Vue/Vuetify. The block page still used old Untangle-era styling: PT Sans font, gray/dark-gray color scheme, green (#67BD4A) accents, and Font Awesome icons loaded from the ExtJS directory tree (
/ext6.2/). This change aligns it with the Arista/vuntangle design system (colors, typography, layout) and removes the ExtJS dependency.Changes
Block Page Template (
blockpage_template.jspx)/ext6.2/fonts/font-awesome/— eliminates ExtJS directory dependency<uvm:skin>tag with a direct<link>to/skins/common/css/user.css— bypasses skin name indirection and Apache rewrite fallback<i class="fa fa-ban">and<i class="fa fa-link">with<span class="bp-icon bp-icon-block/link">elements styled via CSS SVG data URIsstyleattributes (icon colors, font sizes, table margins, logo sizing) — moved to CSS classes (bp-details-table,bp-description,bp-contact)Block Page CSS (
common/css/user.css)--bp-arista-blue,--bp-arista-medium-blue, etc.) sourced fromvuntangle/src/config/theme.jsandvariables.scss#F5F5F5background, white card with shadow, Arista Blue (#16325B) headings and buttonsbackground-imagefor the ban and link icons — zero external font dependenciesinput-wrapper+input-icon-lockpattern), focus ring, placeholder text, and autofill stylingsimple.jspxtemplatePassword Field HTML (
WebFilterBlockPageServlet.java)<input>in a<div class="bp-input-wrapper">with a<span class="bp-input-icon bp-input-icon-lock">lock icon — matching captive portal patternTesting
Manually verified all block page flows on NGFW (LAN: 192.168.56.186) with client (192.168.56.175):
Screenshots
Checklist