Add basic support for node status by using the most recent report

The following frontend features are implemented
- Number of failures, successes, noops/skips in overview
- Show latest reports with 1 or more events in overview
- Direct links to latest Report
- Number and types of events in nodes list
This commit is contained in:
Julius Härtl
2013-10-25 15:43:14 +02:00
parent efae19dc6d
commit 7c027dd97d
6 changed files with 110 additions and 14 deletions

View File

@@ -52,3 +52,16 @@ th.headerSortDown:after {
.table tbody tr.error>td {
background-color: #f2dede;
}
h1.error {
color: rgb(223, 46, 27);
}
h1.success {
color: #18BC9C;
}
h1.noop {
color:#aaa;
}
.numtag {
width:20px;
text-align:center;
}

View File

@@ -8,11 +8,11 @@
$('.nodes').tablesorter({
headers: {
3: {
4: {
sorter: false
}
},
sortList: [[0, 0]]
sortList: [[1, 0]]
});
$('.facts').tablesorter({