From 918d86c4d951012184eb8be5a4677ec40c72cbf9 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Mon, 5 Aug 2019 14:36:16 +0300 Subject: [PATCH] Moved report header to common components in folder --- monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js | 2 +- .../cc/ui/src/components/pages/ZeroTrustReportPage.js | 2 +- .../components/report-components/{ => common}/ReportHeader.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename monkey/monkey_island/cc/ui/src/components/report-components/{ => common}/ReportHeader.js (93%) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js index 936171aad..132b68651 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js @@ -12,7 +12,7 @@ import AuthComponent from '../AuthComponent'; import PassTheHashMapPageComponent from "./PassTheHashMapPage"; import StrongUsers from "components/report-components/StrongUsers"; import AttackReport from "components/report-components/AttackReport"; -import ReportHeader, { ReportTypes } from "../report-components/ReportHeader"; +import ReportHeader, { ReportTypes } from "../report-components/common/ReportHeader"; let guardicoreLogoImage = require('../../images/guardicore-logo.png'); diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js index 35e348e15..f9702bf8d 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js @@ -1,7 +1,7 @@ import React from 'react'; import {Button, Col} from 'react-bootstrap'; import AuthComponent from '../AuthComponent'; -import ReportHeader, { ReportTypes } from "../report-components/ReportHeader"; +import ReportHeader, { ReportTypes } from "../report-components/common/ReportHeader"; import ZeroTrustReportPillarGrades from "../report-components/zerotrust/ZeroTrustReportPillarGrades"; class ZeroTrustReportPageComponent extends AuthComponent { diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/ReportHeader.js b/monkey/monkey_island/cc/ui/src/components/report-components/common/ReportHeader.js similarity index 93% rename from monkey/monkey_island/cc/ui/src/components/report-components/ReportHeader.js rename to monkey/monkey_island/cc/ui/src/components/report-components/common/ReportHeader.js index adccb7371..0db9cb93e 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/ReportHeader.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/common/ReportHeader.js @@ -1,7 +1,7 @@ import React, {Component} from "react"; import {Col} from "react-bootstrap"; -let monkeyLogoImage = require('../../images/monkey-icon.svg'); +let monkeyLogoImage = require('../../../images/monkey-icon.svg'); export const ReportTypes = { zeroTrust: "Zero Trust",