diff --git a/samples/AspNetCoreSample/Pages/Error.cshtml b/samples/AspNetCoreSample/Pages/Error.cshtml index d3da91d..6f92b95 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 892dbc9..975af11 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 e24122a..0b76323 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 3355292..5a16d80 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 83e4678..4f6d360 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 0311bb2..a5f1004 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 f339d8c..2b76ca4 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 b1d4149..d7fe87e 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 51fe08d..9018c78 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 0311bb2..a5f1004 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"; }