diff --git a/static/css/main.css b/static/css/main.css index 762406e7..c4bd6927 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -209,6 +209,36 @@ cursor:pointer; } +.ct-timeline-point{ + cursor:pointer; + stroke:#ffffff; + stroke-width:1px; +} + +.ct-point-sending { + fill:#428bca !important; +} + +.ct-point-error { + fill:#6c7a89 !important; +} + +.ct-point-clicked { + fill:#f05b4f !important; +} + +.ct-point-opened { + fill:#eb9532 !important; +} + +.ct-point-sent { + fill:#1abc9c !important; +} + +.ct-point-success { + fill:#f05b4f !important; +} + .chartist-tooltip{ position:absolute; display:inline-block; @@ -309,6 +339,10 @@ stroke:#f05b4f !important; } +.ct-slice-donut.ct-slice-donut-sending{ + stroke:#428bca !important; +} + .ct-legend-error { background-color: #6c7a89 !important; } @@ -329,6 +363,10 @@ background-color: #f05b4f !important; } +.ct-legend-sending { + background-color: #428bca !important; +} + .gophish-editor { font-family: 'Courier New',Monospace !important; font-size: small !important; diff --git a/static/js/app/campaign_results.js b/static/js/app/campaign_results.js index d8ee1690..562c5004 100644 --- a/static/js/app/campaign_results.js +++ b/static/js/app/campaign_results.js @@ -6,55 +6,64 @@ var statuses = { slice: "ct-slice-donut-sent", legend: "ct-legend-sent", label: "label-success", - icon: "fa-envelope" + icon: "fa-envelope", + point: "ct-point-sent" }, "Email Opened": { slice: "ct-slice-donut-opened", legend: "ct-legend-opened", label: "label-warning", - icon: "fa-envelope" + icon: "fa-envelope", + point: "ct-point-opened" }, "Clicked Link": { slice: "ct-slice-donut-clicked", legend: "ct-legend-clicked", label: "label-danger", - icon: "fa-mouse-pointer" + icon: "fa-mouse-pointer", + point: "ct-point-clicked" }, "Success": { slice: "ct-slice-donut-clicked", legend: "ct-legend-clicked", label: "label-danger", - icon: "fa-exclamation" + icon: "fa-exclamation", + point: "ct-point-clicked" }, "Error": { slice: "ct-slice-donut-error", legend: "ct-legend-error", label: "label-default", - icon: "fa-times" + icon: "fa-times", + point: "ct-point-error" }, "Error Sending Email": { slice: "ct-slice-donut-error", legend: "ct-legend-error", label: "label-default", - icon: "fa-times" + icon: "fa-times", + point: "ct-point-error" }, "Submitted Data": { slice: "ct-slice-donut-clicked", legend: "ct-legend-clicked", label: "label-danger", - icon: "fa-exclamation" + icon: "fa-exclamation", + point: "ct-point-clicked" }, "Unknown": { slice: "ct-slice-donut-error", legend: "ct-legend-error", label: "label-default", - icon: "fa-question" + icon: "fa-question", + point: "ct-point-error" }, "Sending": { - slice: "ct-slice-donut-error", - legend: "ct-legend-error", + slice: "ct-slice-donut-sending", + legend: "ct-legend-sending", label: "label-primary", - icon: "fa-spinner" + icon: "fa-spinner", + point: "ct-point-sending" }, "Campaign Created": { label: "label-success", @@ -412,23 +421,36 @@ function load() { $("#email_chart_legend").append('