add support for status `pause`

This commit is contained in:
王邈 2016-10-04 17:31:39 +08:00
parent 21bfc35ba2
commit 94512f4faa
2 changed files with 2 additions and 1 deletions

View File

@ -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 {

View File

@ -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 %}