Move layout and partial script to Shared dir (#368)

Addresses #340
This commit is contained in:
Jass Bagga 2018-03-20 15:17:50 -07:00 committed by GitHub
parent 69f52cc3b6
commit 586c4ff780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 4 deletions

View File

@ -38,16 +38,22 @@
},
{
"condition": "(!OrganizationalAuth && !IndividualB2CAuth)",
"rename": {
"Pages/Shared/_LoginPartial.Identity.cshtml": "Pages/Shared/_LoginPartial.cshtml"
},
"exclude": [
"Controllers/**",
"Pages/Account/**",
"Pages/_LoginPartial.cshtml"
"Pages/Shared/_LoginPartial.OrgAuth.cshtml"
]
},
{
"condition": "(!IndividualLocalAuth)",
"rename": {
"Pages/Shared/_LoginPartial.OrgAuth.cshtml": "Pages/Shared/_LoginPartial.cshtml"
},
"exclude": [
"Pages/Shared/_LoginPartial.cshtml"
"Pages/Shared/_LoginPartial.Identity.cshtml"
]
},
{
@ -85,7 +91,7 @@
{
"condition": "(IndividualLocalAuth && UseLocalDB)",
"rename": {
"Data/SqlServer/": "Data/Migrations/",
"Data/SqlServer/": "Data/Migrations/"
},
"exclude": [
"Data/SqlLite/**"

View File

@ -1,3 +1,3 @@
@{
Layout = "/Pages/_Layout.cshtml";
Layout = "/Pages/Shared/_Layout.cshtml";
}