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

Unified Diff: runtime/observatory/lib/src/elements/ports.html

Issue 1189543003: Ports page for isolates (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/ports.html
diff --git a/runtime/observatory/lib/src/elements/ports.html b/runtime/observatory/lib/src/elements/ports.html
new file mode 100644
index 0000000000000000000000000000000000000000..70aac0b70dc24143e369dce94f57e2336d452560
--- /dev/null
+++ b/runtime/observatory/lib/src/elements/ports.html
@@ -0,0 +1,43 @@
+<link rel="import" href="../../../../packages/polymer/polymer.html">
+<link rel="import" href="nav_bar.html">
+<link rel="import" href="observatory_element.html">
+
+<polymer-element name="ports-page" extends="observatory-element">
+ <template>
+ <link rel="stylesheet" href="css/shared.css">
+ <style>
+ ul li:hover:not(.selected) {
+ background-color: #FFF3E3;
+ }
+ .selected {
+ background-color: #0489c3;
+ }
+ .graph {
+ min-height: 600px;
+ }
+ </style>
+ <nav-bar>
+ <top-nav-menu></top-nav-menu>
+ <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu>
+ <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu>
+ <nav-menu link="{{ makeLink('/ports', isolate) }}" anchor="ports" last="{{ true }}"></nav-menu>
+ <nav-refresh callback="{{ refresh }}"></nav-refresh>
+ </nav-bar>
+ <div class="content">
+ <h1>Ports</h1>
+ <hr>
+ <div class="memberList">
+ <template repeat="{{ port in ports }}">
+ <div class="memberItem">
+ <div class="memberName">{{ port['name'] }}</div>
+ <div class="memberValue">
+ <any-service-ref ref="{{ port['handler'] }}"></any-service-ref>
+ </div>
+ </div>
+ </template>
+ </div>
+ <hr>
+ <view-footer></view-footer>
+ </div>
+ </template>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698