| OLD | NEW |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 2 <link rel="import" href="nav_bar.html"> | 2 <link rel="import" href="nav_bar.html"> |
| 3 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
| 4 | 4 |
| 5 <polymer-element name="metrics-page" extends="observatory-element"> | 5 <polymer-element name="metrics-page" extends="observatory-element"> |
| 6 <template> | 6 <template> |
| 7 <link rel="stylesheet" href="css/shared.css"> | 7 <link rel="stylesheet" href="css/shared.css"> |
| 8 <style> | 8 <style> |
| 9 ul li:hover:not(.selected) { | 9 ul li:hover:not(.selected) { |
| 10 background-color: #FFF3E3; | 10 background-color: #FFF3E3; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 <li class="selected"> | 29 <li class="selected"> |
| 30 {{ metric.name }} | 30 {{ metric.name }} |
| 31 </li> | 31 </li> |
| 32 </template> | 32 </template> |
| 33 <template if="{{ metric != selectedMetric }}"> | 33 <template if="{{ metric != selectedMetric }}"> |
| 34 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}"> | 34 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}"> |
| 35 {{ metric.name }} | 35 {{ metric.name }} |
| 36 </li> | 36 </li> |
| 37 </template> | 37 </template> |
| 38 </template> | 38 </template> |
| 39 <template repeat="{{ metric in isolate.vmMetrics.values }}"> | 39 <template repeat="{{ metric in isolate.nativeMetrics.values }}"> |
| 40 <template if="{{ metric == selectedMetric }}"> | 40 <template if="{{ metric == selectedMetric }}"> |
| 41 <li class="selected"> | 41 <li class="selected"> |
| 42 {{ metric.name }} | 42 {{ metric.name }} |
| 43 </li> | 43 </li> |
| 44 </template> | 44 </template> |
| 45 <template if="{{ metric != selectedMetric }}"> | 45 <template if="{{ metric != selectedMetric }}"> |
| 46 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}"> | 46 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}"> |
| 47 {{ metric.name }} | 47 {{ metric.name }} |
| 48 </li> | 48 </li> |
| 49 </template> | 49 </template> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 .graph { | 128 .graph { |
| 129 min-height: 600px; | 129 min-height: 600px; |
| 130 } | 130 } |
| 131 </style> | 131 </style> |
| 132 <div id="graph" class="graph"> | 132 <div id="graph" class="graph"> |
| 133 </div> | 133 </div> |
| 134 </template> | 134 </template> |
| 135 </polymer-element> | 135 </polymer-element> |
| 136 | 136 |
| 137 <script type="application/dart" src="metrics.dart"></script> | 137 <script type="application/dart" src="metrics.dart"></script> |
| OLD | NEW |