Index: runtime/bin/vmservice/client/out/web/index.html |
diff --git a/runtime/bin/vmservice/client/out/web/index.html b/runtime/bin/vmservice/client/out/web/index.html |
index b74ab37e5363d92194aaa96d458fd57cb8a91545..892036e82632132441991c132c2596e2ea0c040c 100644 |
--- a/runtime/bin/vmservice/client/out/web/index.html |
+++ b/runtime/bin/vmservice/client/out/web/index.html |
@@ -1,4 +1,6 @@ |
-<!DOCTYPE html><html><head> |
+<!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js"></script> |
+<script src="packages/custom_element/custom-elements.debug.js"></script> |
+<script src="packages/browser/interop.js"></script> |
<title>Dart VM Observatory</title> |
<meta charset="utf-8"> |
@@ -248,7 +250,7 @@ |
<template> |
<div class="row"> |
<div class="col-md-1"> |
- <img src="img/isolate_icon.png" class="img-polaroid"> |
+ <img src="packages/observatory/src/observatory_elements/img/isolate_icon.png" class="img-polaroid"> |
</div> |
<div class="col-md-1">{{ isolate }}</div> |
<div class="col-md-10">{{ name }}</div> |
@@ -308,6 +310,16 @@ |
</polymer-element><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> |
@@ -343,6 +355,29 @@ |
</tr> |
</tbody> |
</table> |
+ |
+ </template> |
+ |
+</polymer-element><polymer-element name="source-view" extends="observatory-element"> |
+ <template> |
+ <div class="row"> |
+ <div class="col-md-8 col-md-offset-2"> |
+ <div class="panel-heading">{{ source.url }}</div> |
+ <div class="panel-body"> |
+ <div class="row"> |
+ <div><strong>Source</strong></div> |
+ </div> |
+ <pre> <template repeat="{{ line in source.lines }}">{{line.paddedLine}} {{line.src}} |
+ </template> |
+ </pre> |
+ </div> |
+ </div> |
+ </div> |
+ </template> |
+ |
+</polymer-element><polymer-element name="script-view" extends="observatory-element"> |
+ <template> |
+ <source-view app="{{ app }}" source="{{ script['source'] }}"></source-view> |
</template> |
</polymer-element><polymer-element name="stack-trace" extends="observatory-element"> |
@@ -401,6 +436,9 @@ |
<template if="{{ messageType == 'Code' }}"> |
<code-view app="{{ app }}" code="{{ message }}"></code-view> |
</template> |
+ <template if="{{ messageType == 'Script' }}"> |
+ <script-view app="{{ app }}" script="{{ message }}"></script-view> |
+ </template> |
<!-- Add new views and message types in the future here. --> |
</template> |
@@ -435,4 +473,4 @@ |
</polymer-element> |
<observatory-application></observatory-application> |
-</body></html> |
+</body></html> |