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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 <nav-menu link="/vm" anchor="{{ nameAndAddress(vm.name, vm.target) }}" last=
"{{ last }}"> | 49 <nav-menu link="/vm" anchor="{{ nameAndAddress(vm.name, vm.target) }}" last=
"{{ last }}"> |
50 <template repeat="{{ isolate in vm.isolates }}"> | 50 <template repeat="{{ isolate in vm.isolates }}"> |
51 <nav-menu-item link="{{ makeLink('/inspect', isolate) }}" | 51 <nav-menu-item link="{{ makeLink('/inspect', isolate) }}" |
52 anchor="{{ isolate.name }}"></nav-menu-item> | 52 anchor="{{ isolate.name }}"></nav-menu-item> |
53 </template> | 53 </template> |
54 <content></content> | 54 <content></content> |
55 </nav-menu> | 55 </nav-menu> |
56 </template> | 56 </template> |
57 </polymer-element> | 57 </polymer-element> |
58 | 58 |
59 <polymer-element name="isolate-nav-menu" extends="observatory-element"> | |
60 <template> | |
61 <nav-menu link="{{ makeLink('/inspect', isolate) }}" anchor="{{ isolate.name
}}" last="{{ last }}"> | |
62 <nav-menu-item link="{{ makeLink('/debugger', isolate) }}" | |
63 anchor="debugger"></nav-menu-item> | |
64 <nav-menu-item link="{{ makeLink('/class-tree', isolate) }}" | |
65 anchor="class hierarchy"></nav-menu-item> | |
66 <nav-menu-item link="{{ makeLink('/profiler', isolate) }}" | |
67 anchor="cpu profile"></nav-menu-item> | |
68 <nav-menu-item link="{{ makeLink('/profiler-table', isolate) }}" | |
69 anchor="cpu profile (table)"></nav-menu-item> | |
70 <nav-menu-item link="{{ makeLink('/allocation-profiler', isolate) }}" | |
71 anchor="allocation profile"></nav-menu-item> | |
72 <nav-menu-item link="{{ makeLink('/heap-map', isolate) }}" | |
73 anchor="heap map"></nav-menu-item> | |
74 <nav-menu-item link="{{ makeLink('/metrics', isolate) }}" | |
75 anchor="metrics"></nav-menu-item> | |
76 <nav-menu-item link="{{ makeLink('/heap-snapshot', isolate) }}" | |
77 anchor="heap snapshot"></nav-menu-item> | |
78 <nav-menu-item link="{{ makeLink('/persistent-handles', isolate) }}" | |
79 anchor="persistent handles"></nav-menu-item> | |
80 <nav-menu-item link="{{ makeLink('/ports', isolate) }}" | |
81 anchor="ports"></nav-menu-item> | |
82 <nav-menu-item link="{{ makeLink('/logging', isolate) }}" | |
83 anchor="logging"></nav-menu-item> | |
84 <content></content> | |
85 </nav-menu> | |
86 </template> | |
87 </polymer-element> | |
88 | |
89 <polymer-element name="library-nav-menu" extends="observatory-element"> | 59 <polymer-element name="library-nav-menu" extends="observatory-element"> |
90 <template> | 60 <template> |
91 <nav-menu link="{{ makeLink('/inspect', library) }}" | 61 <nav-menu link="{{ makeLink('/inspect', library) }}" |
92 anchor="{{ library.name }}" last="{{ last }}"> | 62 anchor="{{ library.name }}" last="{{ last }}"> |
93 <content></content> | 63 <content></content> |
94 </nav-menu> | 64 </nav-menu> |
95 </template> | 65 </template> |
96 </polymer-element> | 66 </polymer-element> |
97 | 67 |
98 <polymer-element name="class-nav-menu" extends="observatory-element"> | 68 <polymer-element name="class-nav-menu" extends="observatory-element"> |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 [<a class="link" on-click="{{ goto }}" | 315 [<a class="link" on-click="{{ goto }}" |
346 _href="{{ gotoLink('vm-connect') }}">Connect to a different VM</a>] | 316 _href="{{ gotoLink('vm-connect') }}">Connect to a different VM</a>] |
347 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 317 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
348 </div> | 318 </div> |
349 </template> | 319 </template> |
350 </template> | 320 </template> |
351 </polymer-element> | 321 </polymer-element> |
352 | 322 |
353 | 323 |
354 <script type="application/dart" src="nav_bar.dart"></script> | 324 <script type="application/dart" src="nav_bar.dart"></script> |
OLD | NEW |