| 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="curly_block.html"> | 2 <link rel="import" href="curly_block.html"> |
| 3 <link rel="import" href="eval_box.html"> | 3 <link rel="import" href="eval_box.html"> |
| 4 <link rel="import" href="function_ref.html"> | 4 <link rel="import" href="function_ref.html"> |
| 5 <link rel="import" href="isolate_summary.html"> | 5 <link rel="import" href="isolate_summary.html"> |
| 6 <link rel="import" href="library_ref.html"> | 6 <link rel="import" href="library_ref.html"> |
| 7 <link rel="import" href="nav_bar.html"> | 7 <link rel="import" href="nav_bar.html"> |
| 8 <link rel="import" href="observatory_element.html"> | 8 <link rel="import" href="observatory_element.html"> |
| 9 <link rel="import" href="script_ref.html"> | 9 <link rel="import" href="script_ref.html"> |
| 10 | 10 |
| 11 <polymer-element name="vm-view" extends="observatory-element"> | 11 <polymer-element name="vm-view" extends="observatory-element"> |
| 12 <template> | 12 <template> |
| 13 <link rel="stylesheet" href="css/shared.css"> | 13 <link rel="stylesheet" href="css/shared.css"> |
| 14 | 14 |
| 15 <nav-bar> | 15 <nav-bar> |
| 16 <top-nav-menu last="{{ true }}"></top-nav-menu> | 16 <top-nav-menu last="{{ true }}"></top-nav-menu> |
| 17 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 17 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 18 <nav-control></nav-control> | 18 <nav-control></nav-control> |
| 19 </nav-bar> | 19 </nav-bar> |
| 20 | 20 |
| 21 <div class="content"> | 21 <div class="content"> |
| 22 <h1>VM</h1> | 22 <h1>VM</h1> |
| 23 <div class="memberList"> | 23 <div class="memberList"> |
| 24 <div class="memberItem"> | 24 <div class="memberItem"> |
| 25 <div class="memberName">version</div> | 25 <div class="memberName">version</div> |
| 26 <div class="memberValue">{{ vm.version }}</div> | 26 <div class="memberValue">{{ vm.version }}</div> |
| 27 </div> | 27 </div> |
| 28 <div class="memberItem"> | 28 <div class="memberItem"> |
| 29 <div class="memberName">started at</div> |
| 30 <div class="memberValue">{{ vm.startTime.toString() }}</div> |
| 31 </div> |
| 32 <div class="memberItem"> |
| 29 <div class="memberName">uptime</div> | 33 <div class="memberName">uptime</div> |
| 30 <div class="memberValue">{{ vm.uptime | formatTime }}</div> | 34 <div class="memberValue">{{ vm.upTime.toString() }}</div> |
| 35 </div> |
| 36 <div class="memberItem"> |
| 37 <div class="memberName">refreshed at</div> |
| 38 <div class="memberValue">{{ vm.refreshTime.toString() }}</div> |
| 31 </div> | 39 </div> |
| 32 <div class="memberItem"> | 40 <div class="memberItem"> |
| 33 <div class="memberName">type checks enabled</div> | 41 <div class="memberName">type checks enabled</div> |
| 34 <div class="memberValue">{{ vm.typeChecksEnabled }}</div> | 42 <div class="memberValue">{{ vm.typeChecksEnabled }}</div> |
| 35 </div> | 43 </div> |
| 36 <div class="memberItem"> | 44 <div class="memberItem"> |
| 37 <div class="memberName">asserts enabled</div> | 45 <div class="memberName">asserts enabled</div> |
| 38 <div class="memberValue">{{ vm.assertsEnabled }}</div> | 46 <div class="memberValue">{{ vm.assertsEnabled }}</div> |
| 39 </div> | 47 </div> |
| 40 <div class="memberItem"> | 48 <div class="memberItem"> |
| 41 <div class="memberName">pid</div> | 49 <div class="memberName">pid</div> |
| 42 <div class="memberValue">{{ vm.pid }}</div> | 50 <div class="memberValue">{{ vm.pid }}</div> |
| 43 </div> | 51 </div> |
| 44 <div class="memberItem"> | |
| 45 <div class="memberName">refreshed at</div> | |
| 46 <div class="memberValue">{{ vm.lastUpdate }}</div> | |
| 47 </div> | |
| 48 <br> | 52 <br> |
| 49 <div class="memberItem"> | 53 <div class="memberItem"> |
| 50 <div class="memberValue"> | 54 <div class="memberValue"> |
| 51 See <a on-click="{{ goto }}" _href="{{ gotoLink('/flags') }}">flags<
/a> | 55 See <a on-click="{{ goto }}" _href="{{ gotoLink('/flags') }}">flags<
/a> |
| 52 </div> | 56 </div> |
| 53 </div> | 57 </div> |
| 54 </div> | 58 </div> |
| 55 </div> | 59 </div> |
| 56 | 60 |
| 57 <br> | 61 <br> |
| 58 <hr> | 62 <hr> |
| 59 | 63 |
| 60 <ul class="list-group"> | 64 <ul class="list-group"> |
| 61 <template repeat="{{ isolate in vm.isolates }}"> | 65 <template repeat="{{ isolate in vm.isolates }}"> |
| 62 <li class="list-group-item"> | 66 <li class="list-group-item"> |
| 63 <isolate-summary isolate="{{ isolate }}"></isolate-summary> | 67 <isolate-summary isolate="{{ isolate }}"></isolate-summary> |
| 64 </li> | 68 </li> |
| 65 <hr> | 69 <hr> |
| 66 </template> | 70 </template> |
| 67 </ul> | 71 </ul> |
| 68 </template> | 72 </template> |
| 69 </polymer-element> | 73 </polymer-element> |
| 70 | 74 |
| 71 <script type="application/dart" src="vm_view.dart"></script> | 75 <script type="application/dart" src="vm_view.dart"></script> |
| OLD | NEW |