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="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
3 | 3 |
4 <polymer-element name="nav-bar" extends="observatory-element"> | 4 <polymer-element name="nav-bar" extends="observatory-element"> |
5 <template> | 5 <template> |
6 <link rel="stylesheet" href="css/shared.css"> | 6 <link rel="stylesheet" href="css/shared.css"> |
7 <style> | 7 <style> |
8 nav { | 8 nav { |
9 position: fixed; | 9 position: fixed; |
10 width: 100%; | 10 width: 100%; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 border-radius: 9px; | 308 border-radius: 9px; |
309 color: white; | 309 color: white; |
310 font-size: 18px; | 310 font-size: 18px; |
311 cursor: pointer; | 311 cursor: pointer; |
312 text-align: center; | 312 text-align: center; |
313 } | 313 } |
314 a.boxclose:hover { | 314 a.boxclose:hover { |
315 background: rgba(255,255,255,0.5); | 315 background: rgba(255,255,255,0.5); |
316 } | 316 } |
317 </style> | 317 </style> |
318 <template if="{{ event.eventType == 'IsolateInterrupted' }}"> | 318 <template if="{{ event.eventType == 'IsolateInterrupted' || |
| 319 event.eventType == 'BreakpointReached' || |
| 320 event.eventType == 'ExceptionThrown' }}"> |
319 <div class="item"> | 321 <div class="item"> |
320 Isolate | 322 Isolate |
321 <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{
event.isolate.name }}</a> | 323 <a class="link" on-click="{{ goto }}" |
| 324 href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> |
322 is paused | 325 is paused |
| 326 <template if="{{ event.breakpoint != null }}"> |
| 327 at breakpoint |
| 328 </template> |
| 329 <template if="{{ event.eventType == 'ExceptionThrown' }}"> |
| 330 at exception |
| 331 </template> |
| 332 |
| 333 <br><br> |
| 334 <action-link callback="{{ resume }}" label="resume" color="white"> |
| 335 </action-link> |
| 336 <action-link callback="{{ stepInto }}" label="step" color="white"> |
| 337 </action-link> |
| 338 <action-link callback="{{ stepOver }}" label="step over" |
| 339 color="white"></action-link> |
| 340 <action-link callback="{{ stepOut }}" label="step out" |
| 341 color="white"></action-link> |
323 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 342 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
324 </div> | 343 </div> |
325 </template> | 344 </template> |
326 <template if="{{ event.eventType == 'BreakpointReached' }}"> | |
327 <div class="item"> | |
328 Isolate | |
329 <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{
event.isolate.name }}</a> | |
330 is paused at breakpoint {{ event.breakpoint['id'] }} | |
331 <a class="boxclose" on-click="{{ closeItem }}">×</a> | |
332 </div> | |
333 </template> | |
334 <template if="{{ event.eventType == 'ExceptionThrown' }}"> | |
335 <div class="item"> | |
336 Isolate | |
337 <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{
event.isolate.name }}</a> | |
338 is paused at exception | |
339 <a class="boxclose" on-click="{{ closeItem }}">×</a> | |
340 </div> | |
341 </template> | |
342 </template> | 345 </template> |
343 </polymer-element> | 346 </polymer-element> |
344 | 347 |
345 | 348 |
346 <script type="application/dart" src="nav_bar.dart"></script> | 349 <script type="application/dart" src="nav_bar.dart"></script> |
OLD | NEW |