Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(516)

Side by Side Diff: runtime/observatory/lib/src/elements/vm_view.html

Issue 1398823002: We can now name the current VM using the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <link rel="import" href="view_footer.html"> 10 <link rel="import" href="view_footer.html">
11 11
12 <polymer-element name="vm-view" extends="observatory-element"> 12 <polymer-element name="vm-view" extends="observatory-element">
13 <template> 13 <template>
14 <link rel="stylesheet" href="css/shared.css"> 14 <link rel="stylesheet" href="css/shared.css">
15 15
16 <nav-bar> 16 <nav-bar>
17 <top-nav-menu last="{{ false }}"></top-nav-menu> 17 <top-nav-menu last="{{ false }}"></top-nav-menu>
18 <vm-nav-menu vm="{{ vm }}" last="{{ true }}"></vm-nav-menu> 18 <vm-nav-menu vm="{{ vm }}" last="{{ true }}"></vm-nav-menu>
19 <nav-refresh callback="{{ refresh }}"></nav-refresh> 19 <nav-refresh callback="{{ refresh }}"></nav-refresh>
20 </nav-bar> 20 </nav-bar>
21 21
22 <div class="content"> 22 <div class="content">
23 <h1>VM</h1> 23 <h1>VM</h1>
24 <div class="memberList"> 24 <div class="memberList">
25 <div class="memberItem"> 25 <div class="memberItem">
26 <div class="memberName">name</div>
27 <div class="memberValue">{{ vm.name }}</div>
28 </div>
29 <div class="memberItem">
30 <div class="memberName">address</div>
31 <div class="memberValue">{{ vm.target.networkAddress }}</div>
32 </div>
33 <div class="memberItem">
26 <div class="memberName">version</div> 34 <div class="memberName">version</div>
27 <div class="memberValue">{{ vm.version }}</div> 35 <div class="memberValue">{{ vm.version }}</div>
28 </div> 36 </div>
29 <div class="memberItem"> 37 <div class="memberItem">
30 <div class="memberName">started at</div> 38 <div class="memberName">started at</div>
31 <div class="memberValue">{{ vm.startTime.toString() }}</div> 39 <div class="memberValue">{{ vm.startTime.toString() }}</div>
32 </div> 40 </div>
33 <div class="memberItem"> 41 <div class="memberItem">
34 <div class="memberName">uptime</div> 42 <div class="memberName">uptime</div>
35 <div class="memberValue">{{ vm.upTime.toString() }}</div> 43 <div class="memberValue">{{ vm.upTime.toString() }}</div>
36 </div> 44 </div>
37 <div class="memberItem"> 45 <div class="memberItem">
38 <div class="memberName">refreshed at</div> 46 <div class="memberName">refreshed at</div>
39 <div class="memberValue">{{ vm.refreshTime.toString() }}</div> 47 <div class="memberValue">{{ vm.refreshTime.toString() }}</div>
40 </div> 48 </div>
41 <div class="memberItem"> 49 <div class="memberItem">
42 <div class="memberName">type checks enabled</div>
43 <div class="memberValue">{{ vm.typeChecksEnabled }}</div>
44 </div>
45 <div class="memberItem">
46 <div class="memberName">asserts enabled</div>
47 <div class="memberValue">{{ vm.assertsEnabled }}</div>
48 </div>
49 <div class="memberItem">
50 <div class="memberName">pid</div> 50 <div class="memberName">pid</div>
51 <div class="memberValue">{{ vm.pid }}</div> 51 <div class="memberValue">{{ vm.pid }}</div>
52 </div> 52 </div>
53 <br> 53 <br>
54 <div class="memberItem"> 54 <div class="memberItem">
55 <div class="memberValue"> 55 <div class="memberValue">
56 See <a on-click="{{ goto }}" _href="{{ gotoLink('/flags') }}">flags< /a> 56 See <a on-click="{{ goto }}" _href="{{ gotoLink('/flags') }}">flags< /a>
57 </div> 57 </div>
58 </div> 58 </div>
59 </div> 59 </div>
60 </div> 60 </div>
61 <br> 61 <br>
62 <hr> 62 <hr>
63 <ul class="list-group"> 63 <ul class="list-group">
64 <template repeat="{{ isolate in vm.isolates }}"> 64 <template repeat="{{ isolate in vm.isolates }}">
65 <li class="list-group-item"> 65 <li class="list-group-item">
66 <isolate-summary isolate="{{ isolate }}"></isolate-summary> 66 <isolate-summary isolate="{{ isolate }}"></isolate-summary>
67 </li> 67 </li>
68 <hr> 68 <hr>
69 </template> 69 </template>
70 </ul> 70 </ul>
71 <view-footer></view-footer> 71 <view-footer></view-footer>
72 </template> 72 </template>
73 </polymer-element> 73 </polymer-element>
74 74
75 <script type="application/dart" src="vm_view.dart"></script> 75 <script type="application/dart" src="vm_view.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/nav_bar.html ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698