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

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

Issue 1072423003: When attempting to navigate to a page for an isolate that doesn't exist, offer to (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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/isolate_reconnect.html
diff --git a/runtime/observatory/lib/src/elements/isolate_reconnect.html b/runtime/observatory/lib/src/elements/isolate_reconnect.html
new file mode 100644
index 0000000000000000000000000000000000000000..967403801294b21276161101b72abf1f65cc48c5
--- /dev/null
+++ b/runtime/observatory/lib/src/elements/isolate_reconnect.html
@@ -0,0 +1,34 @@
+<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="isolate-reconnect" extends="observatory-element">
+ <template>
+ <link rel="stylesheet" href="css/shared.css">
+ <style>
+ .doubleSpaced {
+ line-height: 2em;
+ }
+ </style>
+
+ <nav-bar>
+ <top-nav-menu last="{{ true }}"></top-nav-menu>
+ </nav-bar>
+
+ <div class="content-centered">
+ <h1 class="doubleSpaced">Isolate {{ missingIsolateId }} no longer exists</h1>
+ <div class="memberList">
+ <template repeat="{{ i in app.vm.isolates }}">
+ <div class="memberItem doubleSpaced">
+ Continue in <a _href="{{ linkToContinueIn(i) }}">{{ i.id }} ({{ i.name }})</a>
+ </div>
+ </template>
+ <div class="memberItem doubleSpaced">
+ Go to <a _href="{{ gotoLink('/vm') }}">isolates summary</a>
+ </div>
+ </div>
+ </div>
+ </template>
+</polymer-element>
+
+<script type="application/dart" src="isolate_reconnect.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698