@@ -130,7 +144,7 @@ export class NewHostPage extends Component {
{method1TextCopied &&
copied! }
-
+
{renderHostTabHeaders()}
@@ -144,7 +158,7 @@ export class NewHostPage extends Component {
{method2TextCopied &&
copied! }
-
+
This method allows you to configure an existing osqueryd installation to work with Kolide. The --config_endpoints flag allows us to point your osqueryd installation to your Kolide configuration.
diff --git a/frontend/pages/hosts/NewHostPage/NewHostPage.tests.jsx b/frontend/pages/hosts/NewHostPage/NewHostPage.tests.jsx
index eadb3dff87..afb8f51a86 100644
--- a/frontend/pages/hosts/NewHostPage/NewHostPage.tests.jsx
+++ b/frontend/pages/hosts/NewHostPage/NewHostPage.tests.jsx
@@ -11,7 +11,7 @@ describe('New Host Page - component', () => {
const page = mount(
connectedComponent(ConnectedNewHostPage, { mockStore })
);
- const icon = page.find('Icon').first();
+ const icon = page.find('.kolidecon-clipboard').first();
icon.simulate('click');
const dispatchedActionMessages = mockStore.getActions().map((action) => { return action.payload.message; });
@@ -20,8 +20,8 @@ describe('New Host Page - component', () => {
it('saves the copied text in state', () => {
const page = mount(
);
- const method1Icon = page.find('Icon').first();
- const method2Icon = page.find('Icon').last();
+ const method1Icon = page.find('.kolidecon-clipboard').first();
+ const method2Icon = page.find('.kolidecon-clipboard').last();
method1Icon.simulate('click');
diff --git a/frontend/pages/hosts/NewHostPage/_styles.scss b/frontend/pages/hosts/NewHostPage/_styles.scss
index 53d950e72c..9328f3df55 100644
--- a/frontend/pages/hosts/NewHostPage/_styles.scss
+++ b/frontend/pages/hosts/NewHostPage/_styles.scss
@@ -48,6 +48,12 @@
right: 10px;
cursor: pointer;
top: 18px;
+ font-size: $large;
+ color: $text-medium;
+
+ &--copied {
+ color: $brand-light;
+ }
}
&__tab-wrap {
diff --git a/frontend/styles/global/_icons.scss b/frontend/styles/global/_icons.scss
index d61075222f..2649fe6fdb 100644
--- a/frontend/styles/global/_icons.scss
+++ b/frontend/styles/global/_icons.scss
@@ -200,6 +200,10 @@
content: '\f040';
}
+ .kolidecon-clipboard:before {
+ content: '\f043';
+}
+
.sr-only {
position: absolute;