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="observatory_element.html"> | |
4 <link rel="import" href="error_view.html"> | 3 <link rel="import" href="error_view.html"> |
5 <link rel="import" href="field_ref.html"> | 4 <link rel="import" href="field_ref.html"> |
6 <link rel="import" href="instance_ref.html"> | 5 <link rel="import" href="instance_ref.html"> |
| 6 <link rel="import" href="nav_bar.html"> |
| 7 <link rel="import" href="observatory_element.html"> |
7 </head> | 8 </head> |
8 <polymer-element name="instance-view" extends="observatory-element"> | 9 <polymer-element name="instance-view" extends="observatory-element"> |
9 <template> | 10 <template> |
| 11 <nav-bar> |
| 12 <top-nav-menu></top-nav-menu> |
| 13 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI
solate() }}"> |
| 14 </isolate-nav-menu> |
| 15 <!-- TODO(turnidge): Add library nav menu here. --> |
| 16 <class-nav-menu app="{{ app }}" cls="{{ instance['class'] }}"></class-nav-
menu> |
| 17 <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu> |
| 18 <!-- TODO(turnidge): Add nav refresh here. --> |
| 19 </nav-bar> |
| 20 |
10 <div class="row"> | 21 <div class="row"> |
11 <div class="col-md-8 col-md-offset-2"> | 22 <div class="col-md-8 col-md-offset-2"> |
12 <div class="panel panel-warning"> | 23 <div class="panel panel-warning"> |
13 <div class="panel-heading"> | 24 <div class="panel-heading"> |
14 Instance of | 25 Instance of |
15 <class-ref app="{{ app }}" ref="{{ instance['class'] }}"></class-ref> | 26 <class-ref app="{{ app }}" ref="{{ instance['class'] }}"></class-ref> |
16 </div> | 27 </div> |
17 <div class="panel-body"> | 28 <div class="panel-body"> |
18 <template if="{{ instance['error'] == null }}"> | 29 <template if="{{ instance['error'] == null }}"> |
19 <table class="table table-hover"> | 30 <table class="table table-hover"> |
(...skipping 16 matching lines...) Expand all Loading... |
36 <template if="{{ instance['error'] != null }}"> | 47 <template if="{{ instance['error'] != null }}"> |
37 <error-view error_obj="{{ instance['error'] }}"></error-view> | 48 <error-view error_obj="{{ instance['error'] }}"></error-view> |
38 </template> | 49 </template> |
39 </div> | 50 </div> |
40 </div> | 51 </div> |
41 </div> | 52 </div> |
42 </div> | 53 </div> |
43 </template> | 54 </template> |
44 <script type="application/dart" src="instance_view.dart"></script> | 55 <script type="application/dart" src="instance_view.dart"></script> |
45 </polymer-element> | 56 </polymer-element> |
OLD | NEW |