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="action_link.html"> | 2 <link rel="import" href="action_link.html"> |
3 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
4 | 4 |
5 <polymer-element name="nav-bar" extends="observatory-element"> | 5 <polymer-element name="nav-bar" 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 nav { | 9 nav { |
10 position: fixed; | 10 position: fixed; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 <polymer-element name="top-nav-menu"> | 171 <polymer-element name="top-nav-menu"> |
172 <template> | 172 <template> |
173 <nav-menu link="/vm" anchor="Observatory" last="{{ last }}"> | 173 <nav-menu link="/vm" anchor="Observatory" last="{{ last }}"> |
174 <nav-menu-item link="/vm-connect" anchor="Connect to a different VM"></nav
-menu-item> | 174 <nav-menu-item link="/vm-connect" anchor="Connect to a different VM"></nav
-menu-item> |
175 <content></content> | 175 <content></content> |
176 </nav-menu> | 176 </nav-menu> |
177 </template> | 177 </template> |
178 </polymer-element> | 178 </polymer-element> |
179 | 179 |
| 180 <polymer-element name="vm-nav-menu"> |
| 181 <template> |
| 182 <nav-menu link="/vm" anchor="{{ vm.target.name }}" last="{{ last }}"> |
| 183 <template repeat="{{ isolate in vm.isolates }}"> |
| 184 <nav-menu-item link="{{ makeLink('/inspect', isolate) }}" |
| 185 anchor="{{ isolate.name }}"></nav-menu-item> |
| 186 </template> |
| 187 <content></content> |
| 188 </nav-menu> |
| 189 </template> |
| 190 </polymer-element> |
| 191 |
180 <polymer-element name="isolate-nav-menu" extends="observatory-element"> | 192 <polymer-element name="isolate-nav-menu" extends="observatory-element"> |
181 <template> | 193 <template> |
182 <nav-menu link="{{ makeLink('/inspect', isolate) }}" anchor="{{ isolate.name
}}" last="{{ last }}"> | 194 <nav-menu link="{{ makeLink('/inspect', isolate) }}" anchor="{{ isolate.name
}}" last="{{ last }}"> |
183 <nav-menu-item link="{{ makeLink('/debugger', isolate) }}" | 195 <nav-menu-item link="{{ makeLink('/debugger', isolate) }}" |
184 anchor="debugger"></nav-menu-item> | 196 anchor="debugger"></nav-menu-item> |
185 <nav-menu-item link="{{ makeLink('/profiler', isolate) }}" | 197 <nav-menu-item link="{{ makeLink('/profiler', isolate) }}" |
186 anchor="cpu profile"></nav-menu-item> | 198 anchor="cpu profile"></nav-menu-item> |
187 <nav-menu-item link="{{ makeLink('/allocation-profiler', isolate) }}" | 199 <nav-menu-item link="{{ makeLink('/allocation-profiler', isolate) }}" |
188 anchor="allocation profile"></nav-menu-item> | 200 anchor="allocation profile"></nav-menu-item> |
189 <nav-menu-item link="{{ makeLink('/heap-map', isolate) }}" | 201 <nav-menu-item link="{{ makeLink('/heap-map', isolate) }}" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 Disconnected from VM | 331 Disconnected from VM |
320 <br><br> | 332 <br><br> |
321 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 333 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
322 </div> | 334 </div> |
323 </template> | 335 </template> |
324 </template> | 336 </template> |
325 </polymer-element> | 337 </polymer-element> |
326 | 338 |
327 | 339 |
328 <script type="application/dart" src="nav_bar.dart"></script> | 340 <script type="application/dart" src="nav_bar.dart"></script> |
OLD | NEW |