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="instance_ref.html"> | 3 <link rel="import" href="instance_ref.html"> |
4 <link rel="import" href="library_ref.html"> | 4 <link rel="import" href="library_ref.html"> |
5 <link rel="import" href="nav_bar.html"> | 5 <link rel="import" href="nav_bar.html"> |
6 <link rel="import" href="script_ref.html"> | 6 <link rel="import" href="script_ref.html"> |
7 <link rel="import" href="observatory_element.html"> | 7 <link rel="import" href="observatory_element.html"> |
8 | 8 |
9 <polymer-element name="field-view" extends="observatory-element"> | 9 <polymer-element name="field-view" extends="observatory-element"> |
10 <template> | 10 <template> |
11 <link rel="stylesheet" href="css/shared.css"> | 11 <link rel="stylesheet" href="css/shared.css"> |
12 <nav-bar> | 12 <nav-bar> |
13 <top-nav-menu></top-nav-menu> | 13 <top-nav-menu></top-nav-menu> |
14 <isolate-nav-menu isolate="{{ field.isolate }}"></isolate-nav-menu> | 14 <isolate-nav-menu isolate="{{ field.isolate }}"></isolate-nav-menu> |
15 <library-nav-menu library="{{ field.library }}"></library-nav-menu> | 15 <library-nav-menu library="{{ field.library }}"></library-nav-menu> |
16 <template if="{{ field.dartOwner is ServiceClass }}"> | 16 <template if="{{ field.dartOwner is ServiceClass }}"> |
17 <class-nav-menu cls="{{ field.dartOwner }}"></class-nav-menu> | 17 <class-nav-menu cls="{{ field.dartOwner }}"></class-nav-menu> |
18 </template> | 18 </template> |
19 <nav-menu link="{{ makeLink('/inspect', field) }}" anchor="{{ field.name }
}" last="{{ true }}"></nav-menu> | 19 <nav-menu link="{{ makeLink('/inspect', field) }}" anchor="{{ field.name }
}" last="{{ true }}"></nav-menu> |
20 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 20 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
21 <nav-control></nav-control> | |
22 </nav-bar> | 21 </nav-bar> |
23 | 22 |
24 <div class="content"> | 23 <div class="content"> |
25 <h1> | 24 <h1> |
26 <template if="{{ field.isStatic }}">static</template> | 25 <template if="{{ field.isStatic }}">static</template> |
27 <template if="{{ field.isFinal }}">final</template> | 26 <template if="{{ field.isFinal }}">final</template> |
28 <template if="{{ field.isConst }}">const</template> | 27 <template if="{{ field.isConst }}">const</template> |
29 <template if="{{ (field.declaredType.name == 'dynamic' && | 28 <template if="{{ (field.declaredType.name == 'dynamic' && |
30 !field.isFinal && !field.isConst) }}"> | 29 !field.isFinal && !field.isConst) }}"> |
31 var | 30 var |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 <any-service-ref ref="{{ field.value }}"></any-service-ref> | 78 <any-service-ref ref="{{ field.value }}"></any-service-ref> |
80 </div> | 79 </div> |
81 </div> | 80 </div> |
82 </template> | 81 </template> |
83 </div> | 82 </div> |
84 </div> | 83 </div> |
85 </template> | 84 </template> |
86 </polymer-element> | 85 </polymer-element> |
87 | 86 |
88 <script type="application/dart" src="field_view.dart"></script> | 87 <script type="application/dart" src="field_view.dart"></script> |
OLD | NEW |