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

Side by Side Diff: chrome/test/data/extensions/samples/buildbot/buildbot.html

Issue 100182: Fix race where sometimes CSS is not applied to toolstrips. I (Closed)
Patch Set: Merged Created 11 years, 7 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 unified diff | Download patch
OLDNEW
1 <script> 1 <script>
2 2
3 var botRoot = "http://build.chromium.org/buildbot/waterfall"; 3 var botRoot = "http://build.chromium.org/buildbot/waterfall";
4 4
5 var botUrl = botRoot + "/horizontal_one_box_per_builder"; 5 var botUrl = botRoot + "/horizontal_one_box_per_builder";
6 6
7 function updateStatus(status) { 7 function updateStatus(status) {
8 var div = document.getElementById("status"); 8 var div = document.getElementById("status");
9 div.title = status; 9 div.title = status;
10 var open = /open/i; 10 var open = /open/i;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 setTimeout(requestStatus, 30000); 51 setTimeout(requestStatus, 30000);
52 } 52 }
53 53
54 function statusClick() { 54 function statusClick() {
55 window.open(botRoot); 55 window.open(botRoot);
56 } 56 }
57 57
58 requestStatus(); 58 requestStatus();
59 </script> 59 </script>
60 <link rel="stylesheet" type="text/css" href="extensions_toolstrip.css">
61 <style> 60 <style>
62 .open { 61 .open {
63 color: green; 62 color: green;
64 } 63 }
65 64
66 .closed { 65 .closed {
67 color: red; 66 color: red;
68 } 67 }
69 68
70 #bots { 69 #bots {
(...skipping 16 matching lines...) Expand all
87 86
88 </style> 87 </style>
89 88
90 <div class="toolstrip-button" onclick="statusClick();"> 89 <div class="toolstrip-button" onclick="statusClick();">
91 <span id="status" class="open">tree: open?</span> 90 <span id="status" class="open">tree: open?</span>
92 </div> 91 </div>
93 92
94 <div id="frame-wrapper"> 93 <div id="frame-wrapper">
95 <iframe scrolling='no' id='bots' src="http://build.chromium.org/buildbot/waterfa ll/horizontal_one_box_per_builder"></iframe> 94 <iframe scrolling='no' id='bots' src="http://build.chromium.org/buildbot/waterfa ll/horizontal_one_box_per_builder"></iframe>
96 </div> 95 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698