X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fsecurity_review%2Ftemplates%2Frun_and_review.html.twig;fp=web%2Fmodules%2Fcontrib%2Fsecurity_review%2Ftemplates%2Frun_and_review.html.twig;h=e6eac92c76983c9aa003c304d9b2430854d106d1;hp=0000000000000000000000000000000000000000;hb=ba1b5c55c66590c41ccc9844d3e62391b0399abb;hpb=93ef30d42f68e55d11d97312531118bbcd4cf318 diff --git a/web/modules/contrib/security_review/templates/run_and_review.html.twig b/web/modules/contrib/security_review/templates/run_and_review.html.twig new file mode 100644 index 000000000..e6eac92c7 --- /dev/null +++ b/web/modules/contrib/security_review/templates/run_and_review.html.twig @@ -0,0 +1,52 @@ +{# +/** + * @file + * Default template for the Run & Review page. + * + * Available variables: + * - checks: Array of check informations. + * A check information consists of: + * - result: The check's result (string). + * - message: The result message. + * - help_link: The link to the check's help page. + * - toggle_link: The toggle link for the check. + * - skipped: Whether the check is skipped. + */ +#} + +

+ {% trans %} + Review results from last run {{ date }} + {% endtrans %} +

+

+ {% trans %} + Here you can review the results from the last run of the checklist. Checks + are not always perfectly correct in their procedure and result. You can keep + a check from running by clicking the 'Skip' link beside it. You can run the + checklist again by expanding the fieldset above. + {% endtrans %} +

+ + + {% for check in checks %} + {% set style = '' %} + {% if check.result is defined %} + {% set style = style ~ ' ' ~ check.result %} + {% endif %} + {% if check.skipped %} + {% set style = style ~ ' skipped' %} + {% endif %} + + + + + + + {% endfor %} + +
+ {% if icons[check.result] is defined %} + + {% endif %} + {{ check.message }}{{ check.help_link }}