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="field_ref.html"> | 3 <link rel="import" href="field_ref.html"> |
4 <link rel="import" href="function_ref.html"> | 4 <link rel="import" href="function_ref.html"> |
5 <link rel="import" href="instance_ref.html"> | 5 <link rel="import" href="instance_ref.html"> |
6 <link rel="import" href="library_ref.html"> | 6 <link rel="import" href="library_ref.html"> |
| 7 <link rel="import" href="nav_bar.html"> |
7 <link rel="import" href="observatory_element.html"> | 8 <link rel="import" href="observatory_element.html"> |
8 <link rel="import" href="script_ref.html"> | 9 <link rel="import" href="script_ref.html"> |
9 </head> | 10 </head> |
10 <polymer-element name="library-view" extends="observatory-element"> | 11 <polymer-element name="library-view" extends="observatory-element"> |
11 <template> | 12 <template> |
12 <div class="alert alert-success">Library {{ library['name'] }}</div> | 13 <nav-bar> |
| 14 <top-nav-menu></top-nav-menu> |
| 15 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI
solate() }}"> |
| 16 </isolate-nav-menu> |
| 17 <library-nav-menu app="{{ app }}" library="{{ library }}" last="{{ true }}
"></library-nav-menu> |
| 18 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 19 </nav-bar> |
| 20 |
13 <div class="alert alert-info">Scripts</div> | 21 <div class="alert alert-info">Scripts</div> |
14 <table class="table table-hover"> | 22 <table class="table table-hover"> |
15 <tbody> | 23 <tbody> |
16 <tr template repeat="{{ script in library['scripts']}}"> | 24 <tr template repeat="{{ script in library['scripts']}}"> |
17 <td> | 25 <td> |
18 {{ script['kind'] }} | 26 {{ script['kind'] }} |
19 </td> | 27 </td> |
20 <td> | 28 <td> |
21 <script-ref app="{{ app }}" ref="{{ script }}"></script-ref> | 29 <script-ref app="{{ app }}" ref="{{ script }}"></script-ref> |
22 </td> | 30 </td> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 <td> | 76 <td> |
69 <class-ref app="{{ app }}" ref="{{ cls }}" internal></class-ref> | 77 <class-ref app="{{ app }}" ref="{{ cls }}" internal></class-ref> |
70 </td> | 78 </td> |
71 </tr> | 79 </tr> |
72 </tbody> | 80 </tbody> |
73 </table> | 81 </table> |
74 | 82 |
75 </template> | 83 </template> |
76 <script type="application/dart" src="library_view.dart"></script> | 84 <script type="application/dart" src="library_view.dart"></script> |
77 </polymer-element> | 85 </polymer-element> |
OLD | NEW |