Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html

Issue 59283007: List scripts in library and display script source (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
index aaa0667bc9bf3d2d283784a5eee5bf151f14820f..7c9a567477447f32791dc882ab4a8605365036d6 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html
@@ -4,6 +4,16 @@
<polymer-element name="library-view" extends="observatory-element">
<template>
<div class="alert alert-success">Library {{ library['name'] }}</div>
+ <div class="alert alert-info">Scripts</div>
+ <table class="table table-hover">
+ <tbody>
+ <tr template repeat="{{ script in library['scripts']}}">
+ <td>
+ <a href="{{ app.locationManager.currentIsolateScriptLink(script['id'], script['name']) }}">{{ script['name'] }}</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
<div class="alert alert-info">Imported Libraries</div>
<table class="table table-hover">
<tbody>
@@ -39,6 +49,7 @@
</tr>
</tbody>
</table>
+
</template>
<script type="application/dart" src="library_view.dart"></script>
</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698