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="class_ref.html"> | 2 <link rel="import" href="class_ref.html"> |
3 <link rel="import" href="error_view.html"> | 3 <link rel="import" href="error_view.html"> |
4 <link rel="import" href="eval_box.html"> | 4 <link rel="import" href="eval_box.html"> |
5 <link rel="import" href="eval_link.html"> | 5 <link rel="import" href="eval_link.html"> |
6 <link rel="import" href="field_ref.html"> | 6 <link rel="import" href="field_ref.html"> |
7 <link rel="import" href="function_ref.html"> | 7 <link rel="import" href="function_ref.html"> |
8 <link rel="import" href="inbound_reference.html"> | 8 <link rel="import" href="inbound_reference.html"> |
9 <link rel="import" href="instance_ref.html"> | 9 <link rel="import" href="instance_ref.html"> |
10 <link rel="import" href="observatory_element.html"> | 10 <link rel="import" href="observatory_element.html"> |
11 <link rel="import" href="nav_bar.html"> | |
12 <link rel="import" href="object_common.html"> | 11 <link rel="import" href="object_common.html"> |
13 <link rel="import" href="context_ref.html"> | 12 <link rel="import" href="context_ref.html"> |
14 <link rel="import" href="view_footer.html"> | |
15 | 13 |
16 <polymer-element name="instance-view" extends="observatory-element"> | 14 <polymer-element name="instance-view" extends="observatory-element"> |
17 <template> | 15 <template> |
18 <link rel="stylesheet" href="css/shared.css"> | 16 <link rel="stylesheet" href="css/shared.css"> |
19 <nav-bar> | 17 <nav-bar> |
20 <top-nav-menu></top-nav-menu> | 18 <top-nav-menu></top-nav-menu> |
21 <vm-nav-menu vm="{{ instance.isolate.vm }}"></vm-nav-menu> | 19 <vm-nav-menu vm="{{ instance.isolate.vm }}"></vm-nav-menu> |
22 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> | 20 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> |
23 <!-- TODO(turnidge): Add library nav menu here. --> | 21 <!-- TODO(turnidge): Add library nav menu here. --> |
24 <class-nav-menu cls="{{ instance.clazz }}"></class-nav-menu> | 22 <class-nav-menu cls="{{ instance.clazz }}"></class-nav-menu> |
25 <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu> | 23 <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu> |
26 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 24 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 25 <nav-notify notifications="{{ app.notifications }}"></nav-notify> |
27 </nav-bar> | 26 </nav-bar> |
28 | 27 |
29 <template if="{{ instance.isError }}"> | 28 <template if="{{ instance.isError }}"> |
30 <error-view error_obj="{{ instance['error'] }}"></error-view> | 29 <error-view error_obj="{{ instance['error'] }}"></error-view> |
31 </template> | 30 </template> |
32 | 31 |
33 <template if="{{ !instance.isError }}"> | 32 <template if="{{ !instance.isError }}"> |
34 <div class="content"> | 33 <div class="content"> |
35 <template if="{{ instance.isAbstractType }}"> | 34 <template if="{{ instance.isAbstractType }}"> |
36 <h1>type {{ instance.name }}</h1> | 35 <h1>type {{ instance.name }}</h1> |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 <source-inset location="{{ instance.typeClass.location }}"></source-in
set> | 372 <source-inset location="{{ instance.typeClass.location }}"></source-in
set> |
374 </template> | 373 </template> |
375 </div> | 374 </div> |
376 | 375 |
377 </template> | 376 </template> |
378 <view-footer></view-footer> | 377 <view-footer></view-footer> |
379 </template> | 378 </template> |
380 </polymer-element> | 379 </polymer-element> |
381 | 380 |
382 <script type="application/dart" src="instance_view.dart"></script> | 381 <script type="application/dart" src="instance_view.dart"></script> |
OLD | NEW |