Index: chrome_release_test_status/war/benchmarks.jsp |
=================================================================== |
--- chrome_release_test_status/war/benchmarks.jsp (revision 0) |
+++ chrome_release_test_status/war/benchmarks.jsp (revision 0) |
@@ -0,0 +1,126 @@ |
+<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
+<%@ page import="java.util.List" %> |
+<%@ page import="javax.jdo.PersistenceManager" %> |
+<%@ page import="com.google.appengine.api.users.User" %> |
+<%@ page import="com.google.appengine.api.users.UserService" %> |
+<%@ page import="com.google.appengine.api.users.UserServiceFactory" %> |
+<%@ page import="mydemo.BuildInfo" %> |
+<%@ page import="mydemo.TestStatus" %> |
+<%@ page import="mydemo.RegisterFeature" %> |
+<%@ page import="mydemo.PMF" %> |
+ |
+<html> |
+<Head> |
+<style> |
+body |
+{ |
+background-color:#d0e4fe; |
+font-family: tims, cursive, serif; |
+} |
+ |
+.mytable { |
+ border: 1px solid #CCC; |
+ font-size: 20px; |
+ |
+} |
+ |
+.fitrow { |
+background-color:#F4F4F4; |
+height:20px; |
+} |
+ |
+</style> |
+<style> |
+ |
+ |
+ul#list-nav li { |
+display:inline; |
+} |
+ |
+ul#list-nav li a { |
+text-decoration:none; |
+padding:5px 5px 5px 5px; |
+background:9966ff; |
+color:#eee; |
+float:left; |
+text-align:center; |
+border-left:1px solid #fff; |
+} |
+ |
+ul#list-nav li a:hover { |
+background:9999ff; |
+color:#000 |
+} |
+ |
+ |
+</style> |
+<script> |
+var selected_val1 = 0; |
+function addRow(selected_val) { |
+ |
+ |
+ var s = "/TestingStatus-query.jsp?buildn=" + selected_val ; |
+ window.location= s; |
+ |
+} |
+ |
+</script> |
+ |
+ |
+ |
+ |
+</head> |
+<BODY style="background:CCCCFF;font-family:BOOK ANTIQUA"> |
+<H2 align=center><font color="background:9900CC"> Chrome Release testing dashboard </font></h2> |
+ |
+<table align=center width="1000"> |
+<tr> |
+<td> |
+<ul id="list-nav" id="mainnav" > |
+<li><a href="registerfeature.jsp"> Register new feature </a> |
+<li><a href="calendar.jsp">Calendar</a></li> |
+ |
+<li><a href="SubmitStatus-Windows.jsp"> Submit Status </a></li> |
+<li><a href="TestingStatus-query.jsp"> View Status </a></li> |
+<li><a href="Release-blockers.jsp"> Release blockers </a></li> |
+<li><a href="benchmarks.jsp"> Benckmark results</a></li> |
+<li><a href="cl_notes.jsp"> CL notes </a></li> |
+<li><a href="stability.jsp"> Stability</a></li> |
+</ul> |
+</td> |
+</tr> |
+</table> |
+ |
+<% |
+ PersistenceManager pm1 = PMF.get().getPersistenceManager(); |
+ String query1 = "select from " + BuildInfo.class.getName(); |
+ List<BuildInfo> build_val = (List<BuildInfo>) pm1.newQuery(query1).execute(); |
+%> |
+ |
+ |
+<form id='mainForm1' action="" method="post"> |
+ |
+ <table align=center style=" width:50%; height:50%"><tr><td align=center>Pick a build: <select name="buildn" id="buildn" onChange="addRow(this.options[selectedIndex].text);"> |
+ <option value="Pick a build" selected>Pick a build |
+ <% for (BuildInfo g : build_val) { %> |
+ <option value=<%= g.getBuildNumber() %>><%= g.getBuildNumber() %> |
+ <% } %> |
+ </select> |
+ Pick a Channel: |
+<select name="channel" onChange="addRow(this.options[selectedIndex].text);"> |
+<option value="Stable">Stable |
+<option value="Bets">Beta |
+<option value="Dev">Dev |
+</select> |
+ |
+</td></tr> |
+<tr><td style=" height:100%; width:100%;"><iframe id="12" scrolling="auto" src="https://spreadsheets.google.com/ccc?key=0AtRMA74fgW9BdFRHSlNXdWxtVFJVcHMtTXl3RFJzSXc&hl=en" style="border:1px solid green; width:100%; height:100%;" /> |
+</tr></td></table> |
+</form> |
+ |
+ |
+ |
+ |
+ |
+</body> |
+</html> |