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

Fixed advanced package search page layout #8956

Merged
merged 1 commit 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
3 changes: 2 additions & 1 deletion java/code/src/com/suse/manager/webui/utils/ViewHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public enum ViewHelper {
"/rhn/manager/cm/imagestores",
"/rhn/manager/systems/details/highstate",
"/rhn/manager/systems/keys",
"/rhn/manager/audit/cve"
"/rhn/manager/audit/cve",
"/rhn/errata/Search.do"
);

ViewHelper() { }
Expand Down
32 changes: 27 additions & 5 deletions java/code/webapp/WEB-INF/pages/errata/erratasearch.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
<div class="panel-body">
<table class="table">
<tr>
<td><bean:message key="erratasearch.jsp.searchfor"/></td>
<td>
<label class="w-100 control-label" for="searchfor">
<bean:message key="erratasearch.jsp.searchfor"/>
</label>
</td>
<td>
<div class="row-0">
<div class="col-md-5">
Expand All @@ -56,7 +60,12 @@
</div>
</td>
</tr>
<tr><td><bean:message key="erratasearch.jsp.whatsearch"/></td>
<tr>
<td>
<label class="w-100 control-label" for="whatsearch">
<bean:message key="erratasearch.jsp.whatsearch"/>
</label>
</td>
<td>
<div class="row-0">
<div class="col-md-5">
Expand All @@ -72,7 +81,12 @@
</div>
</td>
</tr>
<tr><td><bean:message key="erratasearch.jsp.types_to_search"/></td>
<tr>
<td>
<label class="w-100 control-label" for="typeToSearch">
<bean:message key="erratasearch.jsp.types_to_search"/>
</label>
</td>
<td>
<div class="checkbox icon-wrapper">
<html:checkbox property="errata_type_bug">
Expand All @@ -95,7 +109,11 @@
</td>
</tr>
<tr>
<td><bean:message key="erratasearch.jsp.issue_date"/></td>
<td>
<label class="w-100 control-label" for="issueDate">
<bean:message key="erratasearch.jsp.issue_date"/>
</label>
</td>
<td>
<div class="checkbox">
<html:checkbox styleId="issueDateOptionsCheckBox" property="optionIssueDateSearch" onclick="javascript:issueDateSearchOptions()" >
Expand Down Expand Up @@ -129,7 +147,11 @@
</td>
</tr>
<tr>
<td><label for="fineGrainedlabel"><bean:message key="systemsearch.jsp.finegrainedlabel"/></label></td>
<td>
<label class="w-100 control-label" for="fineGrainedlabel">
<bean:message key="systemsearch.jsp.finegrainedlabel"/>
</label>
</td>
<td>
<div class="checkbox">
<html:checkbox property="fineGrained" styleId="fineGrainedlabel"> <label for="fineGrainedlabel"><bean:message key="systemsearch.jsp.finegrained"/></label></html:checkbox>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed layout of advanced package search page
4 changes: 4 additions & 0 deletions web/html/src/branding/css/base/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
> tbody > tr:last-child > * {
border-bottom-width: 0;
}

.table {
background-color: $white;
}
}

.table > thead > tr.active > th {
Expand Down
1 change: 1 addition & 0 deletions web/html/src/core/spa/view-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const BOOTSTRAP_READY_PAGES: string[] = [
"/rhn/manager/systems/details/highstate",
"/rhn/manager/systems/keys",
"/rhn/manager/audit/cve",
"/rhn/errata/Search.do",
];

export const onEndNavigate = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed layout of advanced package search page
Loading