Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: fuzzer/templates/index.html

Issue 1419793011: Add front page of Fuzzer (Closed) Base URL: https://skia.googlesource.com/buildbot@file
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fuzzer/res/imp/fuzzer-summary-list-sk-demo.html ('k') | res/imp/9/app-sk.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fuzzer/templates/index.html
diff --git a/fuzzer/templates/index.html b/fuzzer/templates/index.html
index 19a81071fb3ee359cf0caa5bdded68eba93e93d9..ffede569cb2774d7f4109fd63eade2d8a39de0de 100644
--- a/fuzzer/templates/index.html
+++ b/fuzzer/templates/index.html
@@ -4,53 +4,30 @@
<title>Skia Fuzzer</title>
{{template "header.html" .}}
</head>
-<body>
- <scaffold-sk responsiveWidth="700px">
- {{template "titlebar.html" .}}
- <div id="fuzzes"></div>
- </scaffold-sk>
+<body class="fullbleed vertical layout unresolved">
+ <style is="custom-style">
+ app-sk {
+ --app-sk-main: {
+ background-color: #FFFFFF;
+ font-family: sans-serif;
+ };
+ --app-sk-toolbar: {
+ background-color: #8be1b8;
+ };
+ login-sk{
+ --login-sk-color: white;
+ };
+ }
+ </style>
+ <app-sk class="fit" flex>
+ <img header id="logo" src="/res/img/skia_fuzz.png">
+ <fuzzer-status-sk rtoolbar></fuzzer-status-sk>
+ <fuzzer-menu-sk navigation></fuzzer-menu-sk>
+
+ <h2>Failing Fuzzes</h2>
+
+ <fuzzer-summary-list-sk></fuzzer-summary-list-sk>
+ </app-sk>
-<script type="text/javascript" charset="utf-8">
-(function() {
- sk.WebComponentsReady.then(function() {
- var page = {};
- var fuzzes = [];
-
- page.state = {
- failed: true,
- passed: false
- };
-
- function displayFuzzes() {
- var container = $$$("#fuzzes");
- sk.clearChildren(container);
-
- fuzzes.forEach(function(c, i) {
- var s = document.createElement('fuzz-summary-sk');
- s.hash = c;
-
- container.appendChild(s);
- })
- }
-
- function loadFuzzes() {
- sk.get("{{.LoadFuzzListURL}}?"+sk.query.fromObject(page.state)).then(JSON.parse).then(function(data) {
- fuzzes = data;
- displayFuzzes();
- });
- }
-
- path = document.location.pathname;
- if (path.startsWith("/passed")) {
- page.state.failed = false;
- page.state.passed = true;
- }
-
- sk.stateReflector(page, loadFuzzes);
- });
-})();
-</script>
-
- {{template "footer.html" .}}
</body>
</html>
« no previous file with comments | « fuzzer/res/imp/fuzzer-summary-list-sk-demo.html ('k') | res/imp/9/app-sk.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698