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

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

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

Powered by Google App Engine
This is Rietveld 408576698