mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 18:20:47 +01:00
Refactor endpoints views
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
<Compile Update="Views\MainWindow\MainWindowView.axaml.cs">
|
<Compile Update="Views\MainWindow\MainWindowView.axaml.cs">
|
||||||
<DependentUpon>MainWindowView.axaml</DependentUpon>
|
<DependentUpon>MainWindowView.axaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Update="Views\Pages\EndpointView.axaml.cs">
|
<Compile Update="Views\Pages\Endpoints\EndpointView.axaml.cs">
|
||||||
<DependentUpon>EndpointView.axaml</DependentUpon>
|
<DependentUpon>EndpointView.axaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
xmlns:avalonEdit="https://github.com/avaloniaui/avaloniaedit"
|
xmlns:avalonEdit="https://github.com/avaloniaui/avaloniaedit"
|
||||||
xmlns:controls="using:Needlework.Net.Controls"
|
xmlns:controls="using:Needlework.Net.Controls"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:Class="Needlework.Net.Views.Pages.EndpointView"
|
x:Class="Needlework.Net.Views.Pages.Endpoints.EndpointView"
|
||||||
x:DataType="vm:EndpointViewModel">
|
x:DataType="vm:EndpointViewModel">
|
||||||
<UserControl.Styles>
|
<UserControl.Styles>
|
||||||
<Style Selector="DataGrid">
|
<Style Selector="DataGrid">
|
||||||
@@ -7,7 +7,7 @@ using Needlework.Net.ViewModels.Pages.Endpoints;
|
|||||||
using Needlework.Net.ViewModels.Shared;
|
using Needlework.Net.ViewModels.Shared;
|
||||||
using TextMateSharp.Grammars;
|
using TextMateSharp.Grammars;
|
||||||
|
|
||||||
namespace Needlework.Net.Views.Pages;
|
namespace Needlework.Net.Views.Pages.Endpoints;
|
||||||
|
|
||||||
public partial class EndpointView : UserControl
|
public partial class EndpointView : UserControl
|
||||||
{
|
{
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
xmlns:avalonEdit="https://github.com/avaloniaui/avaloniaedit"
|
xmlns:avalonEdit="https://github.com/avaloniaui/avaloniaedit"
|
||||||
xmlns:i="https://github.com/projektanker/icons.avalonia"
|
xmlns:i="https://github.com/projektanker/icons.avalonia"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:Class="Needlework.Net.Views.Pages.EndpointsContainerView"
|
x:Class="Needlework.Net.Views.Pages.Endpoints.EndpointsContainerView"
|
||||||
x:DataType="vm:EndpointsContainerViewModel">
|
x:DataType="vm:EndpointsContainerViewModel">
|
||||||
<Grid RowDefinitions="auto,*"
|
<Grid RowDefinitions="auto,*"
|
||||||
ColumnDefinitions="*"
|
ColumnDefinitions="*"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Needlework.Net.Views.Pages;
|
namespace Needlework.Net.Views.Pages.Endpoints;
|
||||||
|
|
||||||
public partial class EndpointsContainerView : UserControl
|
public partial class EndpointsContainerView : UserControl
|
||||||
{
|
{
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
xmlns:controls="using:Needlework.Net.Controls"
|
xmlns:controls="using:Needlework.Net.Controls"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
Name="EndpointsControl"
|
Name="EndpointsControl"
|
||||||
x:Class="Needlework.Net.Views.Pages.EndpointsView"
|
x:Class="Needlework.Net.Views.Pages.Endpoints.EndpointsView"
|
||||||
x:DataType="vm:EndpointsViewModel">
|
x:DataType="vm:EndpointsViewModel">
|
||||||
<controls:BusyArea IsBusy="{Binding IsBusy}"
|
<controls:BusyArea IsBusy="{Binding IsBusy}"
|
||||||
BusyText="Loading...">
|
BusyText="Loading...">
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Needlework.Net.Views.Pages;
|
namespace Needlework.Net.Views.Pages.Endpoints;
|
||||||
|
|
||||||
public partial class EndpointsView : UserControl
|
public partial class EndpointsView : UserControl
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user