Changeset 90674 in webkit
- Timestamp:
- Jul 8, 2011 5:02:07 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 14 added
- 4 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90672 r90674 1 2011-07-08 Ojan Vafai <ojan@chromium.org> 2 3 pull static dashboard files into the appengine server from the chromium repository 4 https://bugs.webkit.org/show_bug.cgi?id=64208 5 6 Reviewed by Dirk Pranke. 7 8 These files belong in the WebKit repo since they are tied primarily to the webkit tests. 9 They have some extra bits to support chromium's gtests, but that seems fine. 10 Mainly, this will allow other WebKit hackers to hack on the dashboards. 11 12 As a nice side-effect, we can now push the dashboard files when we do appengine pushes 13 instead of the weird thing we used to do of pulling them from the Chromium repository 14 and storing them in the appengine datastore. This allows for cleaning up a lot of code 15 and will likely make the dashboards load a bit faster. 16 17 The new JS files don't fully match WebKit style, but I'd like to clean that up in a 18 followup patch if possible to maintain my sanity with this patch. 19 20 * TestResultServer/app.yaml: 21 * TestResultServer/handlers/dashboardhandler.py: Removed. 22 * TestResultServer/handlers/menu.py: 23 * TestResultServer/main.py: 24 * TestResultServer/model/dashboardfile.py: Removed. 25 * TestResultServer/static-dashboards/LICENSE.dygraph.txt: Added. 26 * TestResultServer/static-dashboards/README.dygraph.txt: Added. 27 * TestResultServer/static-dashboards/README.webtreemap.txt: Added. 28 * TestResultServer/static-dashboards/aggregate_results.html: Added. 29 * TestResultServer/static-dashboards/builders.js: Added. 30 * TestResultServer/static-dashboards/dashboard_base.js: Added. 31 * TestResultServer/static-dashboards/dygraph-combined.js: Added. 32 * TestResultServer/static-dashboards/flakiness_dashboard.html: Added. 33 * TestResultServer/static-dashboards/flakiness_dashboard_tests.js: Added. 34 * TestResultServer/static-dashboards/timeline_explorer.html: Added. 35 * TestResultServer/static-dashboards/treemap.html: Added. 36 * TestResultServer/static-dashboards/webtreemap.css: Added. 37 * TestResultServer/static-dashboards/webtreemap.js: Added. 38 * TestResultServer/stylesheets/dashboardfile.css: Removed. 39 * TestResultServer/stylesheets/menu.css: 40 * TestResultServer/templates/dashboardfilelist.html: Removed. 41 * TestResultServer/templates/menu.html: 42 1 43 2011-07-08 Adam Roben <aroben@apple.com> 2 44 -
trunk/Tools/TestResultServer/app.yaml
r56635 r90674 8 8 static_dir: stylesheets 9 9 10 - url: /dashboards 11 static_dir: static-dashboards 12 10 13 - url: /testfile/delete 11 script: main.py12 login: admin13 14 - url: /dashboards/delete15 14 script: main.py 16 15 login: admin -
trunk/Tools/TestResultServer/handlers/menu.py
r64687 r90674 31 31 from google.appengine.ext.webapp import template 32 32 33 dashboards = [ 34 ["Results", "/dashboards/flakiness_dashboard.html"], 35 ["Timeline", "/dashboards/timeline_explorer.html"], 36 ["Treemap", "/dashboards/treemap.html"], 37 ["Stats", "/dashboards/aggregate_results.html"], 38 ] 39 33 40 menu = [ 34 41 ["List of test files", "/testfile"], … … 36 43 ["List of expectations.json files", "/testfile?name=expectations.json"], 37 44 ["Upload test file", "/testfile/uploadform"], 38 ["List of dashboard files", "/dashboards/"],39 ["Update dashboard files", "/dashboards/update"],40 45 ] 41 46 … … 58 63 "login_url": login_url, 59 64 "menu": menu, 65 "dashboards": dashboards, 60 66 } 61 67 -
trunk/Tools/TestResultServer/main.py
r64687 r90674 34 34 from google.appengine.ext.webapp.util import run_wsgi_app 35 35 36 from handlers import dashboardhandler37 36 from handlers import menu 38 37 from handlers import testfilehandler 39 38 40 39 routes = [ 41 ('/dashboards/delete', dashboardhandler.DeleteDashboardFile),42 ('/dashboards/update', dashboardhandler.UpdateDashboardFile),43 ('/dashboards/([^?]+)?', dashboardhandler.GetDashboardFile),44 40 ('/testfile/delete', testfilehandler.DeleteFile), 45 41 ('/testfile/upload', testfilehandler.Upload), -
trunk/Tools/TestResultServer/stylesheets/menu.css
r56753 r90674 2 2 font-family: Verdana, Helvetica, sans-serif; 3 3 } 4 h1 {5 background-color: #EEE;6 color: #444;7 font-size: 14pt;8 font-style: italic;9 margin: 0px;10 padding: 5px;11 }12 4 ul { 13 margin: 0px;14 padding: 20px;15 5 list-style: none; 16 6 } 17 7 li { 18 padding: 5px ;8 padding: 5px 0; 19 9 } 20 li:hover {21 background-color: #EEE;22 }23 .login {24 font-size: 8pt;25 text-align: right;26 width: 100%;27 }28 -
trunk/Tools/TestResultServer/templates/menu.html
r56753 r90674 3 3 <head> 4 4 <title>Test Result Server</title> 5 <table class=login>6 <tr>7 <td>8 {% if user_email %}9 <span>{{ user_email }}</span>10 {% endif %}11 <span><a href="{{ login_url }}">{{ login_text }}</a></span>12 </td>13 </tr>14 </table>15 5 <link type="text/css" rel="stylesheet" href="/stylesheets/menu.css" /> 16 6 </head> 17 7 <body> 18 8 <h1>Test Result Server</h1> 9 10 <div class=login> 11 {% if user_email %} 12 <span>{{ user_email }}</span> 13 {% endif %} 14 <span><a href="{{ login_url }}">{{ login_text }}</a></span> 15 </div> 16 17 <h2>Dashboards</h2> 18 <div> 19 <ul>{% for title,link in dashboards %} 20 <li> 21 <a href="{{ link }}" >{{ title }}</a> 22 </li>{% endfor %} 23 </ul> 24 </div> 25 26 <h2>JSON files</h2> 19 27 <div> 20 28 <ul>{% for title,link in menu %}
Note: See TracChangeset
for help on using the changeset viewer.