| Index: runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aaa0667bc9bf3d2d283784a5eee5bf151f14820f
|
| --- /dev/null
|
| +++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html
|
| @@ -0,0 +1,44 @@
|
| +<head>
|
| + <link rel="import" href="observatory_element.html">
|
| +</head>
|
| +<polymer-element name="library-view" extends="observatory-element">
|
| + <template>
|
| + <div class="alert alert-success">Library {{ library['name'] }}</div>
|
| + <div class="alert alert-info">Imported Libraries</div>
|
| + <table class="table table-hover">
|
| + <tbody>
|
| + <tr template repeat="{{ lib in library['libraries'] }}">
|
| + <td>
|
| + <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}">
|
| + {{ lib['name'] }}
|
| + </a>
|
| + </td>
|
| + </tr>
|
| + </tbody>
|
| + </table>
|
| + <div class="alert alert-info">Classes</div>
|
| + <table class="table table-hover">
|
| + <thead>
|
| + <tr>
|
| + <th>Name</th>
|
| + <th>Internal Name</th>
|
| + </tr>
|
| + </thead>
|
| + <tbody>
|
| + <tr template repeat="{{ cls in library['classes'] }}">
|
| + <td>
|
| + <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}">
|
| + {{ cls['user_name'] }}
|
| + </a>
|
| + </td>
|
| + <td>
|
| + <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}">
|
| + {{ cls['name'] }}
|
| + </a>
|
| + </td>
|
| + </tr>
|
| + </tbody>
|
| + </table>
|
| + </template>
|
| + <script type="application/dart" src="library_view.dart"></script>
|
| +</polymer-element>
|
|
|