Skip to content

Commit

Permalink
Added btn class to Download CSV, clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
bisht-richa committed Oct 15, 2024
1 parent e4b1330 commit 6631b44
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 28 deletions.
4 changes: 2 additions & 2 deletions java/code/webapp/WEB-INF/pages/admin/users/edit_address.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<rhn:csrf />
<%@ include file="/WEB-INF/pages/common/fragments/user/edit_address_form.jspf" %>
<div class="form-group">
<div class="col-lg-offset-3 offset-lg-3 col-lg-6 test">
<button type="submit" class="btn btn-primary test" value="<bean:message key='message.Update'/>">
<div class="col-lg-offset-3 offset-lg-3 col-lg-6">
<button type="submit" class="btn btn-primary" value="<bean:message key='message.Update'/>">
<bean:message key="message.Update" />
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion java/code/webapp/WEB-INF/pages/groups/ssmcreate.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</div>

<div class="form-group">
<div class="col-lg-offset-3 offset-lg-3 col-lg-6 ssm-test">
<div class="col-lg-offset-3 offset-lg-3 col-lg-6">
<c:choose>
<c:when test='${empty param.sgid}'>
<html:submit property="create_button" styleClass="btn btn-primary">
Expand Down
22 changes: 11 additions & 11 deletions web/html/src/branding/css/susemanager/components/buttons.suma.less
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,14 @@
}
}

// .panel-heading,
// th {
// .btn,
// .btn-link,
// a {
// border: none;
// padding: 0;
// font-weight: bold;
// color: @eos-bc-gray-1000;
// }
// }
.panel-heading,
th {
.btn,
.btn-link,
a {
border: none;
padding: 0;
font-weight: bold;
color: @eos-bc-gray-1000;
}
}
22 changes: 11 additions & 11 deletions web/html/src/branding/css/susemanager/components/buttons.suma.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@
}
}

// .panel-heading,
// th {
// .btn,
// .btn-link,
// a {
// border: none;
// padding: 0;
// font-weight: bold;
// color: $eos-bc-gray-1000;
// }
// }
.panel-heading,
th {
.btn,
.btn-link,
a {
border: none;
padding: 0;
font-weight: bold;
color: $eos-bc-gray-1000;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ h6,
font-size: 80%;
}

a:hover {
a:not(.btn):hover {
text-decoration: underline !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ h6,
font-size: 80%;
}

a:hover {
a:not(.btn):hover {
text-decoration: underline !important;
}
}
Expand Down
1 change: 1 addition & 0 deletions web/html/src/manager/audit/cveaudit/cveaudit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ class CVEAudit extends React.Component<Props, State> {
this.state.statuses
}
data-senna-off="true"
className="btn btn-default"
>
<IconTag type="item-download-csv" />
{t("Download CSV")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const ToolTip = (props) => <span title={props.title}>{props.content}</span>;

const CsvLink = (props) => (
<div className="spacewalk-csv-download">
<a className="btn btn-link" href={"/rhn/manager/subscription-matching/" + props.name} data-senna-off="true">
<a className="btn btn-default" href={"/rhn/manager/subscription-matching/" + props.name} data-senna-off="true">
<i className="fa spacewalk-icon-download-csv"></i>
{t("Download CSV")}
</a>
Expand Down

0 comments on commit 6631b44

Please sign in to comment.