Skip to content

Commit

Permalink
Merge pull request #326 from ipaponov/rbtn-clickable-checks
Browse files Browse the repository at this point in the history
Possibility to do right click to open the check
  • Loading branch information
alenkacz committed Feb 17, 2016
2 parents 6e4dedd + 5fafe1c commit f79aef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seyren-integration-tests/src/test/e2e/scenarios.js
Expand Up @@ -99,7 +99,7 @@ describe('checks page', function () {
expect(element('table thead tr th:eq(4)').text()).toBe('Enabled');

expect(element('table tbody tr').count()).toBe(1);
expect(element('table tbody tr td:eq(0)').text()).toBe('load longterm usage');
expect(element('table tbody tr td:eq(0) a').text()).toBe('load longterm usage');
expect(element('table tbody tr td:eq(1) span:visible').text()).toBe('WARN');
expect(element('table tbody tr td:eq(2)').text()).toBe('0.5');
expect(element('table tbody tr td:eq(3)').text()).toBe('2.0');
Expand Down
4 changes: 3 additions & 1 deletion seyren-web/src/main/webapp/html/checks.html
Expand Up @@ -28,7 +28,9 @@ <h1><strong>Checks</strong></h1>
</thead>
<tbody>
<tr ng-repeat="check in checks.values | filter:filter | orderBy:predicate:reverse" ng-click="selectCheck(check.id)" style="cursor: pointer;">
<td title="{{ check.target }}">{{ check.name }}</td>
<td title="{{ check.target }}">
<a href='#/checks/{{ check.id }}'>{{ check.name }}</a>
</td>
<td>
<span ng-show="check.state == 'UNKNOWN'" class="label label-default">{{ check.state }}</span>
<span ng-show="check.state == 'OK'" class="label label-success">{{ check.state }}</span>
Expand Down

0 comments on commit f79aef4

Please sign in to comment.