move SheepIt settings to global settings
This commit is contained in:
29
Views/GlobalSettingsWindow.axaml
Normal file
29
Views/GlobalSettingsWindow.axaml
Normal file
@@ -0,0 +1,29 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:vm="using:UnifiedFarmLauncher.ViewModels"
|
||||
x:Class="UnifiedFarmLauncher.Views.GlobalSettingsWindow"
|
||||
x:DataType="vm:GlobalSettingsViewModel"
|
||||
Title="Global Settings"
|
||||
Width="500" Height="300"
|
||||
MinWidth="400" MinHeight="250">
|
||||
<Grid RowDefinitions="Auto,*,Auto" Margin="10">
|
||||
<!-- Settings Content -->
|
||||
<TabControl Grid.Row="1" Margin="0,10">
|
||||
<TabItem Header="SheepIt">
|
||||
<StackPanel Margin="10" Spacing="10">
|
||||
<TextBlock Text="Username:"/>
|
||||
<TextBox Name="SheepItUsernameTextBox" Text="{Binding SheepItUsername}"/>
|
||||
|
||||
<TextBlock Text="Render Key:" Margin="0,10,0,0"/>
|
||||
<TextBox Name="SheepItRenderKeyTextBox" Text="{Binding SheepItRenderKey}" PasswordChar="*"/>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
|
||||
<!-- Buttons -->
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2" Spacing="10" Margin="0,10,0,0">
|
||||
<Button Name="OkButton" Content="OK" Width="80" IsDefault="True"/>
|
||||
<Button Name="CancelButton" Content="Cancel" Width="80" IsCancel="True"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user