Project

General

Profile

« Previous | Next » 

Revision 48932

View differences:

CrisController.java
52 52
        redrawWidget(contentPanel, wizardWidget, parent, rest);
53 53
    }
54 54

  
55
    @Override
56
    public void drawHeader(String rest) {
57

  
58
        RepositoryManager.pageHeader.add(new HTML("<div class=\"col-sm-9\"><h2>Run Compatibility Test</h2>" +
59
                "<ol class=\"breadcrumb\"><li><a href=\"#dashboard\">Home</a></li><li class=\"active\"><strong>Run Compatibility Test" +
60
                "</strong></li></ol></div><div class=\"col-sm-3\"><div class=\"nav navbar-top-links navbar-right\">" +
61
                "<button id=\"changeValidationMode\" style=\"margin-top: 30px; margin-right: 20px\" type=\"button\" " +
62
                "class=\"btn btn-w-m btn-white\">Change Validation mode</button></div></div>"));
63

  
64
        $("#changeValidationMode").click(new Function() {
65
            public boolean f(Event e) {
66
                History.newItem("validate");
67
                return false;
68
            }
69
        });
70
    }
55
//    @Override
56
//    public void drawHeader(String rest) {
57
//
58
//        RepositoryManager.pageHeader.add(new HTML("<div class=\"col-sm-9\"><h2>Run Compatibility Test</h2>" +
59
//                "<ol class=\"breadcrumb\"><li><a href=\"#dashboard\">Home</a></li><li class=\"active\"><strong>Run Compatibility Test" +
60
//                "</strong></li></ol></div><div class=\"col-sm-3\"><div class=\"nav navbar-top-links navbar-right\">" +
61
//                "<button id=\"changeValidationMode\" style=\"margin-top: 30px; margin-right: 20px\" type=\"button\" " +
62
//                "class=\"btn btn-w-m btn-white\">Change Validation mode</button></div></div>"));
63
//
64
//        $("#changeValidationMode").click(new Function() {
65
//            public boolean f(Event e) {
66
//                History.newItem("validate");
67
//                return false;
68
//            }
69
//        });
70
//    }
71 71
}

Also available in: Unified diff