Skip to content

Commit

Permalink
Fixed broken layout of system highstate page (#8933)
Browse files Browse the repository at this point in the history
  • Loading branch information
bisht-richa authored and cbbayburt committed Jul 23, 2024
1 parent ee37324 commit 90ea8a8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 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 @@ -84,7 +84,8 @@ public enum ViewHelper {
"/rhn/channels/ChannelDetail.do",
"/rhn/software/packages/Details.do",
"/rhn/manager/systems/details/formulas",
"/rhn/manager/cm/imagestores"
"/rhn/manager/cm/imagestores",
"/rhn/manager/systems/details/highstate"
);

ViewHelper() { }
Expand Down
8 changes: 8 additions & 0 deletions web/html/src/branding/css/susemanager/components/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
}
}

.btn {
&,
&:active,
&:first-child:active {
border-color: transparent;
}
}

.btn,
.btn-default,
.btn-primary,
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 @@ -28,6 +28,7 @@ const BOOTSTRAP_READY_PAGES: string[] = [
"/rhn/software/packages/Details.do",
"/rhn/manager/systems/details/formulas",
"/rhn/manager/cm/imagestores",
"/rhn/manager/systems/details/highstate",
];

export const onEndNavigate = () => {
Expand Down
2 changes: 1 addition & 1 deletion web/html/src/manager/state/display-highstate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import HighstateSummary from "./highstate-summary";

function MinionHighstateSingle({ minion }: { minion: { id: number; name: string } }) {
return (
<div className="row">
<div>
<h3>{t("State Summary for {name}", { name: minion.name })}</h3>
<HighstateSummary minionId={minion.id} />
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed broken layout of system highstate page

0 comments on commit 90ea8a8

Please sign in to comment.