Skip to content

Commit

Permalink
SC-196 fixed button layout
Browse files Browse the repository at this point in the history
  • Loading branch information
KulinduC authored and danielduggin2 committed Sep 20, 2024
1 parent be8719c commit 63cdca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const RemoteAssetTab = (props: IProps) => {
<div className="card-footer">
<div className="add-new-asset">
<button
className={"btn btn-primary" + (hasPermissions() ? '' : ' disabled')}
className={"btn btn-info" + (hasPermissions() ? '' : ' disabled')}
type="submit" data-tooltip='AddAssets' onMouseEnter={() => setHover('submit')} onMouseLeave={() => setHover('none')}
onClick={(e) => {
if (hasPermissions()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const RemoteMeterTab = (props: IProps) => {
<div className="card-footer">
<div className="add-new-meter">
<button
className={"btn btn-primary" + (hasPermissions() ? '' : ' disabled')}
className={"btn btn-info" + (hasPermissions() ? '' : ' disabled')}
type="submit" data-tooltip='AddMeters' onMouseEnter={() => setHover('submit')} onMouseLeave={() => setHover('none')}
onClick={(e) => {
if (hasPermissions()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const SystemSettingsTab = (props: IProps) => {
</ToolTip>
<div className="btn-group mr-2">
<button
className={"btn btn-default" + (RemoteXDAInstanceComparator(baseInstance, formInstance) ? '' : ' disabled')}
className={"btn btn-warning" + (RemoteXDAInstanceComparator(baseInstance, formInstance) ? '' : ' disabled')}
data-tooltip="clear" onClick={() => {
setBaseInstance(_.cloneDeep(connection));
}}
Expand Down

0 comments on commit 63cdca7

Please sign in to comment.