From fd85bfb0442583c731a2ed02dee1d14461132ec1 Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Mon, 2 Oct 2017 11:43:23 +0300 Subject: [PATCH] Add map legend --- .../cc/ui/src/components/pages/MapPage.js | 5 +++++ monkey_island/cc/ui/src/images/map-legend.png | Bin 0 -> 2598 bytes 2 files changed, 5 insertions(+) create mode 100644 monkey_island/cc/ui/src/images/map-legend.png diff --git a/monkey_island/cc/ui/src/components/pages/MapPage.js b/monkey_island/cc/ui/src/components/pages/MapPage.js index ef40c3ddc..65c407102 100644 --- a/monkey_island/cc/ui/src/components/pages/MapPage.js +++ b/monkey_island/cc/ui/src/components/pages/MapPage.js @@ -10,6 +10,8 @@ let groupNames = ['clean_linux', 'clean_windows', 'exploited_linux', 'exploited_ 'manual_linux', 'manual_linux_running', 'manual_windows', 'manual_windows_running', 'monkey_linux', 'monkey_linux_running', 'monkey_windows', 'monkey_windows_running']; +let legend = require('../../images/map-legend.png'); + let getGroupsOptions = () => { let groupOptions = {}; for (let groupName of groupNames) { @@ -130,6 +132,9 @@ class MapPageComponent extends React.Component {

Infection Map

+ + + diff --git a/monkey_island/cc/ui/src/images/map-legend.png b/monkey_island/cc/ui/src/images/map-legend.png new file mode 100644 index 0000000000000000000000000000000000000000..4b7759a099c51ad75d0455eaaab0ad117773ece9 GIT binary patch literal 2598 zcmV+>3fc9EP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXf3A;%|K~#8N?VY`H z<3$Kg~~P|Lm}JfsZ3W@jfV z*(ETsV>`4{T=&cXm>CQ}00c=1>~9Mt0vHU2-90@$f80TW0K+g0!!S%w`9}R^7=~dO zhUq07>@W<&FbvacIM`trhG7_{*EoWm6-);M7~nBosY`ueH5K1!Fqq;uJReq5sms!1 zynwAryC2eS>f4MXJ?f}eHdjer&+_BEZ1WftWo#d>MdnTG&l^Yh<1s91IiDlRrgoXO zuozo*)R`ZBjT}h+hQB|&j(KF~9PsB5CkfD6^un>eh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