Skip to content

Commit

Permalink
Merge pull request #73 from hermannsblum/feature/timeout
Browse files Browse the repository at this point in the history
Add timeout status
  • Loading branch information
chovanecm committed Sep 2, 2017
2 parents f52571c + 301511d commit 510e7a5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion sacredboard/static/css/runs.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
color: orange;
}

[sacred-content="status-icon"][sacred-status="TIMEOUT"], .run-timeout {
color: yellow;
}

.detail-page-box {
overflow: auto;
height: 35eM;
Expand Down Expand Up @@ -74,4 +78,4 @@ tr.shown td.details-control:before {
border: 1.5px solid black;
z-index: 1;
padding: 0.5em;
}
}
3 changes: 2 additions & 1 deletion sacredboard/static/scripts/runs/viewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ define(["knockout", "runs/filters/queryFilters", "runs/filters/queryFilter", "ru
"run-queued": new QueryFilter("status", "==", "\"QUEUED\""),
"run-failed": new QueryFilter("status", "==", "\"FAILED\""),
"run-interrupted": new QueryFilter("status", "==", "\"INTERRUPTED\""),
"run-dead": new QueryFilter("status", "==", "\"DEAD\"")
"run-dead": new QueryFilter("status", "==", "\"DEAD\""),
"run-timeout": new QueryFilter("status", "==", "\"TIMEOUT\"")
},
/**
* Currently applied status filters.
Expand Down
4 changes: 4 additions & 0 deletions sacredboard/templates/runs.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
type="checkbox"
data-bind="checkedValue: predefinedFilters['run-interrupted'], checked: statusFilters.filters">
Interrupted,
<span class="run-timeout">&block;</span> <input
type="checkbox"
data-bind="checkedValue: predefinedFilters['run-timeout'], checked: statusFilters.filters">
Timeout,
<span class="run-dead">&block;</span> <input type="checkbox"
data-bind="checkedValue: predefinedFilters['run-dead'], checked: statusFilters.filters">
Probably dead,
Expand Down

0 comments on commit 510e7a5

Please sign in to comment.