Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table filters description fix #8791

Merged
merged 8 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ else if (fields.size() == 1) {
StringBuilder sb = new StringBuilder();

// create a new row
sb.append("<div class=\"input-group input-group-sm\">");
sb.append("<div class=\"input-group\">");

String placeHolder = StringUtils.defaultString(ls.getMessage("message.filterby", fields.get(0)));
sb.append(String.format("<input autofocus=\"autofocus\" type=\"text\" " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ public enum ViewHelper {
"/rhn/account/EditAddress.do",
"/rhn/multiorg/OrgConfigDetails.do",
"/rhn/manager/notification-messages",
"rhn/channels/software/Search.do"
"rhn/channels/software/Search.do",
"/rhn/activationkeys/List.do",
"/rhn/manager/systems/list/all",
"/rhn/manager/contentmanagement/projects",
"/rhn/kickstart/cobbler/DefaultSnippetList.do",
"/rhn/systems/details/packages/PackageList.do",
"/rhn/software/channels/All.do"
);

ViewHelper() { }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed table filters for description, first character dropdown and toggle button.
8 changes: 8 additions & 0 deletions web/html/src/branding/css/base/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,12 @@ nav.navbar-pf {
max-height: 250px;
overflow-y: auto;
text-align: right;
font-size: 14px;
left: 0;
background: $white;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
li {
display: block;
padding: 0 1px;
Expand All @@ -559,6 +565,8 @@ nav.navbar-pf {
li.disabled {
a {
color: #aaa;
text-decoration: none;
cursor: not-allowed;
}
}
li:nth-child(11) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@ select[size] {
margin: 0 !important;
}
}

.input-group {
align-items: center;
}
6 changes: 6 additions & 0 deletions web/html/src/core/spa/view-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ const BOOTSTRAP_READY_PAGES: string[] = [
"/rhn/multiorg/OrgConfigDetails.do",
"/rhn/manager/notification-messages",
"rhn/channels/software/Search.do",
"/rhn/activationkeys/List.do",
"/rhn/manager/systems/list/all",
"/rhn/manager/contentmanagement/projects",
"/rhn/kickstart/cobbler/DefaultSnippetList.do",
"/rhn/systems/details/packages/PackageList.do",
"/rhn/software/channels/All.do",
];

export const onEndNavigate = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed table filters for description, first character dropdown and toggle button.
Loading