| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 } | 75 } |
| 76 .menu ul:after { | 76 .menu ul:after { |
| 77 content: ""; clear: both; display: block; | 77 content: ""; clear: both; display: block; |
| 78 } | 78 } |
| 79 .menu:hover > ul { | 79 .menu:hover > ul { |
| 80 display: block; | 80 display: block; |
| 81 } | 81 } |
| 82 </style> | 82 </style> |
| 83 | 83 |
| 84 <li class="menu"> | 84 <li class="menu"> |
| 85 <a on-click="{{ goto }}" href="{{ gotoLink(link) }}">{{ anchor }}</a> | 85 <a on-click="{{ goto }}" _href="{{ gotoLink(link) }}">{{ anchor }}</a> |
| 86 <ul><content></content></ul> | 86 <ul><content></content></ul> |
| 87 </li> | 87 </li> |
| 88 <template if="{{ !last }}"> | 88 <template if="{{ !last }}"> |
| 89 <li class="spacer">></li> | 89 <li class="spacer">></li> |
| 90 </template> | 90 </template> |
| 91 | 91 |
| 92 </template> | 92 </template> |
| 93 </polymer-element> | 93 </polymer-element> |
| 94 | 94 |
| 95 <polymer-element name="nav-menu-item" extends="observatory-element"> | 95 <polymer-element name="nav-menu-item" extends="observatory-element"> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 123 li:hover > ul { | 123 li:hover > ul { |
| 124 display: block; | 124 display: block; |
| 125 } | 125 } |
| 126 li a { | 126 li a { |
| 127 display: block; | 127 display: block; |
| 128 padding: 12px 12px; | 128 padding: 12px 12px; |
| 129 color: white; | 129 color: white; |
| 130 text-decoration: none; | 130 text-decoration: none; |
| 131 } | 131 } |
| 132 </style> | 132 </style> |
| 133 <li><a on-click="{{ goto }}" href="{{ gotoLink(link) }}">{{ anchor }}</a> | 133 <li><a on-click="{{ goto }}" _href="{{ gotoLink(link) }}">{{ anchor }}</a> |
| 134 <ul><content></content></ul> | 134 <ul><content></content></ul> |
| 135 </li> | 135 </li> |
| 136 </template> | 136 </template> |
| 137 </polymer-element> | 137 </polymer-element> |
| 138 | 138 |
| 139 <polymer-element name="nav-refresh" extends="observatory-element"> | 139 <polymer-element name="nav-refresh" extends="observatory-element"> |
| 140 <template> | 140 <template> |
| 141 <style> | 141 <style> |
| 142 .active { | 142 .active { |
| 143 color: #aaa; | 143 color: #aaa; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 a.boxclose:hover { | 315 a.boxclose:hover { |
| 316 background: rgba(255,255,255,0.5); | 316 background: rgba(255,255,255,0.5); |
| 317 } | 317 } |
| 318 </style> | 318 </style> |
| 319 <template if="{{ event.eventType == 'IsolateInterrupted' || | 319 <template if="{{ event.eventType == 'IsolateInterrupted' || |
| 320 event.eventType == 'BreakpointReached' || | 320 event.eventType == 'BreakpointReached' || |
| 321 event.eventType == 'ExceptionThrown' }}"> | 321 event.eventType == 'ExceptionThrown' }}"> |
| 322 <div class="item"> | 322 <div class="item"> |
| 323 Isolate | 323 Isolate |
| 324 <a class="link" on-click="{{ goto }}" | 324 <a class="link" on-click="{{ goto }}" |
| 325 href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> | 325 _href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> |
| 326 is paused | 326 is paused |
| 327 <template if="{{ event.breakpoint != null }}"> | 327 <template if="{{ event.breakpoint != null }}"> |
| 328 at breakpoint | 328 at breakpoint |
| 329 </template> | 329 </template> |
| 330 <template if="{{ event.eventType == 'ExceptionThrown' }}"> | 330 <template if="{{ event.eventType == 'ExceptionThrown' }}"> |
| 331 at exception | 331 at exception |
| 332 </template> | 332 </template> |
| 333 | 333 |
| 334 <br><br> | 334 <br><br> |
| 335 <action-link callback="{{ resume }}" label="resume" color="white"> | 335 <action-link callback="{{ resume }}" label="resume" color="white"> |
| 336 </action-link> | 336 </action-link> |
| 337 <action-link callback="{{ stepInto }}" label="step" color="white"> | 337 <action-link callback="{{ stepInto }}" label="step" color="white"> |
| 338 </action-link> | 338 </action-link> |
| 339 <action-link callback="{{ stepOver }}" label="step over" | 339 <action-link callback="{{ stepOver }}" label="step over" |
| 340 color="white"></action-link> | 340 color="white"></action-link> |
| 341 <action-link callback="{{ stepOut }}" label="step out" | 341 <action-link callback="{{ stepOut }}" label="step out" |
| 342 color="white"></action-link> | 342 color="white"></action-link> |
| 343 <a class="boxclose" on-click="{{ closeItem }}">×</a> | 343 <a class="boxclose" on-click="{{ closeItem }}">×</a> |
| 344 </div> | 344 </div> |
| 345 </template> | 345 </template> |
| 346 </template> | 346 </template> |
| 347 </polymer-element> | 347 </polymer-element> |
| 348 | 348 |
| 349 | 349 |
| 350 <script type="application/dart" src="nav_bar.dart"></script> | 350 <script type="application/dart" src="nav_bar.dart"></script> |
| OLD | NEW |