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

Side by Side Diff: runtime/bin/vmservice/client/deployed/web/index.html

Issue 59283007: List scripts in library and display script source (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 <!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js" ></script> 1 <!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js" ></script>
2 <script src="packages/custom_element/custom-elements.debug.js"></script> 2 <script src="packages/custom_element/custom-elements.debug.js"></script>
3 <script src="packages/browser/interop.js"></script> 3 <script src="packages/browser/interop.js"></script>
4 4
5 <title>Dart VM Observatory</title> 5 <title>Dart VM Observatory</title>
6 <meta charset="utf-8"> 6 <meta charset="utf-8">
7 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss"> 7 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss">
8 8
9 <script src="index.html_bootstrap.dart.js"></script> 9 <script src="index.html_bootstrap.dart.js"></script>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 </template> 101 </template>
102 <template if="{{ cls['error'] != null }}"> 102 <template if="{{ cls['error'] != null }}">
103 <error-view error_obj="{{ cls['error'] }}"></error-view> 103 <error-view error_obj="{{ cls['error'] }}"></error-view>
104 </template> 104 </template>
105 </div> 105 </div>
106 </div> 106 </div>
107 </div> 107 </div>
108 </div> 108 </div>
109 </template> 109 </template>
110 110
111 </polymer-element><polymer-element name="disassembly-entry" extends="observatory -element"> 111 </polymer-element>
112 <polymer-element name="disassembly-entry" extends="observatory-element">
112 <template> 113 <template>
113 <div class="row"> 114 <div class="row">
114 <template if="{{ instruction['type'] == 'DisassembledInstructionComment' }}" > 115 <template if="{{ instruction['type'] == 'DisassembledInstructionComment' }}" >
115 <div class="col-md-2"></div> 116 <div class="col-md-2"></div>
116 <div class="col-md-2"></div> 117 <div class="col-md-2"></div>
117 <div class="col-md-4"><code>{{ instruction['comment'] }}</code></div> 118 <div class="col-md-4"><code>{{ instruction['comment'] }}</code></div>
118 </template> 119 </template>
119 <template if="{{ instruction['type'] == 'DisassembledInstruction' }}"> 120 <template if="{{ instruction['type'] == 'DisassembledInstruction' }}">
120 <div class="col-md-2"></div> 121 <div class="col-md-2"></div>
121 <div class="col-md-2">{{ instruction['pc'] }}</div> 122 <div class="col-md-2">{{ instruction['pc'] }}</div>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 </div> 254 </div>
254 </div> 255 </div>
255 </div> 256 </div>
256 </div> 257 </div>
257 </template> 258 </template>
258 259
259 </polymer-element><polymer-element name="isolate-summary" extends="observatory-e lement"> 260 </polymer-element><polymer-element name="isolate-summary" extends="observatory-e lement">
260 <template> 261 <template>
261 <div class="row"> 262 <div class="row">
262 <div class="col-md-1"> 263 <div class="col-md-1">
263 » » <img src="packages/observatory/src/observatory_elements/img/isol ate_icon.png" class="img-polaroid">» 264 » » <img src="img/isolate_icon.png" class="img-polaroid">»
264 </div> 265 </div>
265 <div class="col-md-1">{{ isolate }}</div> 266 <div class="col-md-1">{{ isolate }}</div>
266 <div class="col-md-10">{{ name }}</div> 267 <div class="col-md-10">{{ name }}</div>
267 </div> 268 </div>
268 <div class="row"> 269 <div class="row">
269 <div class="col-md-2"></div> 270 <div class="col-md-2"></div>
270 <div class="col-md-1"> 271 <div class="col-md-1">
271 <a href="{{ app.locationManager.relativeLink(isolate, 'stacktrac e') }}">Stacktrace</a> 272 <a href="{{ app.locationManager.relativeLink(isolate, 'stacktrac e') }}">Stacktrace</a>
272 </div> 273 </div>
273 <div class="col-md-1"> 274 <div class="col-md-1">
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 <tbody> 311 <tbody>
311 <tr template="" repeat="{{key in keys}}"> 312 <tr template="" repeat="{{key in keys}}">
312 <th>{{key}}</th> 313 <th>{{key}}</th>
313 <td><json-view json="{{value(key)}}"></json-view></td> 314 <td><json-view json="{{value(key)}}"></json-view></td>
314 </tr> 315 </tr>
315 </tbody> 316 </tbody>
316 </table> 317 </table>
317 </template> 318 </template>
318 </template> 319 </template>
319 320
320 </polymer-element><polymer-element name="library-view" extends="observatory-elem ent"> 321 </polymer-element>
322 <polymer-element name="library-view" extends="observatory-element">
321 <template> 323 <template>
322 <div class="alert alert-success">Library {{ library['name'] }}</div> 324 <div class="alert alert-success">Library {{ library['name'] }}</div>
325 <div class="alert alert-info">Scripts</div>
326 <table class="table table-hover">
327 <tbody>
328 <tr template="" repeat="{{ script in library['scripts']}}">
329 <td>
330 {{ script['kind'] }}
331 </td>
332 <td>
333 <a href="{{ app.locationManager.currentIsolateScriptLink(script['id'], script['name']) }}">{{ script['name'] }}</a>
334 </td>
335 </tr>
336 </tbody>
337 </table>
323 <div class="alert alert-info">Imported Libraries</div> 338 <div class="alert alert-info">Imported Libraries</div>
324 <table class="table table-hover"> 339 <table class="table table-hover">
325 <tbody> 340 <tbody>
326 <tr template="" repeat="{{ lib in library['libraries'] }}"> 341 <tr template="" repeat="{{ lib in library['libraries'] }}">
327 <td> 342 <td>
328 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" > 343 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" >
329 {{ lib['url'] }} 344 {{ lib['url'] }}
330 </a> 345 </a>
331 </td> 346 </td>
332 </tr> 347 </tr>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 </a> 411 </a>
397 </td> 412 </td>
398 <td> 413 <td>
399 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" > 414 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" >
400 {{ cls['name'] }} 415 {{ cls['name'] }}
401 </a> 416 </a>
402 </td> 417 </td>
403 </tr> 418 </tr>
404 </tbody> 419 </tbody>
405 </table> 420 </table>
421
422 </template>
423
424 </polymer-element><polymer-element name="source-view" extends="observatory-eleme nt">
425 <template>
426 <div class="row">
427 <div class="col-md-8 col-md-offset-2">
428 <div class="panel-heading">{{ source.url }}</div>
429 <div class="panel-body">
430 <div class="row">
431 <div><strong>Source</strong></div>
432 </div>
433 <pre> <template repeat="{{ line in source.lines }}">{{line.padded Line}} {{line.src}}
434 </template>
435 </pre>
436 </div>
437 </div>
438 </div>
439 </template>
440
441 </polymer-element><polymer-element name="script-view" extends="observatory-eleme nt">
442 <template>
443 <source-view app="{{ app }}" source="{{ script['source'] }}"></source-view>
406 </template> 444 </template>
407 445
408 </polymer-element><polymer-element name="stack-trace" extends="observatory-eleme nt"> 446 </polymer-element><polymer-element name="stack-trace" extends="observatory-eleme nt">
409 <template> 447 <template>
410 <div class="alert alert-info">Stack Trace</div> 448 <div class="alert alert-info">Stack Trace</div>
411 <table class="table table-hover"> 449 <table class="table table-hover">
412 <thead> 450 <thead>
413 <tr> 451 <tr>
414 <th>Depth</th> 452 <th>Depth</th>
415 <th>Function</th> 453 <th>Function</th>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 </template> 492 </template>
455 <template if="{{ messageType == 'Field' }}"> 493 <template if="{{ messageType == 'Field' }}">
456 <field-view app="{{ app }}" field="{{ message }}"></field-view> 494 <field-view app="{{ app }}" field="{{ message }}"></field-view>
457 </template> 495 </template>
458 <template if="{{ messageType == 'Function' }}"> 496 <template if="{{ messageType == 'Function' }}">
459 <function-view app="{{ app }}" function="{{ message }}"></function-view> 497 <function-view app="{{ app }}" function="{{ message }}"></function-view>
460 </template> 498 </template>
461 <template if="{{ messageType == 'Code' }}"> 499 <template if="{{ messageType == 'Code' }}">
462 <code-view app="{{ app }}" code="{{ message }}"></code-view> 500 <code-view app="{{ app }}" code="{{ message }}"></code-view>
463 </template> 501 </template>
502 <template if="{{ messageType == 'Script' }}">
503 <script-view app="{{ app }}" script="{{ message }}"></script-view>
504 </template>
464 <!-- Add new views and message types in the future here. --> 505 <!-- Add new views and message types in the future here. -->
465 </template> 506 </template>
466 507
467 </polymer-element><polymer-element name="navigation-bar" extends="observatory-el ement"> 508 </polymer-element><polymer-element name="navigation-bar" extends="observatory-el ement">
468 <template> 509 <template>
469 <nav class="navbar navbar-default" role="navigation"> 510 <nav class="navbar navbar-default" role="navigation">
470 <div class="navbar-header"> 511 <div class="navbar-header">
471 <a class="navbar-brand" href="">Observatory</a> 512 <a class="navbar-brand" href="">Observatory</a>
472 </div> 513 </div>
473 <div class="collapse navbar-collapse navbar-ex1-collapse"> 514 <div class="collapse navbar-collapse navbar-ex1-collapse">
(...skipping 14 matching lines...) Expand all
488 529
489 </polymer-element><polymer-element name="observatory-application" extends="obser vatory-element"> 530 </polymer-element><polymer-element name="observatory-application" extends="obser vatory-element">
490 <template> 531 <template>
491 <navigation-bar app="{{ app }}"></navigation-bar> 532 <navigation-bar app="{{ app }}"></navigation-bar>
492 <response-viewer app="{{ app }}"></response-viewer> 533 <response-viewer app="{{ app }}"></response-viewer>
493 </template> 534 </template>
494 535
495 </polymer-element> 536 </polymer-element>
496 <observatory-application></observatory-application> 537 <observatory-application></observatory-application>
497 538
498 </body></html> 539 </body></html>
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/client/build.dart ('k') | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698