From 29c8464690d60f58852cc8c951e1ad6e77fb3930 Mon Sep 17 00:00:00 2001 From: Menci Date: Mon, 10 Dec 2018 19:38:00 +0800 Subject: [PATCH] Add Unknown status --- static/style.css | 4 ++++ views/header.ejs | 2 +- views/status_label.ejs | 3 ++- views/util.ejs | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index e5554cf..9644bea 100644 --- a/static/style.css +++ b/static/style.css @@ -145,6 +145,10 @@ body > .ui.page.dimmer { color: grey; } +:not(.status_detail).status.unknown { + color: #e28989; +} + :not(.status_detail).status.running, .title:hover .status_detail.status.running, .title.active .status_detail.status.running, diff --git a/views/header.ejs b/views/header.ejs index f608d1f..1c34548 100644 --- a/views/header.ejs +++ b/views/header.ejs @@ -11,7 +11,7 @@ - + diff --git a/views/status_label.ejs b/views/status_label.ejs index e97aecb..ea80330 100644 --- a/views/status_label.ejs +++ b/views/status_label.ejs @@ -18,7 +18,8 @@ const iconList = { 'No Testdata': 'folder open outline', 'Partially Correct': 'minus', 'Judgement Failed': 'server', - 'Skipped': 'fast forward' + 'Skipped': 'fast forward', + 'Unknown': 'question circle' }; Vue.component('status-label', { template: '#statusIconTemplate', diff --git a/views/util.ejs b/views/util.ejs index ddd207b..d029acb 100644 --- a/views/util.ejs +++ b/views/util.ejs @@ -52,7 +52,8 @@ this.icon = { 'No Testdata': 'folder open outline', 'Partially Correct': 'minus', 'Judgement Failed': 'server', - 'Skipped': 'ban' + 'Skipped': 'ban', + 'Unknown': 'question circle' }; this.iconHidden = [