OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="code_ref.html"> | 2 <link rel="import" href="code_ref.html"> |
| 3 <link rel="import" href="nav_bar.html"> |
3 <link rel="import" href="observatory_element.html"> | 4 <link rel="import" href="observatory_element.html"> |
4 </head> | 5 </head> |
5 <polymer-element name="isolate-profile" extends="observatory-element"> | 6 <polymer-element name="isolate-profile" extends="observatory-element"> |
6 <template> | 7 <template> |
| 8 <nav-bar> |
| 9 <top-nav-menu></top-nav-menu> |
| 10 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI
solate() }}"> |
| 11 </isolate-nav-menu> |
| 12 <nav-menu link="." anchor="cpu profile" last="{{ true }}"></nav-menu> |
| 13 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 14 </nav-bar> |
| 15 |
7 <div> | 16 <div> |
8 <button type="button" on-click="{{refreshData}}">Refresh profile data</but
ton> | |
9 <span>Top</span> | 17 <span>Top</span> |
10 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth
odCountSelected]}}"> | 18 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth
odCountSelected]}}"> |
11 <option template repeat="{{count in methodCounts}}">{{count}}</option> | 19 <option template repeat="{{count in methodCounts}}">{{count}}</option> |
12 </select> | 20 </select> |
13 <span>exclusive methods</span> | 21 <span>exclusive methods</span> |
14 </div> | 22 </div> |
15 <table id="tableTree" class="table table-hover"> | 23 <table id="tableTree" class="table table-hover"> |
16 <thead> | 24 <thead> |
17 <tr> | 25 <tr> |
18 <th>Method</th> | 26 <th>Method</th> |
(...skipping 11 matching lines...) Expand all Loading... |
30 </td> | 38 </td> |
31 <td class="{{ coloring(row) }}">{{row.columns[0]}}</td> | 39 <td class="{{ coloring(row) }}">{{row.columns[0]}}</td> |
32 <td class="{{ coloring(row) }}">{{row.columns[1]}}</td> | 40 <td class="{{ coloring(row) }}">{{row.columns[1]}}</td> |
33 <td class="{{ coloring(row) }}">{{row.columns[2]}}</td> | 41 <td class="{{ coloring(row) }}">{{row.columns[2]}}</td> |
34 </tr> | 42 </tr> |
35 </tbody> | 43 </tbody> |
36 </table> | 44 </table> |
37 </template> | 45 </template> |
38 <script type="application/dart" src="isolate_profile.dart"></script> | 46 <script type="application/dart" src="isolate_profile.dart"></script> |
39 </polymer-element> | 47 </polymer-element> |
OLD | NEW |