UI remote monkey run button fix

This commit is contained in:
VakarisZ 2020-04-08 18:17:43 +03:00
parent c8d8cc3941
commit f92211128a
2 changed files with 8 additions and 1 deletions

View File

@ -11,6 +11,8 @@ import {Link} from 'react-router-dom';
import AuthComponent from '../AuthComponent'; import AuthComponent from '../AuthComponent';
import AwsRunTable from '../run-monkey/AwsRunTable'; import AwsRunTable from '../run-monkey/AwsRunTable';
import '../../styles/MonkeyRunPage.scss';
const loading_css_override = css` const loading_css_override = css`
display: block; display: block;
margin-right: auto; margin-right: auto;
@ -325,7 +327,7 @@ class RunMonkeyPageComponent extends AuthComponent {
Choose the operating system where you want to run the monkey Choose the operating system where you want to run the monkey
{this.state.ips.length > 1 ? ', and the interface to communicate with.' : '.'} {this.state.ips.length > 1 ? ', and the interface to communicate with.' : '.'}
</p> </p>
<Nav bsStyle="pills" justified activeKey={this.state.selectedOs} onSelect={this.setSelectedOs}> <Nav bsStyle="pills" id={"bootstrap-override"} className={"runOnOsButtons"} justified activeKey={this.state.selectedOs} onSelect={this.setSelectedOs}>
<NavItem key='windows-32' eventKey='windows-32'>Windows (32 bit)</NavItem> <NavItem key='windows-32' eventKey='windows-32'>Windows (32 bit)</NavItem>
<NavItem key='windows-64' eventKey='windows-64'>Windows (64 bit)</NavItem> <NavItem key='windows-64' eventKey='windows-64'>Windows (64 bit)</NavItem>
<NavItem key='linux-32' eventKey='linux-32'>Linux (32 bit)</NavItem> <NavItem key='linux-32' eventKey='linux-32'>Linux (32 bit)</NavItem>

View File

@ -0,0 +1,5 @@
$blue: #337ab7;
#bootstrap-override.runOnOsButtons > li.active > a{
background-color: $blue !important;
}