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

Side by Side Diff: runtime/observatory/lib/src/elements/vm_connect.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="nav_bar.html"> 2 <link rel="import" href="nav_bar.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 4
5 <polymer-element name="vm-connect-target" extends="observatory-element"> 5 <polymer-element name="vm-connect-target" extends="observatory-element">
6 <template> 6 <template>
7 <style> 7 <style>
8 .delete-button { 8 .delete-button {
9 padding: 4px; 9 padding: 4px;
10 background: transparent; 10 background: transparent;
11 border: none !important; 11 border: none !important;
12 } 12 }
13 .delete-button:hover { 13 .delete-button:hover {
14 background: #ff0000; 14 background: #ff0000;
15 } 15 }
16 </style> 16 </style>
17 <link rel="stylesheet" href="css/shared.css"> 17 <link rel="stylesheet" href="css/shared.css">
18 <span> 18 <span>
19 <template if="{{ isCurrentTarget }}"> 19 <template if="{{ isCurrentTarget }}">
20 <a on-click="{{ connectToVm }}" _href="{{ gotoLink('/vm') }}">{{ target. name }} (Connected)</a> 20 <a on-click="{{ connectToVm }}" _href="{{ gotoLinkForwardingParameters(' /vm') }}">{{ target.name }} (Connected)</a>
turnidge 2015/05/01 17:23:55 Is there any name that would convey the right dist
21 </template> 21 </template>
22 <template if="{{ !isCurrentTarget }}"> 22 <template if="{{ !isCurrentTarget }}">
23 <a on-click="{{ connectToVm }}" _href="{{ gotoLink('/vm') }}">{{ target. name }}</a> 23 <a on-click="{{ connectToVm }}" _href="{{ gotoLinkForwardingParameters(' /vm') }}">{{ target.name }}</a>
24 </template> 24 </template>
25 <template if="{{ !isChromeTarget }}"> 25 <template if="{{ !isChromeTarget }}">
26 <button class="delete-button" on-click="{{ deleteVm }}">&#10006; Remove< /button> 26 <button class="delete-button" on-click="{{ deleteVm }}">&#10006; Remove< /button>
27 </template> 27 </template>
28 </span> 28 </span>
29 </template> 29 </template>
30 </polymer-element> 30 </polymer-element>
31 31
32 <polymer-element name="vm-connect" extends="observatory-element"> 32 <polymer-element name="vm-connect" extends="observatory-element">
33 <template> 33 <template>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 <pre class="well">Run Chromium with: 86 <pre class="well">Run Chromium with:
87 '--remote-debugging-port=9222'</pre> 87 '--remote-debugging-port=9222'</pre>
88 <hr> 88 <hr>
89 </div> 89 </div>
90 </div> 90 </div>
91 </div> 91 </div>
92 </template> 92 </template>
93 </polymer-element> 93 </polymer-element>
94 94
95 <script type="application/dart" src="vm_connect.dart"></script> 95 <script type="application/dart" src="vm_connect.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698