| Index: milo/appengine/frontend/expectations/buildbot.build-Debug_page-_newline_1234.html
|
| diff --git a/milo/appengine/frontend/expectations/buildbot.build-Debug_page-_newline_1234.html b/milo/appengine/frontend/expectations/buildbot.build-Debug_page-_newline_1234.html
|
| index 7ee8d3364909a9dcda1e693cca77f55e7d578c56..ea56fee36f428f042c72cd5d4038bb2bcca5adba 100644
|
| --- a/milo/appengine/frontend/expectations/buildbot.build-Debug_page-_newline_1234.html
|
| +++ b/milo/appengine/frontend/expectations/buildbot.build-Debug_page-_newline_1234.html
|
| @@ -105,16 +105,18 @@
|
|
|
|
|
| <h2>Steps and Logfiles:</h2>
|
| - <input type="checkbox" id="showHidden">
|
| - <label for="showHidden">Show hidden <span id="numHidden"></span></label>
|
| - <ol id="steps" class="hide">
|
| + Show:
|
| + <input type="radio" name="hider" id="showAll"><label for="showAll">All</label>
|
| + <input type="radio" name="hider" id="showStandard" checked><label for="showStandard">Standard</label>
|
| + <input type="radio" name="hider" id="showFail"><label for="showFail">Failure</label>
|
| + <ol id="steps" class="standard">
|
|
|
|
|
|
|
|
|
|
|
|
|
| - <li class="verbosity-Normal">
|
| + <li class="verbosity-Interesting">
|
| <div class="status-Failure result">
|
| <b>steps</b>
|
| <span style="float:right"
|
| @@ -177,24 +179,35 @@
|
| </div>
|
| <script language="javascript">
|
| $(document).ready(function() {
|
| - var check = function(checked) {
|
| +
|
| + var check = function(filter) {
|
| var things = $("#steps");
|
| - if (checked) {
|
| - $("#steps").removeClass("hide");
|
| - } else {
|
| - $("#steps").addClass("hide");
|
| - }
|
| - var numHidden = $(".verbosity-Hidden").length;
|
| - if (numHidden > 0) {
|
| - $("#numHidden").text("(" + numHidden + " hidden)");
|
| + if (filter == "fail") {
|
| + $("#steps").removeClass("standard");
|
| + $("#steps").removeClass("all");
|
| + $("#steps").addClass("fail");
|
| + } else if (filter == "all") {
|
| + $("#steps").removeClass("standard");
|
| + $("#steps").addClass("all");
|
| + $("#steps").removeClass("fail");
|
| } else {
|
| - $("#numHidden").text("");
|
| +
|
| + $("#steps").removeClass("all");
|
| + $("#steps").addClass("standard");
|
| + $("#steps").removeClass("fail");
|
| }
|
| };
|
|
|
| - check($("#showHidden").is(":checked"));
|
| - $("#showHidden").click(function(e) {
|
| - check($(this).is(":checked"));
|
| + check($("#showFail").is(":checked"), "standard");
|
| +
|
| + $("#showFail").click(function(e) {
|
| + check("fail");
|
| + });
|
| + $("#showStandard").click(function(e) {
|
| + check("standard");
|
| + });
|
| + $("#showAll").click(function(e) {
|
| + check("all");
|
| });
|
| });
|
| </script>
|
|
|