File tree Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="{{ .Site.LanguageCode }} ">
33
4- < head >
4+ < head >
55{{ block "head" . }}
66
77{{ partial "meta.html" . }}
1919{{ end }}
2020
2121{{ if or ( not hugo.IsServer ) ( not ( in .Site.Params.buildtype "package" ) ) }}
22-
22+
2323{{ partial "trustarc.html" . }}
2424
2525{{ partial "tealium-profile.html" . }}
4545 {{ block "header" . }}{{end}}
4646 </ header >
4747
48+ {{ partial "license" .}}
49+
4850 {{ if not .IsHome }}
4951 {{ if not (in .Params.display_breadcrumb "false" ) }}
50- {{ partial "breadcrumb" .}}
52+ {{ partial "breadcrumb" .}}
5153 {{ end }}
5254 {{ end }}
5355
5456 < div class ="main container-fluid min-page-height " data-menu-id ="{{.RelPermalink}} ">
55-
57+
5658 {{ block "main" . }}{{ end }}
5759
5860 </ div >
6567
6668 </ footer >
6769
68- {{ partial "scripts.html" . }}
70+ {{ partial "scripts.html" . }}
6971< div id ="consent_blackbar " style ="position:fixed;top:0px;width:100% "> </ div >
7072</ body >
7173</ html >
Original file line number Diff line number Diff line change 1+ <!-- Banner for breaking change with icon aligned and amber colors -->
2+ < div id ="licensingAlert " class ="alert alert-warning alert-dismissible fade show " role ="alert " style ="margin-bottom:0px!important; background-color: #ffebcc; color: #856404; padding: 15px; border-radius: 5px; display: none; ">
3+ < i class ="fas fa-exclamation-triangle " style ="vertical-align: middle; font-size: 1.5rem; margin-right: 10px; line-height: 1.5; "> </ i > <!-- FontAwesome icon centered with text -->
4+ < span style ="vertical-align: middle; line-height: 1.5; ">
5+ < strong > Licensing changes:</ strong > Starting with NGINX Plus R33, all NGINX Plus instances must use a subscription token to validate their license and report usage data.< br >
6+ < span style ="display: inline-block; padding-left: calc(1.5rem + 18px); ">
7+ See < a href ="https://docs.nginx.com/solutions/about-subscription-licenses/ "> About subscription licenses</ a > for more information.
8+ </ span >
9+ </ span >
10+ < button type ="button " class ="close " data-dismiss ="alert " aria-label ="Close " style ="background: none; border: none; font-size: 3rem; line-height: 1; " onclick ="dismissAlert() ">
11+ < span aria-hidden ="true "> ×</ span >
12+ </ button >
13+ </ div >
14+
15+ < script >
16+ // Check if the user has already dismissed the alert
17+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
18+ // Show the alert only if it hasn't been dismissed
19+ if ( ! localStorage . getItem ( "licensingAlertDismissed" ) ) {
20+ document . getElementById ( "licensingAlert" ) . style . display = "block" ;
21+ }
22+ } ) ;
23+
24+ // Function to handle alert dismissal and store in localStorage
25+ function dismissAlert ( ) {
26+ document . getElementById ( "licensingAlert" ) . style . display = "none" ;
27+ localStorage . setItem ( "licensingAlertDismissed" , "true" ) ;
28+ }
29+ </ script >
You can’t perform that action at this time.
0 commit comments