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

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 af44acd14022f05e6b107409f44c48839a5c9558..93009fb901ad746ed6741eaf54983f45e6c13d40 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,19 @@
<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>
+ {{ script['kind'] }}
+ </td>
+ <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>
@@ -87,6 +100,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