Skip to content

Commit 960bd77

Browse files
[~] Fix UI glitch CactuseSecurity#3061
1 parent 4107338 commit 960bd77

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

roles/ui/files/FWO.UI/Pages/Settings/SearchUser.razor

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@using FWO.Data.Middleware
1+
@using FWO.Data.Middleware
22
@using FWO.Middleware.Client
33
@using RestSharp
44
@using System.Net
@@ -12,22 +12,20 @@
1212
<Body>
1313
@if (Display)
1414
{
15-
<form>
15+
<form class="mt-2">
1616
<form class="form-group row" data-toggle="tooltip" title="@(userConfig.PureLine("H5351"))">
17-
<label class="col-sm-2 col-form-label col-form-label-sm">@(userConfig.GetText("from_ldap")):</label>
18-
<div class="col-sm-3">
17+
<label class="col-form-label col-form-label-sm col-2 col-md-3 col-xl-2">@(userConfig.GetText("from_ldap")):</label>
18+
<div class="col-10 col-md-9 col-xl-5 col-xxl-3">
1919
<Dropdown ElementType="UiLdapConnection" ElementToString="@(l => l.Name)" @bind-SelectedElement="selectedLdap" Elements="connectedLdaps">
2020
<ElementTemplate Context="ldap">
2121
@ldap.Name
2222
</ElementTemplate>
2323
</Dropdown>
2424
</div>
25-
<label class="col-sm-2 col-form-label col-form-label-sm">@(userConfig.GetText("search_pattern")):</label>
26-
<div class="col-sm-3">
27-
<input class="form-control-sm col-sm" type="text" @bind="searchPattern" />
28-
</div>
29-
<div class="col-sm-2">
30-
<button type="button" class="btn btn-sm btn-success" @onclick="async() => await SearchInLdap()" @onclick:preventDefault>@(userConfig.GetText("search"))</button>
25+
<div class="col-12 col-xl-5 col-xxl-7 mt-lg-2 mt-xl-0">
26+
<label for="lblSearchPattern" class="col-form-label col-form-label-sm">@(userConfig.GetText("search_pattern")):</label>
27+
<input id="lblSearchPattern" class="form-control-sm col-sm" type="text" @bind="searchPattern" />
28+
<button type="button" class="btn btn-sm btn-success mt-1 mt-md-0 mt-xl-1 mt-xxl-0" @onclick="async() => await SearchInLdap()" @onclick:preventDefault>@(userConfig.GetText("search"))</button>
3129
</div>
3230
</form>
3331
@if(UserSearchMode)

0 commit comments

Comments
 (0)