| Index: runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| index 8e73c8a213332702b2773daacbaff3b29042f3ee..7ef469a4e21d5ffa47d877c50a1e87ff99dada00 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| +++ b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| @@ -6,13 +6,24 @@
|
| <polymer-element name="instance-ref" extends="service-ref">
|
| <template>
|
| <link rel="stylesheet" href="packages/observatory/src/elements/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>
|
| - <template if="{{ isUnexpected(ref.serviceType) }}">
|
| - unexpected reference type <{{ ref.serviceType }}>
|
| + <template if="{{ isError(ref.serviceType) }}">
|
| + <pre class="errorBox">{{ ref.message }}</pre>
|
| </template>
|
|
|
| - <template if="{{ isError(ref.serviceType) }}">
|
| - <pre>{{ ref.message }}</pre>
|
| + <template if="{{ isUnexpected(ref.serviceType) }}">
|
| + unexpected reference type <{{ ref.serviceType }}>
|
| </template>
|
|
|
| <template if="{{ isNull(ref.serviceType) }}">
|
|
|