-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from ONLOX/dev
Update Installer Page and Add Help Page
- Loading branch information
Showing
11 changed files
with
462 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:viewModels="clr-namespace:installer.ViewModel" | ||
x:Class="installer.Page.HelpPage" | ||
Title="Help"> | ||
|
||
<VerticalStackLayout | ||
WidthRequest="600" | ||
HorizontalOptions="Center"> | ||
|
||
<Label/> | ||
<Label/> | ||
|
||
<Label | ||
Text="Installer" | ||
FontAttributes="Bold" | ||
FontSize="24"/> | ||
<Frame | ||
BorderColor="Gray" | ||
Padding="10" | ||
Margin="5" | ||
VerticalOptions="FillAndExpand" | ||
WidthRequest="600"> | ||
<CollectionView | ||
ItemsSource="{Binding InstallerHelp}"> | ||
<CollectionView.ItemTemplate> | ||
<DataTemplate> | ||
<Label | ||
Text="{Binding Content}" | ||
FontSize="{Binding FontSize}"/> | ||
</DataTemplate> | ||
</CollectionView.ItemTemplate> | ||
</CollectionView> | ||
</Frame> | ||
|
||
<Label | ||
Text="Launcher" | ||
FontAttributes="Bold" | ||
FontSize="24"/> | ||
<Frame | ||
BorderColor="Gray" | ||
Padding="10" | ||
Margin="5" | ||
VerticalOptions="FillAndExpand" | ||
WidthRequest="600"> | ||
<CollectionView | ||
ItemsSource="{Binding LauncherHelp}"> | ||
<CollectionView.ItemTemplate> | ||
<DataTemplate> | ||
<Label | ||
Text="{Binding Content}" | ||
FontSize="{Binding FontSize}"/> | ||
</DataTemplate> | ||
</CollectionView.ItemTemplate> | ||
</CollectionView> | ||
</Frame> | ||
|
||
<Label | ||
Text="Other" | ||
FontAttributes="Bold" | ||
FontSize="24"/> | ||
<Frame | ||
BorderColor="Gray" | ||
Padding="10" | ||
Margin="5" | ||
VerticalOptions="FillAndExpand" | ||
WidthRequest="600"> | ||
<CollectionView | ||
ItemsSource="{Binding OtherHelp}"> | ||
<CollectionView.ItemTemplate> | ||
<DataTemplate> | ||
<Label | ||
Text="{Binding Content}" | ||
FontSize="{Binding FontSize}"/> | ||
</DataTemplate> | ||
</CollectionView.ItemTemplate> | ||
</CollectionView> | ||
</Frame> | ||
|
||
<Label/> | ||
<Label/> | ||
|
||
<Label | ||
Text="祝大家 Debug 快乐!" | ||
FontAttributes="Bold" | ||
FontSize="22" | ||
HorizontalOptions="Center"/> | ||
|
||
</VerticalStackLayout> | ||
|
||
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using installer.ViewModel; | ||
|
||
namespace installer.Page; | ||
|
||
public partial class HelpPage : ContentPage | ||
{ | ||
public HelpPage(HelpViewModel viewModel) | ||
{ | ||
InitializeComponent(); | ||
BindingContext = viewModel; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.