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