diff --git a/ext/js/problems.js b/ext/js/problems.js index 0ad8957..65414f7 100644 --- a/ext/js/problems.js +++ b/ext/js/problems.js @@ -307,12 +307,14 @@ // Highlighting solved tasks - const STATUS_ERR = 3; + const STATUS_ERR = 4; + const STATUS_INT = 3; const STATUS_OK = 2; const STATUS_QUE = 1; const STATUS_NONE = 1000; const STATUS_MAP = { [STATUS_ERR]: 'err', + [STATUS_INT]: 'int', [STATUS_OK]: 'ok', [STATUS_QUE]: 'que', [STATUS_NONE]: 'none', @@ -341,6 +343,8 @@ TEST_NUMBER_REGEX.test(status) || ACCURACY_REGEX.test(status)) { statusInt = STATUS_OK; + } else if (status.search('INT') !== -1) { + statusInt = STATUS_INT; } else { statusInt = STATUS_ERR; } diff --git a/ext/scss/problems.scss b/ext/scss/problems.scss index b2f558c..1644b3e 100644 --- a/ext/scss/problems.scss +++ b/ext/scss/problems.scss @@ -31,6 +31,10 @@ table.results { background-color: #FFF2C8; } + td.satori-enhancements-status-int { + background-color: #94F7FC; + } + td.satori-enhancements-status-err { background-color: #F8C3D2; }