OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="action_link.html"> | 2 <link rel="import" href="action_link.html"> |
3 <link rel="import" href="function_ref.html"> | 3 <link rel="import" href="function_ref.html"> |
4 <link rel="import" href="isolate_ref.html"> | 4 <link rel="import" href="isolate_ref.html"> |
5 <link rel="import" href="observatory_element.html"> | 5 |
6 <link rel="import" href="script_inset.html"> | 6 <link rel="import" href="script_inset.html"> |
7 <link rel="import" href="script_ref.html"> | 7 <link rel="import" href="script_ref.html"> |
8 <polymer-element name="isolate-summary" extends="observatory-element"> | 8 <polymer-element name="isolate-summary"> |
9 <template> | 9 <template> |
10 <link rel="stylesheet" href="css/shared.css"> | 10 <link rel="stylesheet" href="css/shared.css"> |
11 <div class="flex-row"> | 11 <div class="flex-row"> |
12 <div> | 12 <div> |
13 <isolate-ref ref="{{ isolate }}"></isolate-ref> | 13 <isolate-ref ref="{{ isolate }}"></isolate-ref> |
14 </div> | 14 </div> |
15 <div style="flex:1"></div> | 15 <div style="flex:1"></div> |
16 <div> | 16 <div> |
17 <isolate-run-state isolate="{{ isolate }}"></isolate-run-state> | 17 <isolate-run-state isolate="{{ isolate }}"></isolate-run-state> |
18 <isolate-location isolate="{{ isolate }}"></isolate-location> | 18 <isolate-location isolate="{{ isolate }}"></isolate-location> |
19 [<a on-click="{{ goto }}" _href="{{ gotoLink('/debugger', isolate) }}">d
ebug</a>] | 19 [<a on-click="{{ goto }}" _href="{{ gotoLink('/debugger', isolate) }}">d
ebug</a>] |
20 </div> | 20 </div> |
21 </div> | 21 </div> |
22 <br> | 22 <br> |
23 <isolate-shared-summary isolate="{{ isolate }}"></isolate-shared-summary> | 23 <isolate-shared-summary isolate="{{ isolate }}"></isolate-shared-summary> |
24 </template> | 24 </template> |
25 </polymer-element> | 25 </polymer-element> |
26 | 26 |
27 <polymer-element name="isolate-run-state" extends="observatory-element"> | 27 <polymer-element name="isolate-run-state"> |
28 <template> | 28 <template> |
29 <template if="{{ isolate.paused }}"> | 29 <template if="{{ isolate.paused }}"> |
30 <strong title="{{ isolate.pauseEvent.timestamp.toString() }}">paused</stro
ng> | 30 <strong title="{{ isolate.pauseEvent.timestamp.toString() }}">paused</stro
ng> |
31 </template> | 31 </template> |
32 | 32 |
33 <template if="{{ isolate.running }}"> | 33 <template if="{{ isolate.running }}"> |
34 <strong>running</strong> | 34 <strong>running</strong> |
35 </template> | 35 </template> |
36 | 36 |
37 <template if="{{ isolate.idle }}"> | 37 <template if="{{ isolate.idle }}"> |
38 <strong>idle</strong> | 38 <strong>idle</strong> |
39 </template> | 39 </template> |
40 | 40 |
41 <template if="{{ isolate.loading }}"> | 41 <template if="{{ isolate.loading }}"> |
42 <strong>loading...</strong> | 42 <strong>loading...</strong> |
43 </template> | 43 </template> |
44 </template> | 44 </template> |
45 </polymer-element> | 45 </polymer-element> |
46 | 46 |
47 <polymer-element name="isolate-location" extends="observatory-element"> | 47 <polymer-element name="isolate-location"> |
48 <template> | 48 <template> |
49 <template if="{{ isolate.pauseEvent != null }}"> | 49 <template if="{{ isolate.pauseEvent != null }}"> |
50 <template if="{{ isolate.pauseEvent.kind == 'PauseStart' }}"> | 50 <template if="{{ isolate.pauseEvent.kind == 'PauseStart' }}"> |
51 at isolate start | 51 at isolate start |
52 </template> | 52 </template> |
53 | 53 |
54 <template if="{{ isolate.pauseEvent.kind == 'PauseExit' }}"> | 54 <template if="{{ isolate.pauseEvent.kind == 'PauseExit' }}"> |
55 at isolate exit | 55 at isolate exit |
56 </template> | 56 </template> |
57 | 57 |
(...skipping 23 matching lines...) Expand all Loading... |
81 <template if="{{ isolate.running }}"> | 81 <template if="{{ isolate.running }}"> |
82 at | 82 at |
83 <function-ref ref="{{ isolate.topFrame.function }}"> | 83 <function-ref ref="{{ isolate.topFrame.function }}"> |
84 </function-ref> | 84 </function-ref> |
85 (<source-link location="{{ isolate.topFrame.location }}"></source-link>) | 85 (<source-link location="{{ isolate.topFrame.location }}"></source-link>) |
86 </template> | 86 </template> |
87 | 87 |
88 </template> | 88 </template> |
89 </polymer-element> | 89 </polymer-element> |
90 | 90 |
91 <polymer-element name="isolate-shared-summary" extends="observatory-element"> | 91 <polymer-element name="isolate-shared-summary"> |
92 <template> | 92 <template> |
93 <style> | 93 <style> |
94 .errorBox { | 94 .errorBox { |
95 background-color: #f5f5f5; | 95 background-color: #f5f5f5; |
96 border: 1px solid #ccc; | 96 border: 1px solid #ccc; |
97 padding: 2em; | 97 padding: 2em; |
98 font-family: consolas, courier, monospace; | 98 font-family: consolas, courier, monospace; |
99 font-size: 1em; | 99 font-size: 1em; |
100 line-height: 1.2em; | 100 line-height: 1.2em; |
101 white-space: pre; | 101 white-space: pre; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 See <a on-click="{{ goto }}" href="{{ gotoLink('/io', isolate) }}"
>dart:io</a> | 194 See <a on-click="{{ goto }}" href="{{ gotoLink('/io', isolate) }}"
>dart:io</a> |
195 </div> | 195 </div> |
196 </div> | 196 </div> |
197 </template> | 197 </template> |
198 --> | 198 --> |
199 </div> | 199 </div> |
200 </div> | 200 </div> |
201 </template> | 201 </template> |
202 </polymer-element> | 202 </polymer-element> |
203 | 203 |
204 <polymer-element name="isolate-counter-chart" extends="observatory-element"> | 204 <polymer-element name="isolate-counter-chart"> |
205 <template> | 205 <template> |
206 <link rel="stylesheet" href="../../../../packages/charted/charts/themes/quan
tum_theme.css"> | 206 <link rel="stylesheet" href="../../../../packages/charted/charts/themes/quan
tum_theme.css"> |
207 <style> | 207 <style> |
208 .chart-wrapper { | 208 .chart-wrapper { |
209 } | 209 } |
210 .chart-host-wrapper { | 210 .chart-host-wrapper { |
211 display: flex; | 211 display: flex; |
212 flex-direction: row; | 212 flex-direction: row; |
213 max-height: 250px; | 213 max-height: 250px; |
214 } | 214 } |
215 .chart-host { | 215 .chart-host { |
216 flex: 1; | 216 flex: 1; |
217 } | 217 } |
218 .chart-legend-host { | 218 .chart-legend-host { |
219 flex: 1; | 219 flex: 1; |
220 overflow-x: auto; | 220 overflow-x: auto; |
221 overflow-y: auto; | 221 overflow-y: auto; |
222 } | 222 } |
223 </style> | 223 </style> |
224 <div class="chart-wrapper" id="isolate-counter-chart"> | 224 <div class="chart-wrapper" id="isolate-counter-chart"> |
225 <div class="chart-host-wrapper"> | 225 <div class="chart-host-wrapper"> |
226 <div class="chart-host" id="isolate-counter-chart-host"></div> | 226 <div class="chart-host" id="isolate-counter-chart-host"></div> |
227 <div class="chart-legend-host" id="isolate-counter-chart-legend-host"></
div> | 227 <div class="chart-legend-host" id="isolate-counter-chart-legend-host"></
div> |
228 </div> | 228 </div> |
229 </div> | 229 </div> |
230 </template> | 230 </template> |
231 </polymer-element> | 231 </polymer-element> |
232 | 232 |
233 <script type="application/dart" src="isolate_summary.dart"></script> | 233 <script type="application/dart" src="isolate_summary.dart"></script> |
OLD | NEW |