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

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

Issue 194623006: Improve the instance-view page in observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js / fix stuff 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;
11 padding: 0 0 0 1em; 11 padding: 1px 0 1px 1em;
12 } 12 }
13 </style> 13 </style>
14 <div> 14 <div>
15 <template if="{{ isUnexpected(ref.serviceType) }}"> 15 <template if="{{ isUnexpected(ref.serviceType) }}">
16 unexpected reference type &lt;{{ ref['type'] }}&gt; 16 unexpected reference type &lt;{{ ref.serviceType }}&gt;
17 </template>
18
19 <template if="{{ isError(ref.serviceType) }}">
20 <pre>{{ ref.message }}</pre>
17 </template> 21 </template>
18 22
19 <template if="{{ isNull(ref.serviceType) }}"> 23 <template if="{{ isNull(ref.serviceType) }}">
20 <div title="{{ hoverText }}">{{ ref['preview'] }}</div> 24 <div title="{{ hoverText }}">{{ ref['preview'] }}</div>
21 </template> 25 </template>
22 26
23 <template if="{{ (isString(ref.serviceType) || 27 <template if="{{ (isString(ref.serviceType) ||
24 isBool(ref.serviceType) || 28 isBool(ref.serviceType) ||
25 isInt(ref.serviceType)) }}"> 29 isInt(ref.serviceType)) }}">
26 <a href="{{ url }}">{{ ref['preview'] }}</a> 30 <a href="{{ url }}">{{ ref['preview'] }}</a>
(...skipping 30 matching lines...) Expand all
57 </td> 61 </td>
58 </tr> 62 </tr>
59 </table> 63 </table>
60 </curly-block> 64 </curly-block>
61 </template> 65 </template>
62 66
63 </div> 67 </div>
64 </template> 68 </template>
65 <script type="application/dart" src="instance_ref.dart"></script> 69 <script type="application/dart" src="instance_ref.dart"></script>
66 </polymer-element> 70 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698