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

Side by Side Diff: runtime/bin/vmservice/observatory/lib/src/elements/eval_link.html

Issue 511413002: Revert "Give instances their own model class; move DartErrors out of instance-ref into their own er… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="instance_ref.html"> 2 <link rel="import" href="instance_ref.html">
3 <link rel="import" href="error_ref.html">
4 3
5 <polymer-element name="eval-link"> 4 <polymer-element name="eval-link">
6 <template> 5 <template>
7 <style> 6 <style>
8 .idle { 7 .idle {
9 color: #0489c3; 8 color: #0489c3;
10 cursor: pointer; 9 cursor: pointer;
11 } 10 }
12 .busy { 11 .busy {
13 color: #aaa; 12 color: #aaa;
14 cursor: wait; 13 cursor: wait;
15 } 14 }
16 </style> 15 </style>
17 16
18 <template if="{{ busy }}"> 17 <template if="{{ busy }}">
19 <span class="busy">{{ label }}</span> 18 <span class="busy">{{ label }}</span>
20 </template> 19 </template>
21 <template if="{{ !busy }}"> 20 <template if="{{ !busy }}">
22 <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span> 21 <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span>
23 </template> 22 </template>
24 <template if="{{ result != null }}"> 23 <template if="{{ result != null }}">
25 = <any-service-ref ref="{{ result }}"></any-service-ref> 24 = <instance-ref ref="{{ result }}"></instance-ref>
26 </template> 25 </template>
27 </template> 26 </template>
28 </polymer-element> 27 </polymer-element>
29 28
30 <script type="application/dart" src="eval_link.dart"></script> 29 <script type="application/dart" src="eval_link.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698