From 94512f4faa07e7e49783b70efcece0a8a1c83df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=82=88?= Date: Tue, 4 Oct 2016 17:31:39 +0800 Subject: [PATCH] add support for status `pause` --- static/css/style.scss | 2 +- static/js/index.es6 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/css/style.scss b/static/css/style.scss index ecfca6b..c42edd2 100644 --- a/static/css/style.scss +++ b/static/css/style.scss @@ -66,7 +66,7 @@ $font_local: 'Heiti SC', 'Hiragino Sans GB', 'STHeiti', 'Source Han Sans CN', 'W tr:hover { background-color: #e0f3fc; } - tr.status-fail, tr.status-failed { + tr.status-fail, tr.status-failed, tr.status-paused { background-color: #fff4e3; } tr.status-syncing { diff --git a/static/js/index.es6 b/static/js/index.es6 index 7ee7932..75a476f 100644 --- a/static/js/index.es6 +++ b/static/js/index.es6 @@ -14,6 +14,7 @@ var mir_tmpl = $("#template").text(), 'success': 'label-success', 'fail': 'label-warning', 'failed': 'label-warning', + 'paused': 'label-warning', }, help_url = { {% for h in site.categories['help'] %}"{{h.mirrorid}}": "{{h.url}}"{% if forloop.index < forloop.length %},{% endif %}{% endfor %}