Skip to content

Commit

Permalink
Fixed advanced package search page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bisht-richa committed Jun 19, 2024
1 parent 2424e35 commit 8d086e4
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 6 deletions.
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 @@ -68,7 +68,8 @@ 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/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 @@ -13,6 +13,7 @@ const BOOTSTRAP_READY_PAGES: string[] = [
"/rhn/multiorg/OrgConfigDetails.do",
"/rhn/manager/notification-messages",
"rhn/channels/software/Search.do",
"/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

0 comments on commit 8d086e4

Please sign in to comment.