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

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

Issue 165643003: Rework <script-ref>: - optional 'line' parameter - use a shorter version of the script url in the a… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 10 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
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><html><head> 1 <!DOCTYPE html><html><head>
2 2
3 3
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss"> 5 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss">
6 6
7 <title>Dart VM Observatory</title> 7 <title>Dart VM Observatory</title>
8 <script type="text/javascript" src="https://www.google.com/jsapi"></script> 8 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
9 9
10 10
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</t d> 350 <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</t d>
351 </tr> 351 </tr>
352 </tbody> 352 </tbody>
353 </table> 353 </table>
354 </div> 354 </div>
355 </div> 355 </div>
356 </div> 356 </div>
357 </div> 357 </div>
358 </template> 358 </template>
359 359
360 </polymer-element><polymer-element name="isolate-summary" extends="observatory-e lement"> 360 </polymer-element><polymer-element name="script-ref" extends="service-ref">
361 <template>
362 <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a>
363 </template>
364
365 </polymer-element>
366 <polymer-element name="isolate-summary" extends="observatory-element">
361 <template> 367 <template>
362 <div class="row"> 368 <div class="row">
363 <div class="col-md-1"> 369 <div class="col-md-1">
364 <img src="img/isolate_icon.png" class="img-polaroid"> 370 <img src="img/isolate_icon.png" class="img-polaroid">
365 </div> 371 </div>
366 372
367 <div class="col-md-1">{{ isolate.name }}</div> 373 <div class="col-md-1">{{ isolate.name }}</div>
368 374
369 <!-- TODO(turnidge): Use function-ref when it can take isolate param --> 375 <!-- TODO(turnidge): Use function-ref when it can take isolate param -->
370 <div class="col-md-4"> 376 <div class="col-md-4">
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 run 436 run
431 </template> 437 </template>
432 ( <a href="{{ app.locationManager.relativeLink(isolate.id, 'stacktrace') }}">stack trace</a> ) 438 ( <a href="{{ app.locationManager.relativeLink(isolate.id, 'stacktrace') }}">stack trace</a> )
433 </div> 439 </div>
434 </div> 440 </div>
435 <div class="row"> 441 <div class="row">
436 <div class="col-md-3"> 442 <div class="col-md-3">
437 </div> 443 </div>
438 <div class="col-md-6"> 444 <div class="col-md-6">
439 <template if="{{ isolate.topFrame != null }}"> 445 <template if="{{ isolate.topFrame != null }}">
440 <a href="{{ app.locationManager.relativeLink(isolate.id, isolate.topFr ame['function']['id']) }}"> 446 <function-ref app="{{ app }}" isolate="{{ isolate }}" ref="{{ isolate. topFrame['function'] }}"></function-ref>
441 {{ isolate.topFrame['function']['user_name'] }} 447 (<script-ref app="{{ app }}" isolate="{{ isolate }}" ref="{{ isolate.t opFrame['script'] }}" line="{{ isolate.topFrame['line'] }}"></script-ref>)
442 </a>
443 (<a href="{{ app.locationManager.relativeLink(isolate.id, isolate.topF rame['script']['id']) }}">
444 {{ isolate.topFrame | fileAndLine }}
445 </a>)
446 <br> 448 <br>
447 <pre>{{ isolate.topFrame['line'] }} &nbsp; {{ isolate.topFrame['lineSt ring'] }}</pre> 449 <pre>{{ isolate.topFrame['line'] }} &nbsp; {{ isolate.topFrame['lineSt ring'] }}</pre>
448 </template> 450 </template>
449 </div> 451 </div>
450 <div class="col-md-3"> 452 <div class="col-md-3">
451 </div> 453 </div>
452 </div> 454 </div>
453 </template> 455 </template>
454 456
455 </polymer-element> 457 </polymer-element>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 <tr template="" repeat="{{key in keys}}"> 530 <tr template="" repeat="{{key in keys}}">
529 <th>{{key}}</th> 531 <th>{{key}}</th>
530 <td><json-view json="{{value(key)}}"></json-view></td> 532 <td><json-view json="{{value(key)}}"></json-view></td>
531 </tr> 533 </tr>
532 </tbody> 534 </tbody>
533 </table> 535 </table>
534 </template> 536 </template>
535 </template> 537 </template>
536 538
537 </polymer-element> 539 </polymer-element>
538 <polymer-element name="script-ref" extends="service-ref"> 540 <polymer-element name="library-view" extends="observatory-element">
539 <template>
540 <a href="{{ url }}">{{ name }}</a>
541 </template>
542
543 </polymer-element><polymer-element name="library-view" extends="observatory-elem ent">
544 <template> 541 <template>
545 <div class="alert alert-success">Library {{ library['name'] }}</div> 542 <div class="alert alert-success">Library {{ library['name'] }}</div>
546 <div class="alert alert-info">Scripts</div> 543 <div class="alert alert-info">Scripts</div>
547 <table class="table table-hover"> 544 <table class="table table-hover">
548 <tbody> 545 <tbody>
549 <tr template="" repeat="{{ script in library['scripts']}}"> 546 <tr template="" repeat="{{ script in library['scripts']}}">
550 <td> 547 <td>
551 {{ script['kind'] }} 548 {{ script['kind'] }}
552 </td> 549 </td>
553 <td> 550 <td>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 padding: 0 1em; 695 padding: 0 1em;
699 } 696 }
700 </style> 697 </style>
701 <div class="row"> 698 <div class="row">
702 <div class="col-md-1"></div> 699 <div class="col-md-1"></div>
703 <div class="col-md-1"> 700 <div class="col-md-1">
704 #{{ frame['depth'] }} 701 #{{ frame['depth'] }}
705 </div> 702 </div>
706 <div class="col-md-9"> 703 <div class="col-md-9">
707 <function-ref app="{{ app }}" ref="{{ frame['function'] }}"></function-r ef> 704 <function-ref app="{{ app }}" ref="{{ frame['function'] }}"></function-r ef>
708 ( <script-ref app="{{ app }}" ref="{{ frame['script'] }}"></script-ref>: {{ frame['line'] }} ) 705 ( <script-ref app="{{ app }}" ref="{{ frame['script'] }}" line="{{ frame ['line'] }}">
706 </script-ref> )
709 </div> 707 </div>
710 <div class="col-md-1"></div> 708 <div class="col-md-1"></div>
711 </div> 709 </div>
712 710
713 <div class="row"> 711 <div class="row">
714 <div class="col-md-3"></div> 712 <div class="col-md-3"></div>
715 <div class="col-md-9"> 713 <div class="col-md-9">
716 <table class="memberList"> 714 <table class="memberList">
717 <tbody><tr template="" repeat="{{ v in frame['vars'] }}"> 715 <tbody><tr template="" repeat="{{ v in frame['vars'] }}">
718 <td class="member">{{ v['name']}}</td> 716 <td class="member">{{ v['name']}}</td>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 </template> 887 </template>
890 <template if="{{ app.locationManager.profile == false }}"> 888 <template if="{{ app.locationManager.profile == false }}">
891 <response-viewer app="{{ app }}"></response-viewer> 889 <response-viewer app="{{ app }}"></response-viewer>
892 </template> 890 </template>
893 </template> 891 </template>
894 892
895 </polymer-element> 893 </polymer-element>
896 <observatory-application></observatory-application> 894 <observatory-application></observatory-application>
897 895
898 </body></html> 896 </body></html>
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698