From 666ace546809944c5e9a4e99bb35ff1e36d59207 Mon Sep 17 00:00:00 2001 From: Mirko Da Corte Date: Sun, 25 Aug 2024 03:11:41 +0200 Subject: [PATCH] some missing --- samples/AspNetCoreSample/Pages/Error.cshtml | 17 +---------------- samples/AspNetCoreSample/Pages/Index.cshtml | 17 +---------------- .../Pages/Shared/_Layout.cshtml | 17 +---------------- .../Shared/_ValidationScriptsPartial.cshtml | 17 +---------------- .../AspNetCoreSample/Pages/_ViewImports.cshtml | 17 +---------------- .../AspNetCoreSample/Pages/_ViewStart.cshtml | 17 +---------------- .../Areas/MongODM/Pages/Index.cshtml | 17 +---------------- .../Areas/MongODM/Pages/Shared/_Layout.cshtml | 17 +---------------- .../Areas/MongODM/Pages/_ViewImports.cshtml | 17 +---------------- .../Areas/MongODM/Pages/_ViewStart.cshtml | 17 +---------------- 10 files changed, 10 insertions(+), 160 deletions(-) diff --git a/samples/AspNetCoreSample/Pages/Error.cshtml b/samples/AspNetCoreSample/Pages/Error.cshtml index d3da91df..6f92b956 100644 --- a/samples/AspNetCoreSample/Pages/Error.cshtml +++ b/samples/AspNetCoreSample/Pages/Error.cshtml @@ -1,19 +1,4 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - -@page +@page @model ErrorModel @{ ViewData["Title"] = "Error"; diff --git a/samples/AspNetCoreSample/Pages/Index.cshtml b/samples/AspNetCoreSample/Pages/Index.cshtml index 892dbc9d..975af11b 100644 --- a/samples/AspNetCoreSample/Pages/Index.cshtml +++ b/samples/AspNetCoreSample/Pages/Index.cshtml @@ -1,19 +1,4 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - -@page +@page @model IndexModel @{ ViewData["Title"] = "Home page"; diff --git a/samples/AspNetCoreSample/Pages/Shared/_Layout.cshtml b/samples/AspNetCoreSample/Pages/Shared/_Layout.cshtml index e24122a0..0b763233 100644 --- a/samples/AspNetCoreSample/Pages/Shared/_Layout.cshtml +++ b/samples/AspNetCoreSample/Pages/Shared/_Layout.cshtml @@ -1,19 +1,4 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - - + diff --git a/samples/AspNetCoreSample/Pages/Shared/_ValidationScriptsPartial.cshtml b/samples/AspNetCoreSample/Pages/Shared/_ValidationScriptsPartial.cshtml index 33552920..5a16d80a 100644 --- a/samples/AspNetCoreSample/Pages/Shared/_ValidationScriptsPartial.cshtml +++ b/samples/AspNetCoreSample/Pages/Shared/_ValidationScriptsPartial.cshtml @@ -1,17 +1,2 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - - + diff --git a/samples/AspNetCoreSample/Pages/_ViewImports.cshtml b/samples/AspNetCoreSample/Pages/_ViewImports.cshtml index 83e4678c..4f6d360a 100644 --- a/samples/AspNetCoreSample/Pages/_ViewImports.cshtml +++ b/samples/AspNetCoreSample/Pages/_ViewImports.cshtml @@ -1,19 +1,4 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - -@using Etherna.MongODM.AspNetCoreSample +@using Etherna.MongODM.AspNetCoreSample @using Etherna.MongODM.AspNetCoreSample.Models @namespace Etherna.MongODM.AspNetCoreSample.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/samples/AspNetCoreSample/Pages/_ViewStart.cshtml b/samples/AspNetCoreSample/Pages/_ViewStart.cshtml index 0311bb2f..a5f10045 100644 --- a/samples/AspNetCoreSample/Pages/_ViewStart.cshtml +++ b/samples/AspNetCoreSample/Pages/_ViewStart.cshtml @@ -1,18 +1,3 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - -@{ +@{ Layout = "_Layout"; } diff --git a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Index.cshtml b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Index.cshtml index f339d8c7..2b76ca40 100644 --- a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Index.cshtml +++ b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Index.cshtml @@ -1,19 +1,4 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - -@page +@page @model Etherna.MongODM.AspNetCore.UI.Areas.MongODM.Pages.IndexModel @{ ViewData["Title"] = "MongODM Dashboard"; diff --git a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Shared/_Layout.cshtml b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Shared/_Layout.cshtml index b1d41491..d7fe87ec 100644 --- a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Shared/_Layout.cshtml +++ b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/Shared/_Layout.cshtml @@ -1,19 +1,4 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - - + diff --git a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewImports.cshtml b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewImports.cshtml index 51fe08de..9018c789 100644 --- a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewImports.cshtml +++ b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewImports.cshtml @@ -1,16 +1 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers \ No newline at end of file +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers \ No newline at end of file diff --git a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewStart.cshtml b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewStart.cshtml index 0311bb2f..a5f10045 100644 --- a/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewStart.cshtml +++ b/src/MongODM.AspNetCore.UI/Areas/MongODM/Pages/_ViewStart.cshtml @@ -1,18 +1,3 @@ -@* Copyright 2020-present Etherna SA - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *@ - -@{ +@{ Layout = "_Layout"; }