| OLD | NEW |
| 1 <head> | 1 <head> |
| 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="instance_ref.html"> | 8 <link rel="import" href="instance_ref.html"> |
| 9 <link rel="import" href="observatory_element.html"> | 9 <link rel="import" href="observatory_element.html"> |
| 10 <link rel="import" href="nav_bar.html"> | 10 <link rel="import" href="nav_bar.html"> |
| 11 </head> | 11 </head> |
| 12 <polymer-element name="instance-view" extends="observatory-element"> | 12 <polymer-element name="instance-view" extends="observatory-element"> |
| 13 <template> | 13 <template> |
| 14 <link rel="stylesheet" href="css/shared.css"> | 14 <link rel="stylesheet" href="css/shared.css"> |
| 15 <nav-bar> | 15 <nav-bar> |
| 16 <top-nav-menu></top-nav-menu> | 16 <top-nav-menu></top-nav-menu> |
| 17 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> | 17 <isolate-nav-menu isolate="{{ instance.isolate }}"></isolate-nav-menu> |
| 18 <!-- TODO(turnidge): Add library nav menu here. --> | 18 <!-- TODO(turnidge): Add library nav menu here. --> |
| 19 <class-nav-menu cls="{{ instance['class'] }}"></class-nav-menu> | 19 <class-nav-menu cls="{{ instance['class'] }}"></class-nav-menu> |
| 20 <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu> | 20 <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu> |
| 21 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 21 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 22 <nav-control></nav-control> |
| 22 </nav-bar> | 23 </nav-bar> |
| 23 | 24 |
| 24 <template if="{{ instance['error'] != null }}"> | 25 <template if="{{ instance['error'] != null }}"> |
| 25 <error-view error_obj="{{ instance['error'] }}"></error-view> | 26 <error-view error_obj="{{ instance['error'] }}"></error-view> |
| 26 </template> | 27 </template> |
| 27 | 28 |
| 28 <template if="{{ instance['error'] == null }}"> | 29 <template if="{{ instance['error'] == null }}"> |
| 29 <div class="content"> | 30 <div class="content"> |
| 30 <!-- TODO(turnidge): Handle null instances. --> | 31 <!-- TODO(turnidge): Handle null instances. --> |
| 31 <template if="{{ isType(instance.serviceType) }}"> | 32 <template if="{{ isType(instance.serviceType) }}"> |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 <div class="content"> | 178 <div class="content"> |
| 178 <eval-box callback="{{ eval }}"></eval-box> | 179 <eval-box callback="{{ eval }}"></eval-box> |
| 179 </div> | 180 </div> |
| 180 <br><br><br><br> | 181 <br><br><br><br> |
| 181 <br><br><br><br> | 182 <br><br><br><br> |
| 182 | 183 |
| 183 </template> | 184 </template> |
| 184 </template> | 185 </template> |
| 185 <script type="application/dart" src="instance_view.dart"></script> | 186 <script type="application/dart" src="instance_view.dart"></script> |
| 186 </polymer-element> | 187 </polymer-element> |
| OLD | NEW |