| 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"> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 <nav-control></nav-control> | 23 <nav-control></nav-control> |
| 24 </nav-bar> | 24 </nav-bar> |
| 25 | 25 |
| 26 <template if="{{ instance['error'] != null }}"> | 26 <template if="{{ instance['error'] != null }}"> |
| 27 <error-view error_obj="{{ instance['error'] }}"></error-view> | 27 <error-view error_obj="{{ instance['error'] }}"></error-view> |
| 28 </template> | 28 </template> |
| 29 | 29 |
| 30 <template if="{{ instance['error'] == null }}"> | 30 <template if="{{ instance['error'] == null }}"> |
| 31 <div class="content"> | 31 <div class="content"> |
| 32 <!-- TODO(turnidge): Handle null instances. --> | 32 <!-- TODO(turnidge): Handle null instances. --> |
| 33 <template if="{{ isType(instance.serviceType) }}"> | 33 <template if="{{ isType(instance) }}"> |
| 34 <h1>type {{ instance['user_name'] }}</h1> | 34 <h1>type {{ instance.name }}</h1> |
| 35 </template> | 35 </template> |
| 36 <template if="{{ !isType(instance.serviceType) }}"> | 36 <template if="{{ !isType(instance) }}"> |
| 37 <h1>instance of {{ instance['class']['user_name'] }}</h1> | 37 <h1>instance of {{ instance['class'].name }}</h1> |
| 38 </template> | 38 </template> |
| 39 <div class="memberList"> | 39 <div class="memberList"> |
| 40 <div class="memberItem"> | 40 <div class="memberItem"> |
| 41 <div class="memberName">class</div> | 41 <div class="memberName">class</div> |
| 42 <div class="memberValue"> | 42 <div class="memberValue"> |
| 43 <class-ref ref="{{ instance['class'] }}"> | 43 <class-ref ref="{{ instance['class'] }}"> |
| 44 </class-ref> | 44 </class-ref> |
| 45 </div> | 45 </div> |
| 46 </div> | 46 </div> |
| 47 <template if="{{ instance['valueAsString'] != null }}"> | 47 <template if="{{ instance['valueAsString'] != null }}"> |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 <div class="content"> | 206 <div class="content"> |
| 207 <eval-box callback="{{ eval }}"></eval-box> | 207 <eval-box callback="{{ eval }}"></eval-box> |
| 208 </div> | 208 </div> |
| 209 <br><br><br><br> | 209 <br><br><br><br> |
| 210 <br><br><br><br> | 210 <br><br><br><br> |
| 211 | 211 |
| 212 </template> | 212 </template> |
| 213 </template> | 213 </template> |
| 214 </polymer-element> | 214 </polymer-element> |
| 215 | 215 |
| 216 <script type="application/dart" src="instance_view.dart"></script> | 216 <script type="application/dart" src="instance_view.dart"></script> |
| OLD | NEW |