From 2c1c39cf07837e19ed7cc96354f7054cea4b607d Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Fri, 18 Jan 2019 09:03:41 -0800 Subject: [PATCH] Clean up templates --- .../BlazorHosted-CSharp.Client/App.cshtml | 2 +- .../BlazorHosted-CSharp.Client/Pages/FetchData.cshtml | 4 ++-- .../BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml | 8 +++++--- .../BlazorHosted-CSharp.Client/Shared/SurveyPrompt.cshtml | 6 +++--- .../BlazorHosted-CSharp.Shared/WeatherForecast.cs | 3 +++ .../src/content/BlazorStandalone-CSharp/App.cshtml | 2 +- .../BlazorStandalone-CSharp/Pages/FetchData.cshtml | 3 +++ .../content/BlazorStandalone-CSharp/Shared/NavMenu.cshtml | 8 +++++--- .../BlazorStandalone-CSharp/Shared/SurveyPrompt.cshtml | 6 +++--- .../content/BlazorStandalone-CSharp/wwwroot/index.html | 2 +- .../RazorComponentsWeb-CSharp.App/App.cshtml | 2 +- .../Services/WeatherForecast.cs | 3 +++ .../RazorComponentsWeb-CSharp.App/Shared/NavMenu.cshtml | 8 +++++--- .../RazorComponentsWeb-CSharp.Server/wwwroot/index.html | 2 +- 14 files changed, 37 insertions(+), 22 deletions(-) diff --git a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/App.cshtml b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/App.cshtml index 59be8326e1..38b8459ec4 100644 --- a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/App.cshtml +++ b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/App.cshtml @@ -2,4 +2,4 @@ Configuring this here is temporary. Later we'll move the app config into Program.cs, and it won't be necessary to specify AppAssembly. --> - + diff --git a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/FetchData.cshtml b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/FetchData.cshtml index 623bcf1771..2f8e580529 100644 --- a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/FetchData.cshtml +++ b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/FetchData.cshtml @@ -1,5 +1,5 @@ -@using BlazorHosted_CSharp.Shared -@page "/fetchdata" +@page "/fetchdata" +@using BlazorHosted_CSharp.Shared @inject HttpClient Http

Weather forecast

diff --git a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml index b29ab68e03..6fd8763b01 100644 --- a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml +++ b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml @@ -1,14 +1,14 @@  -
+