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

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

Issue 184233007: Refactor Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months 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/instance_view.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_view.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_view.html
deleted file mode 100644
index 7230481109e40a347ebc1891f1bd21c077c05c8b..0000000000000000000000000000000000000000
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_view.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<head>
- <link rel="import" href="class_ref.html">
- <link rel="import" href="error_view.html">
- <link rel="import" href="field_ref.html">
- <link rel="import" href="instance_ref.html">
- <link rel="import" href="nav_bar.html">
- <link rel="import" href="observatory_element.html">
-</head>
-<polymer-element name="instance-view" extends="observatory-element">
- <template>
- <nav-bar>
- <top-nav-menu></top-nav-menu>
- <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentIsolate() }}">
- </isolate-nav-menu>
- <!-- TODO(turnidge): Add library nav menu here. -->
- <class-nav-menu app="{{ app }}" cls="{{ instance['class'] }}"></class-nav-menu>
- <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu>
- <!-- TODO(turnidge): Add nav refresh here. -->
- </nav-bar>
-
- <div class="row">
- <div class="col-md-8 col-md-offset-2">
- <div class="panel panel-warning">
- <div class="panel-heading">
- Instance of
- <class-ref app="{{ app }}" ref="{{ instance['class'] }}"></class-ref>
- </div>
- <div class="panel-body">
- <template if="{{ instance['error'] == null }}">
- <table class="table table-hover">
- <tbody>
- <tr>
- <td>Preview</td><td>{{ instance['preview'] }}</td>
- </tr>
- </tbody>
- </table>
- <blockquote><strong>Fields</strong></blockquote>
- <table class="table table-hover">
- <tbody>
- <tr template repeat="{{ field in instance['fields'] }}">
- <td><field-ref app="{{ app }}" ref="{{ field['decl'] }}"></field-ref></td>
- <td><instance-ref app="{{ app }}" ref="{{ field['value'] }}"></instance-ref></td>
- </tr>
- </tbody>
- </table>
- </template>
- <template if="{{ instance['error'] != null }}">
- <error-view error_obj="{{ instance['error'] }}"></error-view>
- </template>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script type="application/dart" src="instance_view.dart"></script>
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698