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

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

Issue 110703002: Add an instance view page to the vmservice. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <head>
2 <link rel="import" href="observatory_element.html">
3 <link rel="import" href="error_view.html">
4 <link rel="import" href="field_ref.html">
5 <link rel="import" href="instance_ref.html">
6 </head>
7 <polymer-element name="instance-view" extends="observatory-element">
8 <template>
9 <div class="row">
10 <div class="col-md-8 col-md-offset-2">
11 <div class="panel panel-warning">
12 <div class="panel-heading">
13 Instance of
14 <a href="{{ app.locationManager.currentIsolateClassLink(instance['class ']['id'])}}">
15 {{ instance['class']['user_name'] }}
16 </a>
17 </div>
18 <div class="panel-body">
19 <template if="{{ instance['error'] == null }}">
20 <table class="table table-hover">
21 <tbody>
22 <tr>
23 <td>Preview</td><td>{{ instance['preview'] }}</td>
24 </tr>
25 </tbody>
26 </table>
27 <blockquote><strong>Fields</strong></blockquote>
28 <table class="table table-hover">
29 <tbody>
30 <tr template repeat="{{ field in instance['fields'] }}">
31 <td><field-ref app="{{ app }}" field="{{ field }}"></field-ref ></td>
32 <td><instance-ref app="{{ app }}" instance="{{ field['value'] }}"></instance-ref></td>
33 </tr>
34 </tbody>
35 </table>
36 </template>
37 <template if="{{ instance['error'] != null }}">
38 <error-view error_obj="{{ instance['error'] }}"></error-view>
39 </template>
40 </div>
41 </div>
42 </div>
43 </div>
44 </template>
45 <script type="application/dart" src="instance_view.dart"></script>
46 </polymer-element>
47 t>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698