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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/elements/instance_ref.html

Issue 199363002: Rework library and class view pages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: edits Created 6 years, 9 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="curly_block.html"> 2 <link rel="import" href="curly_block.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 <link rel="import" href="service_ref.html"> 4 <link rel="import" href="service_ref.html">
5 </head> 5 </head>
6 <polymer-element name="instance-ref" extends="service-ref"> 6 <polymer-element name="instance-ref" extends="service-ref">
7 <template> 7 <template>
8 <style> 8 <style>
9 .member { 9 .member {
10 vertical-align: top; 10 vertical-align: top;
(...skipping 14 matching lines...) Expand all
25 </template> 25 </template>
26 26
27 <template if="{{ (isString(ref.serviceType) || 27 <template if="{{ (isString(ref.serviceType) ||
28 isBool(ref.serviceType) || 28 isBool(ref.serviceType) ||
29 isInt(ref.serviceType)) }}"> 29 isInt(ref.serviceType)) }}">
30 <a href="{{ url }}">{{ ref['preview'] }}</a> 30 <a href="{{ url }}">{{ ref['preview'] }}</a>
31 </template> 31 </template>
32 32
33 <template if="{{ isClosure(ref.serviceType) }}"> 33 <template if="{{ isClosure(ref.serviceType) }}">
34 <a href="{{ url }}"> 34 <a href="{{ url }}">
35 <!-- TODO(turnidge): Switch this to fully-qualified function -->
35 {{ ref['closureFunc']['user_name'] }} 36 {{ ref['closureFunc']['user_name'] }}
36 </a> 37 </a>
37 </template> 38 </template>
38 39
39 <template if="{{ isInstance(ref.serviceType) }}"> 40 <template if="{{ isInstance(ref.serviceType) }}">
40 <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a> 41 <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a>
41 <curly-block callback="{{ expander() }}"> 42 <curly-block callback="{{ expander() }}">
42 <table> 43 <table>
43 <tr template repeat="{{ field in ref['fields'] }}"> 44 <tr template repeat="{{ field in ref['fields'] }}">
44 <td class="member">{{ field['decl']['user_name'] }}</td> 45 <td class="member">{{ field['decl']['user_name'] }}</td>
(...skipping 16 matching lines...) Expand all
61 </td> 62 </td>
62 </tr> 63 </tr>
63 </table> 64 </table>
64 </curly-block> 65 </curly-block>
65 </template> 66 </template>
66 67
67 </div> 68 </div>
68 </template> 69 </template>
69 <script type="application/dart" src="instance_ref.dart"></script> 70 <script type="application/dart" src="instance_ref.dart"></script>
70 </polymer-element> 71 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698