diff --git a/frontend/public/otimings.sh b/frontend/public/otimings.sh index ca6f213..0d6824c 100644 --- a/frontend/public/otimings.sh +++ b/frontend/public/otimings.sh @@ -119,3 +119,4 @@ else echo "[$(date '+%Y/%m/%d %H:%M:%S')] Done!" fi + diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 1d48b47..9bfc1d5 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -15,7 +15,7 @@ - + 1. Generate report @@ -30,7 +30,7 @@ - + 2. Upload report @@ -39,75 +39,20 @@ - - - - - Summary - /proc/stat - - - This section contains raw data from /proc/stat, visualised and with calculated relative (percent) share of the total CPU time. -
    -
  • Current run represents the data between the start and the end of the report generation.
  • -
  • All time represents absolute values from the last system restart until the end of the report generation.
  • -
-
- - - Current run - All time - - - - - - - - - - - - + + - - - - - History - /proc/stat - - - This section contains data (currently {{ historyTab.replace('history-', '') }}) changes over time represented as a relative (percent) share of the total CPU time. - - - - {{ label }} - - - - - - - - - + + - - - - - History - /proc/meminfo - - - This section contains memory usage changes over time. - - TODO - - + + + + + + @@ -116,33 +61,19 @@ diff --git a/frontend/src/components/report/ReportDetails.vue b/frontend/src/components/report/ReportDetails.vue new file mode 100644 index 0000000..588c3f7 --- /dev/null +++ b/frontend/src/components/report/ReportDetails.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/frontend/src/components/History.vue b/frontend/src/components/report/history/ReportHistoryPage.vue similarity index 73% rename from frontend/src/components/History.vue rename to frontend/src/components/report/history/ReportHistoryPage.vue index eaff244..7978d6c 100644 --- a/frontend/src/components/History.vue +++ b/frontend/src/components/report/history/ReportHistoryPage.vue @@ -1,5 +1,5 @@ diff --git a/frontend/src/components/report/history/ReportHistoryProcMeminfo.vue b/frontend/src/components/report/history/ReportHistoryProcMeminfo.vue new file mode 100644 index 0000000..1b6b5fb --- /dev/null +++ b/frontend/src/components/report/history/ReportHistoryProcMeminfo.vue @@ -0,0 +1,90 @@ + + + diff --git a/frontend/src/components/report/history/ReportHistoryProcStat.vue b/frontend/src/components/report/history/ReportHistoryProcStat.vue new file mode 100644 index 0000000..f8ccf1f --- /dev/null +++ b/frontend/src/components/report/history/ReportHistoryProcStat.vue @@ -0,0 +1,82 @@ + + + diff --git a/frontend/src/components/report/summary/ReportSummary.vue b/frontend/src/components/report/summary/ReportSummary.vue new file mode 100644 index 0000000..b4538c4 --- /dev/null +++ b/frontend/src/components/report/summary/ReportSummary.vue @@ -0,0 +1,100 @@ + + + diff --git a/frontend/src/components/Summary.vue b/frontend/src/components/report/summary/ReportSummaryPage.vue similarity index 100% rename from frontend/src/components/Summary.vue rename to frontend/src/components/report/summary/ReportSummaryPage.vue diff --git a/frontend/src/plugins/font-awesome.js b/frontend/src/plugins/font-awesome.js index 922a417..52214f1 100644 --- a/frontend/src/plugins/font-awesome.js +++ b/frontend/src/plugins/font-awesome.js @@ -4,10 +4,12 @@ import {FontAwesomeIcon, FontAwesomeLayers} from '@fortawesome/vue-fontawesome' import {faGithub} from "@fortawesome/free-brands-svg-icons/faGithub"; import {faExclamationTriangle} from "@fortawesome/free-solid-svg-icons/faExclamationTriangle"; import {faQuestionCircle} from "@fortawesome/free-solid-svg-icons/faQuestionCircle"; +import {faCheck} from "@fortawesome/free-solid-svg-icons/faCheck"; library.add(faGithub); library.add(faExclamationTriangle); library.add(faQuestionCircle); +library.add(faCheck); export default (app) => { app.component('font-awesome-icon', FontAwesomeIcon);