|
1 | | -<!-- ReSharper disable IdentifierTypo --> |
| 1 | +<!-- ReSharper disable IdentifierTypo --> |
2 | 2 | <!-- ReSharper disable UnusedMember.Local --> |
3 | 3 | <!-- ReSharper disable Xaml.ConstructorWarning --> |
4 | 4 | <Page x:Class="CollapseLauncher.Pages.SettingsPage" |
|
1121 | 1121 | IsSpellCheckEnabled="False" |
1122 | 1122 | PlaceholderText="{x:Bind helper:Locale.Lang._SettingsPage.Database_Url_Example}" |
1123 | 1123 | Text="{x:Bind DbUrl, Mode=TwoWay}" |
1124 | | - TextChanged="DbTextBox_OnTextChanged"/> |
| 1124 | + TextChanged="DbTextBox_OnTextChanged" /> |
1125 | 1125 | <PasswordBox x:Name="DbTokenPasswordBox" |
1126 | 1126 | Grid.Row="1" |
1127 | | - Grid.ColumnSpan="2" |
1128 | 1127 | Grid.Column="0" |
| 1128 | + Grid.ColumnSpan="2" |
1129 | 1129 | Margin="0,8,0,8" |
1130 | 1130 | HorizontalAlignment="Stretch" |
1131 | 1131 | Header="{x:Bind helper:Locale.Lang._SettingsPage.Database_Token}" |
1132 | 1132 | InputScope="Password" |
1133 | 1133 | IsEnabled="{Binding Path=IsOn, ElementName=DbToggle}" |
1134 | 1134 | Password="{x:Bind DbToken, Mode=TwoWay}" |
1135 | | - PlaceholderText="{x:Bind helper:Locale.Lang._SettingsPage.Database_Placeholder_DbTokenPasswordBox}" |
1136 | | - PasswordChanged="DbTokenPasswordBox_OnPasswordChanged"/> |
| 1135 | + PasswordChanged="DbTokenPasswordBox_OnPasswordChanged" |
| 1136 | + PlaceholderText="{x:Bind helper:Locale.Lang._SettingsPage.Database_Placeholder_DbTokenPasswordBox}" /> |
1137 | 1137 | <TextBox x:Name="DbUserIdTextBox" |
1138 | 1138 | Grid.Row="2" |
1139 | | - Grid.ColumnSpan="2" |
1140 | 1139 | Grid.Column="0" |
| 1140 | + Grid.ColumnSpan="2" |
1141 | 1141 | Margin="0,8,0,8" |
1142 | 1142 | HorizontalAlignment="Stretch" |
1143 | 1143 | GotFocus="DbUserIdTextBox_GotFocus" |
|
1147 | 1147 | LostFocus="DbUserIdTextBox_LostFocus" |
1148 | 1148 | PlaceholderText="{x:Bind helper:Locale.Lang._SettingsPage.Database_Placeholder_DbUserIdTextBox}" |
1149 | 1149 | Text="{x:Bind DbUserId, Mode=TwoWay}" |
1150 | | - TextChanged="DbTextBox_OnTextChanged"/> |
| 1150 | + TextChanged="DbTextBox_OnTextChanged" /> |
1151 | 1151 | <Button x:Name="GenerateGuidButton" |
1152 | 1152 | Grid.Row="3" |
1153 | 1153 | Grid.Column="0" |
|
1580 | 1580 | <Run Text="~neon-nyan" /> |
1581 | 1581 | </TextBlock> |
1582 | 1582 | </StackPanel> |
| 1583 | + <Button x:Name="ButtonLinkWebsiteCollapse" |
| 1584 | + Margin="0,8,0,8" |
| 1585 | + Padding="16,12" |
| 1586 | + HorizontalAlignment="Stretch" |
| 1587 | + HorizontalContentAlignment="Stretch" |
| 1588 | + Click="ClickButtonLinkFromTag" |
| 1589 | + CornerRadius="{x:Bind ext:UIElementExtensions.AttachRoundedKindCornerRadius(ButtonLinkWebsiteCollapse)}" |
| 1590 | + Style="{ThemeResource AccentButtonStyle}" |
| 1591 | + Tag="https://collapselauncher.com"> |
| 1592 | + <Grid Margin="0,-2,0,0" |
| 1593 | + HorizontalAlignment="Stretch"> |
| 1594 | + <Grid.ColumnDefinitions> |
| 1595 | + <ColumnDefinition /> |
| 1596 | + <ColumnDefinition Width="Auto" /> |
| 1597 | + </Grid.ColumnDefinitions> |
| 1598 | + <Grid HorizontalAlignment="Left"> |
| 1599 | + <TextBlock HorizontalAlignment="Left" |
| 1600 | + VerticalAlignment="Center" |
| 1601 | + FontWeight="Medium" |
| 1602 | + HorizontalTextAlignment="Left" |
| 1603 | + Text="{x:Bind helper:Locale.Lang._SettingsPage.WebsiteBtn}" /> |
| 1604 | + </Grid> |
| 1605 | + <FontIcon Grid.Column="1" |
| 1606 | + Margin="8,0,3,0" |
| 1607 | + HorizontalAlignment="Left" |
| 1608 | + VerticalAlignment="Center" |
| 1609 | + FontFamily="{ThemeResource FontAwesomeSolid}" |
| 1610 | + FontSize="20" |
| 1611 | + Glyph="" /> |
| 1612 | + </Grid> |
| 1613 | + </Button> |
1583 | 1614 | <Button x:Name="ButtonLinkDiscordCollapse" |
1584 | 1615 | Margin="0,8,0,8" |
1585 | 1616 | Padding="16,12" |
|
0 commit comments