| 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="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
| 4 | 4 |
| 5 <polymer-element name="nav-bar" extends="observatory-element"> | 5 <polymer-element name="nav-bar" extends="observatory-element"> |
| 6 <template> | 6 <template> |
| 7 <link rel="stylesheet" href="css/shared.css"> | 7 <link rel="stylesheet" href="css/shared.css"> |
| 8 <style> | 8 <style> |
| 9 nav { | 9 nav { |
| 10 position: fixed; | 10 position: fixed; |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 != null }}"> | 318 <template if="{{ event != null }}"> |
| 319 <template if="{{ notifyOnPause && event.isPauseEvent }}"> | 319 <template if="{{ notifyOnPause && event.isPauseEvent }}"> |
| 320 <div class="item"> | 320 <div class="item"> |
| 321 Isolate | 321 Isolate |
| 322 <a class="link" on-click="{{ goto }}" | 322 <a class="link" on-click="{{ goto }}" |
| 323 _href="{{ gotoLink('/inspect', event.isolate) }}">{{ event.isolate.
name }}</a> | 323 _href="{{ gotoLink('/inspect', event.isolate) }}">{{ event.isolate.
name }}</a> |
| 324 is paused | 324 is paused |
| 325 <template if="{{ event.eventType == 'PauseStart' }}"> | 325 <template if="{{ event.kind == 'PauseStart' }}"> |
| 326 at isolate start | 326 at isolate start |
| 327 </template> | 327 </template> |
| 328 <template if="{{ event.eventType == 'PauseExit' }}"> | 328 <template if="{{ event.kind == 'PauseExit' }}"> |
| 329 at isolate exit | 329 at isolate exit |
| 330 </template> | 330 </template> |
| 331 <template if="{{ event.breakpoint != null }}"> | 331 <template if="{{ event.breakpoint != null }}"> |
| 332 at breakpoint {{ event.breakpoint.number }} | 332 at breakpoint {{ event.breakpoint.number }} |
| 333 </template> | 333 </template> |
| 334 <template if="{{ event.eventType == 'PauseException' }}"> | 334 <template if="{{ event.kind == 'PauseException' }}"> |
| 335 due to exception | 335 due to exception |
| 336 </template> | 336 </template> |
| 337 | 337 |
| 338 <br><br> | 338 <br><br> |
| 339 [<a class="link" on-click="{{ goto }}" | 339 [<a class="link" on-click="{{ goto }}" |
| 340 _href="{{ gotoLink('/debugger', event.isolate) }}">debug</a>] | 340 _href="{{ gotoLink('/debugger', event.isolate) }}">debug</a>] |
| 341 | 341 |
| 342 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 342 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
| 343 </div> | 343 </div> |
| 344 </template> | 344 </template> |
| 345 <template if="{{ event.eventType == 'ConnectionClosed' }}"> | 345 <template if="{{ event.kind == 'ConnectionClosed' }}"> |
| 346 <div class="item"> | 346 <div class="item"> |
| 347 Disconnected from VM: {{ event.reason }} | 347 Disconnected from VM: {{ event.reason }} |
| 348 <br><br> | 348 <br><br> |
| 349 [<a class="link" on-click="{{ goto }}" | 349 [<a class="link" on-click="{{ goto }}" |
| 350 _href="{{ gotoLink('/vm-connect') }}">Connect to a VM</a>] | 350 _href="{{ gotoLink('/vm-connect') }}">Connect to a VM</a>] |
| 351 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 351 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
| 352 </div> | 352 </div> |
| 353 </template> | 353 </template> |
| 354 <template if="{{ event.eventType == 'Inspect' }}"> | 354 <template if="{{ event.kind == 'Inspect' }}"> |
| 355 <div class="item"> | 355 <div class="item"> |
| 356 Inspect <any-service-ref ref="{{ event.inspectee }}"></any-service-ref
> | 356 Inspect <any-service-ref ref="{{ event.inspectee }}"></any-service-ref
> |
| 357 <br><br> | 357 <br><br> |
| 358 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 358 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
| 359 </div> | 359 </div> |
| 360 </template> | 360 </template> |
| 361 </template> | 361 </template> |
| 362 </template> | 362 </template> |
| 363 </polymer-element> | 363 </polymer-element> |
| 364 | 364 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 [<a class="link" on-click="{{ goto }}" | 438 [<a class="link" on-click="{{ goto }}" |
| 439 _href="{{ gotoLink('vm-connect') }}">Connect to a different VM</a>] | 439 _href="{{ gotoLink('vm-connect') }}">Connect to a different VM</a>] |
| 440 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 440 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
| 441 </div> | 441 </div> |
| 442 </template> | 442 </template> |
| 443 </template> | 443 </template> |
| 444 </polymer-element> | 444 </polymer-element> |
| 445 | 445 |
| 446 | 446 |
| 447 <script type="application/dart" src="nav_bar.dart"></script> | 447 <script type="application/dart" src="nav_bar.dart"></script> |
| OLD | NEW |