diff --git a/GPW.CORE.UI/Components/CmpFooter.razor b/GPW.CORE.UI/Components/CmpFooter.razor index f8f9a19..a1dadff 100644 --- a/GPW.CORE.UI/Components/CmpFooter.razor +++ b/GPW.CORE.UI/Components/CmpFooter.razor @@ -4,7 +4,7 @@
@adesso - Egalware + Egalware
diff --git a/GPW.CORE.UI/GPW.CORE.UI.csproj b/GPW.CORE.UI/GPW.CORE.UI.csproj index 9ef4f3b..c61d8c8 100644 --- a/GPW.CORE.UI/GPW.CORE.UI.csproj +++ b/GPW.CORE.UI/GPW.CORE.UI.csproj @@ -1,33 +1,37 @@ - - net6.0 - enable - enable - + + net6.0 + 1.0.2201.0516 + enable + enable + - - - + + + - - <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS02.pubxml" /> - <_WebToolingArtifacts Remove="Properties\PublishProfiles\W2019-IIS-DEV.pubxml" /> - + + <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS02.pubxml" /> + <_WebToolingArtifacts Remove="Properties\PublishProfiles\W2019-IIS-DEV.pubxml" /> + - - - + + + - - - - - - + + + + + + - - - + + + + + + diff --git a/GPW.CORE.UI/Shared/MainLayout.razor b/GPW.CORE.UI/Shared/MainLayout.razor index 7ff3006..dd2e2bd 100644 --- a/GPW.CORE.UI/Shared/MainLayout.razor +++ b/GPW.CORE.UI/Shared/MainLayout.razor @@ -15,5 +15,8 @@
@Body
+
+ +
diff --git a/GPW.CORE.UI/compilerconfig.json b/GPW.CORE.UI/compilerconfig.json index 42a9e0b..caa3f6e 100644 --- a/GPW.CORE.UI/compilerconfig.json +++ b/GPW.CORE.UI/compilerconfig.json @@ -2,5 +2,9 @@ { "outputFile": "wwwroot/css/site.css", "inputFile": "wwwroot/css/site.less" + }, + { + "outputFile": "wwwroot/css/fonts.css", + "inputFile": "wwwroot/css/fonts.less" } ] \ No newline at end of file diff --git a/GPW.CORE.UI/post-build.ps1 b/GPW.CORE.UI/post-build.ps1 new file mode 100644 index 0000000..61ed979 --- /dev/null +++ b/GPW.CORE.UI/post-build.ps1 @@ -0,0 +1,31 @@ +param([string]$ProjectDir, [string]$ProjectPath); + +$FileVers="..\Resources\VersNum.txt" +$FileManIn="..\Resources\manifest-original.xml" +$FileManOut="..\Resources\manifest.xml" +$FileCLogIn="..\Resources\ChangeLog-original.html" +$FileCLogOut="..\Resources\ChangeLog.html" +$MajMin="1.0." +$currentDate = get-date -format yyMM; +$currentTime = get-date -format ddHH; +$find = "(.|\n)*?"; +$currRelNum=$MajMin + $currentDate +"." + $currentTime +$replace = "" + $MajMin + $currentDate +"." + $currentTime + ""; +$csproj = Get-Content $ProjectPath +$csprojUpdated = $csproj -replace $find, $replace + +Set-Content -Path $ProjectPath -Value $csprojUpdated +Set-Content -Path $FileVers -Value $currRelNum + +# replace x manifest +$manData = Get-Content $FileManIn +$manData = $manData -replace "1.0.0.0", $currRelNum +$manData = $manData -replace "{{DIRNAME}}", "GWMS" +$manData = $manData -replace "{{BRANCHNAME}}", "stable/0" +$manData = $manData -replace "{{PACKNAME}}", "GWMS.UI" +Set-Content -Path $FileManOut -Value $manData + +# replace x ChangeLog +$clogData = Get-Content $FileCLogIn +$clogData = $clogData -replace "{{CURRENT-REL}}", $currRelNum +Set-Content -Path $FileCLogOut -Value $clogData