Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/curly_block.html

Issue 182413007: Add new <curly-block> element. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js / fix bugs with reload Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <polymer-element name="curly-block">
2 <template>
3 <style>
4 .idle {
5 display: inline-block;
6 color: #0489c3;
7 cursor: pointer;
8 }
9 .busy {
10 display: inline-block;
11 color: white;
12 cursor: wait;
13 }
14 </style>
15 <template if="{{ expanded }}">
16 <template if="{{ busy }}">
17 {<div class="busy">&nbsp;&nbsp;&#8863;&nbsp;&nbsp;</div>
18 <br>
19 <content></content>
20 }
21 </template>
22 <template if="{{ !busy }}">
23 {<a on-click="{{ toggleExpand }}"><div class="idle">&nbsp;&nbsp;&#8863;& nbsp;&nbsp;</div></a>
24 <br>
25 <content></content>
26 }
27 </template>
28 </template>
29
30 <template if="{{ !expanded }}">
31 <template if="{{ busy }}">
32 {<div class="busy">&nbsp;&nbsp;&#8862;&nbsp;&nbsp;</div>}
33 </template>
34 <template if="{{ !busy }}">
35 {<a on-click="{{ toggleExpand }}"><div class="idle">&nbsp;&nbsp;&#8862;& nbsp;&nbsp;</div></a>}
36 </template>
37 </template>
38 </template>
39 <script type="application/dart" src="curly_block.dart"></script>
40 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698