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

Side by Side Diff: runtime/bin/vmservice/client/out/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, 1 month 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> 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>
3 <script src="packages/browser/interop.js"></script>
2 4
3 <title>Dart VM Observatory</title> 5 <title>Dart VM Observatory</title>
4 <meta charset="utf-8"> 6 <meta charset="utf-8">
5 <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">
6 8
7 <script src="index.html_bootstrap.dart.js"></script> 9 <script src="index.html_bootstrap.dart.js"></script>
8 10
9 </head> 11 </head>
10 <body><polymer-element name="observatory-element"> 12 <body><polymer-element name="observatory-element">
11 13
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 </div> 243 </div>
242 </div> 244 </div>
243 </div> 245 </div>
244 </div> 246 </div>
245 </template> 247 </template>
246 248
247 </polymer-element><polymer-element name="isolate-summary" extends="observatory-e lement"> 249 </polymer-element><polymer-element name="isolate-summary" extends="observatory-e lement">
248 <template> 250 <template>
249 <div class="row"> 251 <div class="row">
250 <div class="col-md-1"> 252 <div class="col-md-1">
251 » » <img src="img/isolate_icon.png" class="img-polaroid">» 253 » » <img src="packages/observatory/src/observatory_elements/img/isol ate_icon.png" class="img-polaroid">»
252 </div> 254 </div>
253 <div class="col-md-1">{{ isolate }}</div> 255 <div class="col-md-1">{{ isolate }}</div>
254 <div class="col-md-10">{{ name }}</div> 256 <div class="col-md-10">{{ name }}</div>
255 </div> 257 </div>
256 <div class="row"> 258 <div class="row">
257 <div class="col-md-2"></div> 259 <div class="col-md-2"></div>
258 <div class="col-md-1"> 260 <div class="col-md-1">
259 <a href="{{ app.locationManager.relativeLink(isolate, 'stacktrac e') }}">Stacktrace</a> 261 <a href="{{ app.locationManager.relativeLink(isolate, 'stacktrac e') }}">Stacktrace</a>
260 </div> 262 </div>
261 <div class="col-md-1"> 263 <div class="col-md-1">
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 <td><json-view json="{{value(key)}}"></json-view></td> 303 <td><json-view json="{{value(key)}}"></json-view></td>
302 </tr> 304 </tr>
303 </tbody> 305 </tbody>
304 </table> 306 </table>
305 </template> 307 </template>
306 </template> 308 </template>
307 309
308 </polymer-element><polymer-element name="library-view" extends="observatory-elem ent"> 310 </polymer-element><polymer-element name="library-view" extends="observatory-elem ent">
309 <template> 311 <template>
310 <div class="alert alert-success">Library {{ library['name'] }}</div> 312 <div class="alert alert-success">Library {{ library['name'] }}</div>
313 <div class="alert alert-info">Scripts</div>
314 <table class="table table-hover">
315 <tbody>
316 <tr template="" repeat="{{ script in library['scripts']}}">
317 <td>
318 <a href="{{ app.locationManager.currentIsolateScriptLink(script['id'], script['name']) }}">{{ script['name'] }}</a>
319 </td>
320 </tr>
321 </tbody>
322 </table>
311 <div class="alert alert-info">Imported Libraries</div> 323 <div class="alert alert-info">Imported Libraries</div>
312 <table class="table table-hover"> 324 <table class="table table-hover">
313 <tbody> 325 <tbody>
314 <tr template="" repeat="{{ lib in library['libraries'] }}"> 326 <tr template="" repeat="{{ lib in library['libraries'] }}">
315 <td> 327 <td>
316 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" > 328 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" >
317 {{ lib['name'] }} 329 {{ lib['name'] }}
318 </a> 330 </a>
319 </td> 331 </td>
320 </tr> 332 </tr>
(...skipping 15 matching lines...) Expand all
336 </a> 348 </a>
337 </td> 349 </td>
338 <td> 350 <td>
339 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" > 351 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" >
340 {{ cls['name'] }} 352 {{ cls['name'] }}
341 </a> 353 </a>
342 </td> 354 </td>
343 </tr> 355 </tr>
344 </tbody> 356 </tbody>
345 </table> 357 </table>
358
359 </template>
360
361 </polymer-element><polymer-element name="source-view" extends="observatory-eleme nt">
362 <template>
363 <div class="row">
364 <div class="col-md-8 col-md-offset-2">
365 <div class="panel-heading">{{ source.url }}</div>
366 <div class="panel-body">
367 <div class="row">
368 <div><strong>Source</strong></div>
369 </div>
370 <pre> <template repeat="{{ line in source.lines }}">{{line.padded Line}} {{line.src}}
371 </template>
372 </pre>
373 </div>
374 </div>
375 </div>
376 </template>
377
378 </polymer-element><polymer-element name="script-view" extends="observatory-eleme nt">
379 <template>
380 <source-view app="{{ app }}" source="{{ script['source'] }}"></source-view>
346 </template> 381 </template>
347 382
348 </polymer-element><polymer-element name="stack-trace" extends="observatory-eleme nt"> 383 </polymer-element><polymer-element name="stack-trace" extends="observatory-eleme nt">
349 <template> 384 <template>
350 <div class="alert alert-info">Stack Trace</div> 385 <div class="alert alert-info">Stack Trace</div>
351 <table class="table table-hover"> 386 <table class="table table-hover">
352 <thead> 387 <thead>
353 <tr> 388 <tr>
354 <th>Depth</th> 389 <th>Depth</th>
355 <th>Function</th> 390 <th>Function</th>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 </template> 429 </template>
395 <template if="{{ messageType == 'Field' }}"> 430 <template if="{{ messageType == 'Field' }}">
396 <field-view app="{{ app }}" field="{{ message }}"></field-view> 431 <field-view app="{{ app }}" field="{{ message }}"></field-view>
397 </template> 432 </template>
398 <template if="{{ messageType == 'Function' }}"> 433 <template if="{{ messageType == 'Function' }}">
399 <function-view app="{{ app }}" function="{{ message }}"></function-view> 434 <function-view app="{{ app }}" function="{{ message }}"></function-view>
400 </template> 435 </template>
401 <template if="{{ messageType == 'Code' }}"> 436 <template if="{{ messageType == 'Code' }}">
402 <code-view app="{{ app }}" code="{{ message }}"></code-view> 437 <code-view app="{{ app }}" code="{{ message }}"></code-view>
403 </template> 438 </template>
439 <template if="{{ messageType == 'Script' }}">
440 <script-view app="{{ app }}" script="{{ message }}"></script-view>
441 </template>
404 <!-- Add new views and message types in the future here. --> 442 <!-- Add new views and message types in the future here. -->
405 </template> 443 </template>
406 444
407 </polymer-element><polymer-element name="navigation-bar" extends="observatory-el ement"> 445 </polymer-element><polymer-element name="navigation-bar" extends="observatory-el ement">
408 <template> 446 <template>
409 <nav class="navbar navbar-default" role="navigation"> 447 <nav class="navbar navbar-default" role="navigation">
410 <div class="navbar-header"> 448 <div class="navbar-header">
411 <a class="navbar-brand" href="">Observatory</a> 449 <a class="navbar-brand" href="">Observatory</a>
412 </div> 450 </div>
413 <div class="collapse navbar-collapse navbar-ex1-collapse"> 451 <div class="collapse navbar-collapse navbar-ex1-collapse">
(...skipping 14 matching lines...) Expand all
428 466
429 </polymer-element><polymer-element name="observatory-application" extends="obser vatory-element"> 467 </polymer-element><polymer-element name="observatory-application" extends="obser vatory-element">
430 <template> 468 <template>
431 <navigation-bar app="{{ app }}"></navigation-bar> 469 <navigation-bar app="{{ app }}"></navigation-bar>
432 <response-viewer app="{{ app }}"></response-viewer> 470 <response-viewer app="{{ app }}"></response-viewer>
433 </template> 471 </template>
434 472
435 </polymer-element> 473 </polymer-element>
436 <observatory-application></observatory-application> 474 <observatory-application></observatory-application>
437 475
438 </body></html> 476 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698