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="observatory_element.html"> | 4 <link rel="import" href="observatory_element.html"> |
4 | 5 |
5 <polymer-element name="eval-box" extends="observatory-element"> | 6 <polymer-element name="eval-box" extends="observatory-element"> |
6 <template> | 7 <template> |
7 <style> | 8 <style> |
8 .textbox { | 9 .textbox { |
9 width: 80ex; | 10 width: 80ex; |
10 font: 400 16px 'Montserrat', sans-serif; | 11 font: 400 16px 'Montserrat', sans-serif; |
11 } | 12 } |
12 .bigtextbox { | 13 .bigtextbox { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 <tr template repeat="{{ result in results }}"> | 68 <tr template repeat="{{ result in results }}"> |
68 <td class="historyExpr"> | 69 <td class="historyExpr"> |
69 <a class="expr" on-click="{{ selectExpr }}" | 70 <a class="expr" on-click="{{ selectExpr }}" |
70 expr="{{ result['expr'] }}">{{ result['expr'] }}</a> | 71 expr="{{ result['expr'] }}">{{ result['expr'] }}</a> |
71 </td> | 72 </td> |
72 <td class="historyValue"> | 73 <td class="historyValue"> |
73 <template if="{{ result['value'] == null }}"> | 74 <template if="{{ result['value'] == null }}"> |
74 <div style="color:#aaa;cursor:wait;"><pending></div> | 75 <div style="color:#aaa;cursor:wait;"><pending></div> |
75 </template> | 76 </template> |
76 <template if="{{ result['value'] != null }}"> | 77 <template if="{{ result['value'] != null }}"> |
77 <instance-ref ref="{{ result['value'] }}"></instance-ref> | 78 <any-service-ref ref="{{ result['value'] }}"></any-service-ref> |
78 </template> | 79 </template> |
79 </td> | 80 </td> |
80 </tr> | 81 </tr> |
81 </table> | 82 </table> |
82 </template> | 83 </template> |
83 </template> | 84 </template> |
84 </polymer-element> | 85 </polymer-element> |
85 | 86 |
86 <script type="application/dart" src="eval_box.dart"></script> | 87 <script type="application/dart" src="eval_box.dart"></script> |
OLD | NEW |