stackviz/app/views/directives/test-details-search-popover.html
Austin Clark 6b80ea8fa2 Add filter functionality to test-details pythonlogging
On tests with pythonlogging, the DEBUG headers can be quite long and
make finding useful information difficult. This patch adds a small,
four-button filter to the test-details page that allows a user to
select which levels of logging to be displayed (INFO, WARNING, ERROR,
DEBUG). This patch will likely serve as the base for additional search
functionality for test details (e.g. queries).

Change-Id: Ia4286861268de0e43313d3b8d7f966e94697a495
2016-01-15 13:20:21 -07:00

20 lines
691 B
HTML

<div class="test-details-search-popover">
<label>Filter pythonlogging by log level:</label>
<div class="status-group btn-group btn-group-justified">
<label uib-btn-checkbox
ng-model="search.showINFO"
class="btn btn-default">INFO</label>
<label uib-btn-checkbox
ng-model="search.showDEBUG"
class="btn btn-default">DEBUG</label>
<label uib-btn-checkbox
ng-model="search.showWARNING"
class="btn btn-default">WARNING</label>
<label uib-btn-checkbox
ng-model="search.showERROR"
class="btn btn-default">ERROR</label>
</div>
</div>