Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekInTheNorth committed Sep 26, 2024
2 parents 2014672 + e920a26 commit 9d7ea1a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 4 deletions.
9 changes: 9 additions & 0 deletions Sample/OptimizelyTwelveTest/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">

<link rel="stylesheet" asp-href-include="~/*.css" />

<style nonce="">
body {
padding-top: 3.5rem;
}
</style>

@Html.RequiredClientResources(RenderingTags.Header)
@await Html.RenderEPiServerQuickNavigatorAsync()
</head>
Expand All @@ -36,6 +44,7 @@
@RenderBody()

<script nonce src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js" integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<script nonce asp-src-include="~/*.js"></script>

@await RenderSectionAsync("Scripts", required: false)
@Html.RequiredClientResources(RenderingTags.Footer)
Expand Down
4 changes: 3 additions & 1 deletion Sample/OptimizelyTwelveTest/Views/_ViewImports.cshtml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@using OptimizelyTwelveTest.Features.MetaData

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, OptimizelyTwelveTest.Features
@addTagHelper *, Stott.Security.Optimizely
@addTagHelper *, Stott.Security.Optimizely
1 change: 1 addition & 0 deletions Sample/OptimizelyTwelveTest/wwwroot/Site.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 3 additions & 0 deletions Sample/OptimizelyTwelveTest/wwwroot/Style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
background-color: lightpink;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ public sealed class NonceTagHelper : TagHelper
{
private readonly INonceProvider _nonceProvider;

public override int Order => -9999;

public NonceTagHelper(INonceProvider nonceProvider)
{
_nonceProvider = nonceProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<Version>2.8.0.0</Version>
<Version>2.8.1.0</Version>
<RepositoryUrl>https://github.com/GeekInTheNorth/Stott.Security.Optimizely</RepositoryUrl>
<PackageProjectUrl>https://github.com/GeekInTheNorth/Stott.Security.Optimizely</PackageProjectUrl>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
Expand All @@ -14,10 +14,10 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<AssemblyVersion>2.8.0.0</AssemblyVersion>
<AssemblyVersion>2.8.1.0</AssemblyVersion>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageOutputPath>D:\Repos\Nuget</PackageOutputPath>
<PackageReleaseNotes>Update of the menu system, caching and lazy loading improvements and package updates.</PackageReleaseNotes>
<PackageReleaseNotes>Correct tag helper to work with the built in .net script tag helper.</PackageReleaseNotes>
<Nullable>enable</Nullable>
<Title>Stott Security</Title>
</PropertyGroup>
Expand Down

0 comments on commit 9d7ea1a

Please sign in to comment.