Index: runtime/observatory/lib/src/elements/objectstore_view.html |
diff --git a/runtime/observatory/lib/src/elements/objectstore_view.html b/runtime/observatory/lib/src/elements/objectstore_view.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a8d4d020859198748921460a22e6a271ee646a41 |
--- /dev/null |
+++ b/runtime/observatory/lib/src/elements/objectstore_view.html |
@@ -0,0 +1,46 @@ |
+<link rel="import" href="../../../../packages/polymer/polymer.html"> |
+<link rel="import" href="class_ref.html"> |
+<link rel="import" href="curly_block.html"> |
+<link rel="import" href="eval_box.html"> |
+<link rel="import" href="field_ref.html"> |
+<link rel="import" href="function_ref.html"> |
+<link rel="import" href="instance_ref.html"> |
+<link rel="import" href="observatory_element.html"> |
+<link rel="import" href="library_ref.html"> |
+<link rel="import" href="nav_bar.html"> |
+<link rel="import" href="script_ref.html"> |
+<link rel="import" href="view_footer.html"> |
+ |
+<polymer-element name="objectstore-view" extends="observatory-element"> |
+ <template> |
+ <link rel="stylesheet" href="css/shared.css"> |
+ |
+ <nav-bar> |
+ <top-nav-menu></top-nav-menu> |
+ <vm-nav-menu vm="{{ objectStore.isolate.vm }}"></vm-nav-menu> |
+ <isolate-nav-menu isolate="{{ objectStore.isolate }}" last="{{ true }}"></isolate-nav-menu> |
+ <nav-refresh callback="{{ refresh }}"></nav-refresh> |
+ </nav-bar> |
+ |
+ <div class="content-centered-big"> |
+ <h1> |
+ object store ({{ objectStore.fields.length }}) |
+ </h1> |
+ |
+ <hr> |
+ |
+ <div class="memberList"> |
+ <template repeat="{{ field in objectStore.fields }}"> |
+ <div class="memberItem"> |
+ <div class="memberName">{{ field.name }}</div> |
+ <div class="memberValue"><any-service-ref ref="{{ field.value }}"></any-service-ref></div> |
+ </div> |
+ </template> |
+ </div> |
+ </div> |
+ |
+ <view-footer></view-footer> |
+ </template> |
+</polymer-element> |
+ |
+<script type="application/dart" src="library_view.dart"></script> |