Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes code created from fluentblazorwasm template neater #1501

Merged
merged 3 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ο»Ώ@inherits LayoutComponentBase

@*#if (SampleContent) -->
<FluentLayout>
<FluentHeader>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ο»Ώ@inherits LayoutComponentBase

@*#if (SampleContent) -->
<FluentLayout>
<FluentHeader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</FluentNavMenu>
</nav>
</div>

@code {
private bool expanded = true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</FluentNavMenu>
</nav>
</div>

@code {
private bool expanded = true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
</div>

#endif*@
Welcome to your new Fluent Blazor app.
Welcome to your new Fluent Blazor app.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
else
{
<FluentDataGrid Id="weathergrid" Items=@forecasts GridTemplateColumns="1fr 1fr 1fr 2fr" TGridItem=WeatherForecast>
<PropertyColumn Title="Date" Property="@(c => c!.Date)" Sortable="true" Align="Align.Start"/>
<PropertyColumn Title="Temp. (C)" Property="@(c => c!.TemperatureC)" Sortable="true" Align="Align.Center"/>
<PropertyColumn Title="Temp. (F)" Property="@(c => c!.TemperatureF)" Sortable="true" Align="Align.Center"/>
<PropertyColumn Title="Summary" Property="@(c => c!.Summary)" Sortable="true" Align="Align.End"/>
<FluentDataGrid Id="weathergrid" Items="@forecasts" GridTemplateColumns="1fr 1fr 1fr 2fr" TGridItem=WeatherForecast>
<PropertyColumn Title="Date" Property="@(c => c!.Date)" Sortable="true" Align="Align.Start" />
<PropertyColumn Title="Temp. (C)" Property="@(c => c!.TemperatureC)" Sortable="true" Align="Align.Center" />
<PropertyColumn Title="Temp. (F)" Property="@(c => c!.TemperatureF)" Sortable="true" Align="Align.Center" />
<PropertyColumn Title="Summary" Property="@(c => c!.Summary)" Sortable="true" Align="Align.End" />
</FluentDataGrid>
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.FluentUI.AspNetCore.Components;


namespace ComponentsWebAssembly_CSharp;

public class Program
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
@using Microsoft.FluentUI.AspNetCore.Components
@using Microsoft.JSInterop
@using ComponentsWebAssembly_CSharp
@using ComponentsWebAssembly_CSharp.Layout
@using ComponentsWebAssembly_CSharp.Layout