| Index: runtime/bin/vmservice/client/lib/src/observatory_elements/curly_block.html
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/curly_block.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/curly_block.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d105267a0b05b6ac502625a53b54507ba0b0908e
|
| --- /dev/null
|
| +++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/curly_block.html
|
| @@ -0,0 +1,40 @@
|
| +<polymer-element name="curly-block">
|
| + <template>
|
| + <style>
|
| + .idle {
|
| + display: inline-block;
|
| + color: #0489c3;
|
| + cursor: pointer;
|
| + }
|
| + .busy {
|
| + display: inline-block;
|
| + color: white;
|
| + cursor: wait;
|
| + }
|
| + </style>
|
| + <template if="{{ expanded }}">
|
| + <template if="{{ busy }}">
|
| + {<div class="busy"> ⊟ </div>
|
| + <br>
|
| + <content></content>
|
| + }
|
| + </template>
|
| + <template if="{{ !busy }}">
|
| + {<a on-click="{{ toggleExpand }}"><div class="idle"> ⊟ </div></a>
|
| + <br>
|
| + <content></content>
|
| + }
|
| + </template>
|
| + </template>
|
| +
|
| + <template if="{{ !expanded }}">
|
| + <template if="{{ busy }}">
|
| + {<div class="busy"> ⊞ </div>}
|
| + </template>
|
| + <template if="{{ !busy }}">
|
| + {<a on-click="{{ toggleExpand }}"><div class="idle"> ⊞ </div></a>}
|
| + </template>
|
| + </template>
|
| + </template>
|
| + <script type="application/dart" src="curly_block.dart"></script>
|
| +</polymer-element>
|
|
|