diff --git a/.gitignore b/.gitignore index 6bcd2c4b..06f45f9f 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,11 @@ src/Jhoose.Security.Admin/dist/Jhoose.Security/ClientResources/ src/Jhoose.Security/dist/Jhoose.Security/ClientResources/ +# Build-time generated JSON from @mdn/browser-compat-data +src/Jhoose.Security/src/Features/PermissionPolicy/Data/permissions-policy-compat.json +src/Jhoose.Security/src/Features/PermissionPolicy/Data/browser-details.json +src/Jhoose.Security/src/Features/PermissionPolicy/Data/permission-policy-directives.json + src/Tests/Jhoose.Security.Tests/bin/ src/Tests/Jhoose.Security.Tests/obj/ diff --git a/src/Jhoose.Security/Jhoose.Security.Views/Views/JhooseSecurityAdmin/index.cshtml b/src/Jhoose.Security/Jhoose.Security.Views/Views/JhooseSecurityAdmin/index.cshtml index f8b42781..806b9779 100644 --- a/src/Jhoose.Security/Jhoose.Security.Views/Views/JhooseSecurityAdmin/index.cshtml +++ b/src/Jhoose.Security/Jhoose.Security.Views/Views/JhooseSecurityAdmin/index.cshtml @@ -1,48 +1,51 @@ @using EPiServer.Shell.Navigation - @{ - #if CMS13 +@{ +#if CMS13 } @addTagHelper *, EPiServer.Shell.UI - @{ - #endif - } +@{ +#endif +} +
-The Permission-Policy is not supported by all browsers
-Read this guide from Google for more information about how to implement the Permissions Policy.
-Browser Compatibility
- {Object.entries(supportData).map(([browser, support]) => { - - const versionAdded: number | boolean = (support as any).version_added; - if (versionAdded === false) return null; - - return ( -
-
- {browserDetails[browser].name}
-
+ The{" "} + + Permission-Policy + {" "} + is not supported by all browsers +
++ Read this{" "} + + guide + {" "} + from Google for more information about how to implement the + Permissions Policy. +
+- {browserInfo.name} -
-+ Browser Compatibility +
+ {Object.entries(supportData).map(([browser, support]) => { + const versionAdded: number | boolean = (support as any).version_added; + if (versionAdded === false) return null; + + return ( +
+
+ {browserDetails[browser].name}
+
+ {browserInfo.name} +
+Supported browser matix
-Supported browser matix
+