_ContextOnlyLayout¶
BOL layout variant for pages that carry the context form but show neither the menu nor the policy header.
Purpose¶
- Provide the page header, context form
frmWebContext, and body, with the context textbox rendered as a text or hidden input depending onChangeContextPrivilege, a presentation choice and not server-side authorization (BR-BOLMIDDLEWARE-019).
Context¶
- Namespace:
BolMiddleware.Pages.Shared - Assembly/package:
BolMiddleware
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Layout view | Pages/Shared/_ContextOnlyLayout.cshtml |
Razor layout for context-only pages. |
| Optional partials | MiddlewareIncludes/* |
Consumer-supplied extension partials included when present. |
Behavioral notes¶
- Loads the CDN font stylesheet and Bootstrap 5.3.2 with SRI.
Constraints and usage notes¶
- The page model must derive from
BolMenuModelor a descendant.
Sources¶
- src/BolMiddleware/Pages/Shared/_ContextOnlyLayout.cshtml