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

Unified Diff: appengine/findit/templates/flake/result.html

Issue 2131473003: UI for the regression range test. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: dashboard and graphs for finding regression range Created 4 years, 5 months 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 | « appengine/findit/templates/flake/dashboard.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/templates/flake/result.html
diff --git a/appengine/findit/templates/flake/result.html b/appengine/findit/templates/flake/result.html
index 6b298d6e6f9b3cd3158301d1fd693845bc56471a..3da656910909206969037a351f12c2e4be6b23dc 100644
--- a/appengine/findit/templates/flake/result.html
+++ b/appengine/findit/templates/flake/result.html
@@ -1,8 +1,58 @@
<!DOCTYPE html>
<head>
- <title>Find Regression Range</title>
- <meta charset="utf-8">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title> Find Regression Range</title>
+
+<!-- lifted code from http://stackoverflow.com/questions/5563270/axis-label-in-flot -->
+
+<style type="text/css">
+body { font-family: Verdana, Arial, sans-serif; font-size: 12px; }
+#placeholder { width: 450px; height: 200px; }
+</style>
+
+<script type="text/javascript" language="javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
+<script type="text/javascript" language="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.2/jquery.flot.min.js"></script>
+<script type="text/javascript">
+
+$(document).ready(function () {
+
+$.plot($("#placeholder"), [{{success_rates}}],
+{
+grid: {
+hoverable: true,
+borderWidth: 1
+},
+legend: {
+labelBoxBorderColor: "none",
+position: "right"
+}
+}
+)});
+</script>
</head>
+
+
<body>
- <p> Your job has been submitted. </p>
+<table style="text-align:center">
+<tr>
+<td></td>
+<td> <h1> Regression range of Test </h1> </td>
+<td></td>
+</tr>
+
+<tr>
+<td> Pass Rate</td>
+<td> <div id="placeholder"></div> </td>
+<td></td>
+</tr>
+
+<tr>
+<td></td>
+<td> Build Number </td>
+<td></td>
+</tr>
+
+
+</table>
</body>
+</html>
« no previous file with comments | « appengine/findit/templates/flake/dashboard.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698