| OLD | NEW | 
|   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"> |   3 <link rel="import" href="error_ref.html"> | 
 |   4 <link rel="import" href="observatory_element.html"> | 
|   4  |   5  | 
|   5 <polymer-element name="eval-link"> |   6 <polymer-element name="eval-link" extends="observatory-element"> | 
|   6   <template> |   7   <template> | 
|   7     <style> |   8     <style> | 
|   8       .idle { |   9       .idle { | 
|   9         color: #0489c3; |  10         color: #0489c3; | 
|  10         cursor: pointer; |  11         cursor: pointer; | 
|  11       } |  12       } | 
|  12       .busy { |  13       .busy { | 
|  13         color: #aaa; |  14         color: #aaa; | 
|  14         cursor: wait; |  15         cursor: wait; | 
|  15       } |  16       } | 
|  16     </style> |  17     </style> | 
|  17  |  18  | 
|  18     <template if="{{ busy }}"> |  19     <template if="{{ busy }}"> | 
|  19       <span class="busy">{{ label }}</span> |  20       <span class="busy">{{ label }}</span> | 
|  20     </template> |  21     </template> | 
|  21     <template if="{{ !busy }}"> |  22     <template if="{{ !busy }}"> | 
|  22       <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span> |  23       <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span> | 
|  23     </template> |  24     </template> | 
|  24     <template if="{{ result != null }}"> |  25     <template if="{{ error != null }}"> | 
|  25       = <any-service-ref ref="{{ result }}"></any-service-ref> |  26       = <span style="color:red">{{ error }}</span> | 
 |  27     </template> | 
 |  28     <template if="{{ error == null }}"> | 
 |  29       <template if="{{ result != null }}"> | 
 |  30         = <any-service-ref ref="{{ result }}"></any-service-ref> | 
 |  31       </template> | 
|  26     </template> |  32     </template> | 
|  27   </template> |  33   </template> | 
|  28 </polymer-element> |  34 </polymer-element> | 
|  29  |  35  | 
|  30 <script type="application/dart" src="eval_link.dart"></script> |  36 <script type="application/dart" src="eval_link.dart"></script> | 
| OLD | NEW |