OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
3 </head> | 3 </head> |
4 <polymer-element name="library-view" extends="observatory-element"> | 4 <polymer-element name="library-view" extends="observatory-element"> |
5 <template> | 5 <template> |
6 <div class="alert alert-success">Library {{ library['name'] }}</div> | 6 <div class="alert alert-success">Library {{ library['name'] }}</div> |
| 7 <div class="alert alert-info">Scripts</div> |
| 8 <table class="table table-hover"> |
| 9 <tbody> |
| 10 <tr template repeat="{{ script in library['scripts']}}"> |
| 11 <td> |
| 12 {{ script['kind'] }} |
| 13 </td> |
| 14 <td> |
| 15 <a href="{{ app.locationManager.currentIsolateScriptLink(script['id'],
script['name']) }}">{{ script['name'] }}</a> |
| 16 </td> |
| 17 </tr> |
| 18 </tbody> |
| 19 </table> |
7 <div class="alert alert-info">Imported Libraries</div> | 20 <div class="alert alert-info">Imported Libraries</div> |
8 <table class="table table-hover"> | 21 <table class="table table-hover"> |
9 <tbody> | 22 <tbody> |
10 <tr template repeat="{{ lib in library['libraries'] }}"> | 23 <tr template repeat="{{ lib in library['libraries'] }}"> |
11 <td> | 24 <td> |
12 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}"
> | 25 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}"
> |
13 {{ lib['url'] }} | 26 {{ lib['url'] }} |
14 </a> | 27 </a> |
15 </td> | 28 </td> |
16 </tr> | 29 </tr> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 </a> | 93 </a> |
81 </td> | 94 </td> |
82 <td> | 95 <td> |
83 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}"
> | 96 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}"
> |
84 {{ cls['name'] }} | 97 {{ cls['name'] }} |
85 </a> | 98 </a> |
86 </td> | 99 </td> |
87 </tr> | 100 </tr> |
88 </tbody> | 101 </tbody> |
89 </table> | 102 </table> |
| 103 |
90 </template> | 104 </template> |
91 <script type="application/dart" src="library_view.dart"></script> | 105 <script type="application/dart" src="library_view.dart"></script> |
92 </polymer-element> | 106 </polymer-element> |
OLD | NEW |