|
63 | 63 | Dense="true" |
64 | 64 | Class="no-left-padding max-width-fix" |
65 | 65 | Disabled="@(!isPasswordSelected)" /> |
66 | | - <MudCollapse Expanded="@(!AppSettings.EnablePasswordBox)"> |
67 | | - <MudText Typo="Typo.caption" Class="input-tip ml-7"> |
| 66 | + <MudText Typo="Typo.body2" Color="Color.Secondary" Class="input-tip ml-7" Style="opacity: 1"> |
| 67 | + @if (AppSettings.EnablePasswordBox) |
| 68 | + { |
| 69 | + @(Lang["DisablePasswordBoxTips"]) |
| 70 | + } |
| 71 | + else |
| 72 | + { |
68 | 73 | @(Lang["EnablePasswordBoxTips"]) |
69 | | - </MudText> |
70 | | - </MudCollapse> |
| 74 | + } |
| 75 | + </MudText> |
| 76 | + |
71 | 77 | <MudStack Class="ml-4 mt-4" Spacing="4"> |
72 | | - <MudCheckBox @bind-Value="@(AppSettings.IsHidePasswordWindow)" |
73 | | - @bind-Value:after="SaveSettings" |
74 | | - Disabled="@(!AppSettings.EnablePasswordBox || !isPasswordSelected)" |
75 | | - Label="@(Lang["HidePasswordWindow"])" |
76 | | - Color="Color.Primary" |
77 | | - Class="no-left-padding max-width-fix" |
78 | | - Dense="true" /> |
79 | | - <MudCheckBox @bind-Value="@(_keyboardDownChecked)" |
80 | | - @bind-Value:after="KeyboardDownChecked" |
81 | | - Disabled="@(!AppSettings.EnablePasswordBox || !isPasswordSelected)" |
82 | | - Label="@(Lang["KeyboardDownActivePwd"])" |
83 | | - Color="Color.Primary" |
84 | | - Class="no-left-padding max-width-fix" |
85 | | - Dense="true" /> |
86 | | - <MudCheckBox @bind-Value="@(_mouseDownChecked)" |
87 | | - @bind-Value:after="MouseDownChecked" |
88 | | - Disabled="@(!AppSettings.EnablePasswordBox || !isPasswordSelected)" |
89 | | - Label="@(Lang["MouseDownActivePwd"])" |
90 | | - Color="Color.Primary" |
91 | | - Class="no-left-padding max-width-fix" |
92 | | - Dense="true" /> |
93 | 78 | <div> |
94 | 79 | <MudText Typo="Typo.subtitle2" Class="input-title">@(Lang["PwdLocation"])</MudText> |
95 | 80 | <MudSelect T="ScreenLocationEnum" |
|
109 | 94 | <MudSelectItem Value="@(ScreenLocationEnum.BottomRight)">@(Lang["BottomRight"])</MudSelectItem> |
110 | 95 | </MudSelect> |
111 | 96 | </div> |
| 97 | + <MudCheckBox @bind-Value="@(_keyboardDownChecked)" |
| 98 | + @bind-Value:after="KeyboardDownChecked" |
| 99 | + Disabled="@(!AppSettings.EnablePasswordBox || !isPasswordSelected)" |
| 100 | + Label="@(Lang["KeyboardDownActivePwd"])" |
| 101 | + Color="Color.Primary" |
| 102 | + Class="no-left-padding max-width-fix" |
| 103 | + Dense="true" /> |
| 104 | + <MudCheckBox @bind-Value="@(_mouseDownChecked)" |
| 105 | + @bind-Value:after="MouseDownChecked" |
| 106 | + Disabled="@(!AppSettings.EnablePasswordBox || !isPasswordSelected)" |
| 107 | + Label="@(Lang["MouseDownActivePwd"])" |
| 108 | + Color="Color.Primary" |
| 109 | + Class="no-left-padding max-width-fix" |
| 110 | + Dense="true" /> |
| 111 | + <MudCheckBox @bind-Value="@(AppSettings.IsHidePasswordWindow)" |
| 112 | + @bind-Value:after="SaveSettings" |
| 113 | + Disabled="@(!AppSettings.EnablePasswordBox || !isPasswordSelected)" |
| 114 | + Label="@(Lang["HidePasswordWindow"])" |
| 115 | + Color="Color.Primary" |
| 116 | + Class="no-left-padding max-width-fix" |
| 117 | + Dense="true" /> |
112 | 118 |
|
113 | 119 | </MudStack> |
114 | 120 | @if (!isPasswordSelected) |
|
0 commit comments