| OLD | NEW |
| (Empty) | |
| 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> |
| 3 </head> |
| 4 <polymer-element name="library-view" extends="observatory-element"> |
| 5 <template> |
| 6 <div class="alert alert-success">Library {{ library['name'] }}</div> |
| 7 <div class="alert alert-info">Imported Libraries</div> |
| 8 <table class="table table-hover"> |
| 9 <tbody> |
| 10 <tr template repeat="{{ lib in library['libraries'] }}"> |
| 11 <td> |
| 12 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}"
> |
| 13 {{ lib['name'] }} |
| 14 </a> |
| 15 </td> |
| 16 </tr> |
| 17 </tbody> |
| 18 </table> |
| 19 <div class="alert alert-info">Classes</div> |
| 20 <table class="table table-hover"> |
| 21 <thead> |
| 22 <tr> |
| 23 <th>Name</th> |
| 24 <th>Internal Name</th> |
| 25 </tr> |
| 26 </thead> |
| 27 <tbody> |
| 28 <tr template repeat="{{ cls in library['classes'] }}"> |
| 29 <td> |
| 30 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}"
> |
| 31 {{ cls['user_name'] }} |
| 32 </a> |
| 33 </td> |
| 34 <td> |
| 35 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}"
> |
| 36 {{ cls['name'] }} |
| 37 </a> |
| 38 </td> |
| 39 </tr> |
| 40 </tbody> |
| 41 </table> |
| 42 </template> |
| 43 <script type="application/dart" src="library_view.dart"></script> |
| 44 </polymer-element> |
| OLD | NEW |