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

Unified 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: Renamed DumpRepository to CrashDumpRepository 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/vm_connect.html
diff --git a/runtime/observatory/lib/src/elements/vm_connect.html b/runtime/observatory/lib/src/elements/vm_connect.html
deleted file mode 100644
index 53be73db80cd9b6b648fcc136a1ba0aa5f370e67..0000000000000000000000000000000000000000
--- a/runtime/observatory/lib/src/elements/vm_connect.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<link rel="import" href="../../../../packages/polymer/polymer.html">
-
-<polymer-element name="vm-connect">
- <template>
- <link rel="stylesheet" href="css/shared.css">
- <style>
- .textbox {
- width: 20em;
- font: 400 16px 'Montserrat', sans-serif;
- }
- </style>
-
- <nav-bar>
- <top-nav-menu last="{{ true }}"></top-nav-menu>
- <nav-notify notifications="{{ app.notifications }}"></nav-notify>
- </nav-bar>
-
- <div class="content-centered">
- <h1>Connect to a Dart VM</h1>
- <br>
- <hr>
- <div class="flex-row">
- <div class="flex-item-40-percent">
- <h2>WebSocket</h2>
- <br>
- <ul>
- <template repeat="{{ target in app.targets.history }}">
- <template if="{{ target.standalone }}">
- <li><vm-connect-target target="{{ target }}"></vm-connect-target></li>
- </template>
- </template>
- </ul>
- <hr>
- <form autocomplete="on">
- <input class="textbox" placeholder="localhost:8181" type="text" value="{{ standaloneVmAddress }}">
- <input class="button" type="submit" value="Connect" on-click="{{ connectStandalone }}">
- </form>
- <br>
- <pre class="well">Run Standalone with: '--observe'</pre>
- <hr>
- </div>
-
- <div class="flex-item-20-percent"></div>
- <div class="flex-item-40-percent">
- <h2>Crash dump</h2>
- <br>
- <input type="file" id="crashDumpFile">
- <br>
- <br>
- <pre class="well">Request a crash dump with:
-'curl localhost:8181/_getCrashDump > dump.json'</pre>
- <hr>
- </div>
- </div>
- </div>
- <view-footer></view-footer>
- </template>
-</polymer-element>
-
-<script type="application/dart" src="vm_connect.dart"></script>
« no previous file with comments | « runtime/observatory/lib/src/elements/vm_connect.dart ('k') | runtime/observatory/lib/src/elements/vm_connect_target.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698