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

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

Issue 2195473002: [Findit] Dashboards and graph for regression range (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: addressed comments 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
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..27c755e3004e10846fc63fd3306313bab3d70070 100644
--- a/appengine/findit/templates/flake/result.html
+++ b/appengine/findit/templates/flake/result.html
@@ -1,8 +1,59 @@
<!DOCTYPE html>
<head>
- <title>Find Regression Range</title>
- <meta charset="utf-8">
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
chanli 2016/08/01 20:42:04 If I remember right, other html files are using ut
caiw 2016/08/02 00:20:38 Done.
+ <title> Find Regression Range</title>
+ <style type="text/css">
+ body {
+ font-family: Verdana, Arial, sans-serif; font-size: 12px;
chanli 2016/08/01 20:42:04 Place font-size to a separated line
caiw 2016/08/02 00:20:38 Done.
+ }
+ #placeholder {
+ width: 450px; height: 200px;
lijeffrey 2016/08/01 20:54:17 nit: Indentation should have 2 spaces #placeholde
caiw 2016/08/02 00:20:38 Done.
+ }
+ table {
+ text-align: center;
+ }
+ </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>
+ <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>

Powered by Google App Engine
This is Rietveld 408576698