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

Side by Side Diff: runtime/observatory/lib/src/elements/curly_block.html

Issue 2160793004: Converted Observatory curly-block element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed typo Created 4 years, 5 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
OLDNEW
(Empty)
1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="observatory_element.html">
3
4 <polymer-element name="curly-block" extends="observatory-element">
5 <template>
6 <style>
7 .idle {
8 display: inline-block;
9 color: #0489c3;
10 cursor: pointer;
11 }
12 .busy {
13 display: inline-block;
14 color: white;
15 cursor: wait;
16 }
17 </style>
18 <template if="{{ expanded }}">
19 <template if="{{ busy }}">
20 {<div class="busy">&nbsp;&nbsp;&#8863;&nbsp;&nbsp;</div>
21 <br>
22 <content></content>
23 }
24 </template>
25 <template if="{{ !busy }}">
26 {<a on-click="{{ toggleExpand }}"><div class="idle">&nbsp;&nbsp;&#8863;& nbsp;&nbsp;</div></a>
27 <br>
28 <content></content>
29 }
30 </template>
31 </template>
32
33 <template if="{{ !expanded }}">
34 <template if="{{ busy }}">
35 {<div class="busy">&nbsp;&nbsp;&#8862;&nbsp;&nbsp;</div>}
36 </template>
37 <template if="{{ !busy }}">
38 {<a on-click="{{ toggleExpand }}"><div class="idle">&nbsp;&nbsp;&#8862;& nbsp;&nbsp;</div></a>}
39 </template>
40 </template>
41 </template>
42 </polymer-element>
43
44 <script type="application/dart" src="curly_block.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/curly_block.dart ('k') | runtime/observatory/lib/src/elements/curly_block_wrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698