| OLD | NEW |
| (Empty) |
| 1 <head> | |
| 2 <link rel="import" href="class_ref.html"> | |
| 3 <link rel="import" href="field_ref.html"> | |
| 4 <link rel="import" href="function_ref.html"> | |
| 5 <link rel="import" href="instance_ref.html"> | |
| 6 <link rel="import" href="library_ref.html"> | |
| 7 <link rel="import" href="nav_bar.html"> | |
| 8 <link rel="import" href="observatory_element.html"> | |
| 9 <link rel="import" href="script_ref.html"> | |
| 10 </head> | |
| 11 <polymer-element name="library-view" extends="observatory-element"> | |
| 12 <template> | |
| 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 | |
| 21 <div class="alert alert-info">Scripts</div> | |
| 22 <table class="table table-hover"> | |
| 23 <tbody> | |
| 24 <tr template repeat="{{ script in library['scripts']}}"> | |
| 25 <td> | |
| 26 {{ script['kind'] }} | |
| 27 </td> | |
| 28 <td> | |
| 29 <script-ref app="{{ app }}" ref="{{ script }}"></script-ref> | |
| 30 </td> | |
| 31 </tr> | |
| 32 </tbody> | |
| 33 </table> | |
| 34 <div class="alert alert-info">Imported Libraries</div> | |
| 35 <table class="table table-hover"> | |
| 36 <tbody> | |
| 37 <tr template repeat="{{ lib in library['libraries'] }}"> | |
| 38 <td> | |
| 39 <library-ref app="{{ app }}" ref="{{ lib }}"></library-ref> | |
| 40 </td> | |
| 41 </tr> | |
| 42 </tbody> | |
| 43 </table> | |
| 44 <div class="alert alert-info">Variables</div> | |
| 45 <table class="table table-hover"> | |
| 46 <tbody> | |
| 47 <tr template repeat="{{ variable in library['variables'] }}"> | |
| 48 <td><field-ref app="{{ app }}" ref="{{ variable }}"></field-ref></td> | |
| 49 <td><instance-ref app="{{ app }}" ref="{{ variable['value'] }}"></instan
ce-ref></td> | |
| 50 </tr> | |
| 51 </tbody> | |
| 52 </table> | |
| 53 <div class="alert alert-info">Functions</div> | |
| 54 <table class="table table-hover"> | |
| 55 <tbody> | |
| 56 <tr template repeat="{{ func in library['functions'] }}"> | |
| 57 <td> | |
| 58 <function-ref app="{{ app }}" ref="{{ func }}"></function-ref> | |
| 59 </td> | |
| 60 </tr> | |
| 61 </tbody> | |
| 62 </table> | |
| 63 <div class="alert alert-info">Classes</div> | |
| 64 <table class="table table-hover"> | |
| 65 <thead> | |
| 66 <tr> | |
| 67 <th>Name</th> | |
| 68 <th>Internal Name</th> | |
| 69 </tr> | |
| 70 </thead> | |
| 71 <tbody> | |
| 72 <tr template repeat="{{ cls in library['classes'] }}"> | |
| 73 <td> | |
| 74 <class-ref app="{{ app }}" ref="{{ cls }}"></class-ref> | |
| 75 </td> | |
| 76 <td> | |
| 77 <class-ref app="{{ app }}" ref="{{ cls }}" internal></class-ref> | |
| 78 </td> | |
| 79 </tr> | |
| 80 </tbody> | |
| 81 </table> | |
| 82 | |
| 83 </template> | |
| 84 <script type="application/dart" src="library_view.dart"></script> | |
| 85 </polymer-element> | |
| OLD | NEW |