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

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

Issue 2180803002: Converted Observatory vm-connect element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed temporary commented code Created 4 years, 5 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
(Empty)
1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="nav_bar.html">
3
4
5 <polymer-element name="vm-connect">
6 <template>
7 <link rel="stylesheet" href="css/shared.css">
8 <style>
9 .textbox {
10 width: 20em;
11 font: 400 16px 'Montserrat', sans-serif;
12 }
13 </style>
14
15 <nav-bar>
16 <top-nav-menu last="{{ true }}"></top-nav-menu>
17 <nav-notify notifications="{{ app.notifications }}"></nav-notify>
18 </nav-bar>
19
20 <div class="content-centered">
21 <h1>Connect to a Dart VM</h1>
22 <br>
23 <hr>
24 <div class="flex-row">
25 <div class="flex-item-40-percent">
26 <h2>WebSocket</h2>
27 <br>
28 <ul>
29 <template repeat="{{ target in app.targets.history }}">
30 <template if="{{ target.standalone }}">
31 <li><vm-connect-target target="{{ target }}"></vm-connect-target ></li>
32 </template>
33 </template>
34 </ul>
35 <hr>
36 <form autocomplete="on">
37 <input class="textbox" placeholder="localhost:8181" type="text" valu e="{{ standaloneVmAddress }}">
38 <input class="button" type="submit" value="Connect" on-click="{{ con nectStandalone }}">
39 </form>
40 <br>
41 <pre class="well">Run Standalone with: '--observe'</pre>
42 <hr>
43 </div>
44
45 <div class="flex-item-20-percent"></div>
46 <div class="flex-item-40-percent">
47 <h2>Crash dump</h2>
48 <br>
49 <input type="file" id="crashDumpFile">
50 <br>
51 <br>
52 <pre class="well">Request a crash dump with:
53 'curl localhost:8181/_getCrashDump > dump.json'</pre>
54 <hr>
55 </div>
56 </div>
57 </div>
58 <view-footer></view-footer>
59 </template>
60 </polymer-element>
61
62 <script type="application/dart" src="vm_connect.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698