Index: runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html |
diff --git a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ae047c7685f76901860b47c5d7e69c52817eeb8d |
--- /dev/null |
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html |
@@ -0,0 +1,26 @@ |
+<link rel="import" href="../../../../packages/polymer/polymer.html"> |
+<link rel="import" href="curly_block.html"> |
+<link rel="import" href="observatory_element.html"> |
+<link rel="import" href="service_ref.html"> |
+ |
+<polymer-element name="error-ref" extends="service-ref"> |
+ <template> |
+ <link rel="stylesheet" href="css/shared.css"> |
+ <style> |
+ .errorBox { |
+ background-color: #f5f5f5; |
+ border: 1px solid #ccc; |
+ padding: 10px; |
+ font-family: consolas, courier, monospace; |
+ font-size: 1em; |
+ line-height: 1.2em; |
+ white-space: pre; |
+ } |
+ </style> |
+ <span> |
+ <pre class="errorBox">{{ ref.kind }}: {{ ref.message }}</pre> |
+ </span> |
+ </template> |
+</polymer-element> |
+ |
+<script type="application/dart" src="error_ref.dart"></script> |