diff --git a/static/ejs/partials/components/categorySelector.ejs b/static/ejs/partials/components/categorySelector.ejs index 343451b7..2c9e3d86 100644 --- a/static/ejs/partials/components/categorySelector.ejs +++ b/static/ejs/partials/components/categorySelector.ejs @@ -5,53 +5,63 @@ passed: "Passed" } %> - + <% } %> - - + <% }) %> + + + diff --git a/static/ejs/partials/components/categorySelectorDropdown.ejs b/static/ejs/partials/components/categorySelectorDropdown.ejs index 69f46858..b32df4c6 100644 --- a/static/ejs/partials/components/categorySelectorDropdown.ejs +++ b/static/ejs/partials/components/categorySelectorDropdown.ejs @@ -5,22 +5,70 @@ passed: "Passed" } %> -
  • - <%= formattedCategoryTitles[category] %> - - - <% if (category !== 'passed' && items[category].totalItems !== 0) { %> - (<%= items[category].rules.length %> issues) - <% } else if (category !== 'passed' && items[category].totalItems === 0) { %> - 0 issues - <% } else { %> - (<%= items[category].totalItems %> occurrences) - <% } %> - -
  • +
    + + +
    + + + + + + + + + + +
    + + + +
    diff --git a/static/ejs/partials/components/scanAbout.ejs b/static/ejs/partials/components/scanAbout.ejs index 8f7a15a7..d03fa9f4 100644 --- a/static/ejs/partials/components/scanAbout.ejs +++ b/static/ejs/partials/components/scanAbout.ejs @@ -150,6 +150,82 @@ <% } %> +
  • + + + + + + + + + + + + + + + + <%= items.mustFix.totalItems + items.goodToFix.totalItems %> occurrences failed,
    + <%= items.passed.totalItems %> occurences passed + + + + + + + + + + +
    +
  • diff --git a/static/ejs/partials/main.ejs b/static/ejs/partials/main.ejs index ed2ba0cf..d9a2847f 100644 --- a/static/ejs/partials/main.ejs +++ b/static/ejs/partials/main.ejs @@ -16,65 +16,11 @@
    <%- include("components/reportSearch") %>
    - - + + <%- include("components/categorySelector") %> + -
    - - -
    - - - - - - - - - - - - -
    - - - -
    + <%- include("components/categorySelectorDropdown") %>