| Index: milo/appengine/frontend/expectations/swarming.build-build-running-logdog-no-annotation-stream.html
|
| diff --git a/milo/appengine/frontend/expectations/swarming.build-build-running-logdog-no-annotation-stream.html b/milo/appengine/frontend/expectations/swarming.build-build-running-logdog-no-annotation-stream.html
|
| index 03919c750a06e70e197efbd46968b7be01fff0fc..cb7c54c823faa22aedbcf793b9e027c0e5f436aa 100644
|
| --- a/milo/appengine/frontend/expectations/swarming.build-build-running-logdog-no-annotation-stream.html
|
| +++ b/milo/appengine/frontend/expectations/swarming.build-build-running-logdog-no-annotation-stream.html
|
| @@ -77,9 +77,14 @@
|
|
|
|
|
| <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="showInteresting">
|
| + <label for="showInteresting">Interesting Only</label>
|
| + <ol id="steps" class="standard">
|
|
|
|
|
|
|
| @@ -145,24 +150,25 @@
|
| </div>
|
| <script language="javascript">
|
| $(document).ready(function() {
|
| - var check = function(checked) {
|
| - var things = $("#steps");
|
| - if (checked) {
|
| - $("#steps").removeClass("hide");
|
| - } else {
|
| - $("#steps").addClass("hide");
|
| - }
|
| - var numHidden = $(".verbosity-Hidden").length;
|
| - if (numHidden > 0) {
|
| - $("#numHidden").text("(" + numHidden + " hidden)");
|
| - } else {
|
| - $("#numHidden").text("");
|
| - }
|
| - };
|
|
|
| - check($("#showHidden").is(":checked"));
|
| - $("#showHidden").click(function(e) {
|
| - check($(this).is(":checked"));
|
| + var check = function(className) {
|
| + $("#steps").removeClass("all standard interesting").addClass(className)
|
| + }
|
| +
|
| + $("#showInteresting").click(function(e) {
|
| + check("interesting");
|
| + });
|
| + $("#showStandard").click(function(e) {
|
| + check("standard");
|
| + });
|
| + $("#showAll").click(function(e) {
|
| + check("all");
|
| + });
|
| +
|
| + $("input[name='hider']").each(function(){
|
| + if ($(this).prop("checked")) {
|
| + $(this).click();
|
| + }
|
| });
|
| });
|
| </script>
|
|
|