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

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

Issue 82793004: Add field and function view for libraries. Rough cut. (Closed) Base URL: http://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
11 </head> 11 </head>
12 <body><polymer-element name="observatory-element"> 12 <body><polymer-element name="observatory-element">
13 13
14 </polymer-element><polymer-element name="error-view" extends="observatory-elemen t"> 14 </polymer-element><polymer-element name="error-view" extends="observatory-elemen t">
15 <template> 15 <template>
16 <div class="row"> 16 <div class="row">
17 <div class="col-md-8 col-md-offset-2"> 17 <div class="col-md-8 col-md-offset-2">
18 <div class="panel panel-danger"> 18 <div class="panel panel-danger">
19 <div class="panel-heading">Error</div> 19 <div class="panel-heading">Error</div>
20 <div class="panel-body"> 20 <div class="panel-body">
21 » <template if="{{ (error_obj == null) || (error_obj['type'] != '@ LanguageError') }}"> 21 <template if="{{ (error_obj == null) || (error_obj['type'] != 'Languag eError') }}">
22 » <p>{{ error }}</p> 22 <p>{{ error }}</p>
23 » </template> 23 </template>
24 » <template if="{{ (error_obj != null) &amp;&amp; (error_obj['type '] == '@LanguageError') }}"> 24 <template if="{{ (error_obj != null) &amp;&amp; (error_obj['type'] == 'LanguageError') }}">
25 » <pre>{{ error_obj['error_msg'] }}</pre> 25 <pre>{{ error_obj['error_msg'] }}</pre>
26 » </template> 26 </template>
27 </div> 27 </div>
28 </div> 28 </div>
29 </div> 29 </div>
30 </div> 30 </div>
31 </template> 31 </template>
32 32
33 </polymer-element><polymer-element name="class-view" extends="observatory-elemen t"> 33 </polymer-element><polymer-element name="class-view" extends="observatory-elemen t">
34 <template> 34 <template>
35 <div class="row"> 35 <div class="row">
36 <div class="col-md-8 col-md-offset-2"> 36 <div class="col-md-8 col-md-offset-2">
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 319
320 </polymer-element><polymer-element name="library-view" extends="observatory-elem ent"> 320 </polymer-element><polymer-element name="library-view" extends="observatory-elem ent">
321 <template> 321 <template>
322 <div class="alert alert-success">Library {{ library['name'] }}</div> 322 <div class="alert alert-success">Library {{ library['name'] }}</div>
323 <div class="alert alert-info">Imported Libraries</div> 323 <div class="alert alert-info">Imported Libraries</div>
324 <table class="table table-hover"> 324 <table class="table table-hover">
325 <tbody> 325 <tbody>
326 <tr template="" repeat="{{ lib in library['libraries'] }}"> 326 <tr template="" repeat="{{ lib in library['libraries'] }}">
327 <td> 327 <td>
328 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" > 328 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" >
329 {{ lib['name'] }} 329 {{ lib['url'] }}
330 </a>
331 </td>
332 </tr>
333 </tbody>
334 </table>
335 <div class="alert alert-info">Variables</div>
336 <table class="table table-hover">
337 <tbody>
338 <tr template="" repeat="{{ variable in library['variables'] }}">
339 <td>
340 <template if="{{ variable['final'] }}">
341 final
342 </template>
343 <template if="{{ variable['const'] }}">
344 const
345 </template>
346 <template if="{{ (variable['declared_type']['name'] == 'dynamic' &amp; &amp; !variable['final'] &amp;&amp; !variable['const']) }}">
347 var
348 </template>
349 <template if="{{ (variable['declared_type']['name'] != 'dynamic') }}">
350 <a href="{{ app.locationManager.currentIsolateClassLink(variable['de clared_type']['id']) }}">
351 {{ variable['declared_type']['user_name'] }}
352 </a>
353 </template>
354 <a href="{{ app.locationManager.currentIsolateObjectLink(variable['id' ])}}">
355 {{ variable['user_name'] }}
356 </a>
357 </td>
358 <td>
359 <template if="{{ (variable['value']['type'] == 'null') }}">
360 {{ "null" }}
361 </template>
362 <template if="{{ (variable['value']['type'] != 'null') }}">
363 <a href="{{ app.locationManager.currentIsolateObjectLink(variable['v alue']['id'])}}">
364 {{ variable['value']['preview'] }}
365 </a>
366 </template>
367 </td>
368 </tr>
369 </tbody>
370 </table>
371 <div class="alert alert-info">Functions</div>
372 <table class="table table-hover">
373 <tbody>
374 <tr template="" repeat="{{ func in library['functions'] }}">
375 <td>
376 <a href="{{ app.locationManager.currentIsolateObjectLink(func['id'])}} ">
377 {{ func['user_name'] }}
330 </a> 378 </a>
331 </td> 379 </td>
332 </tr> 380 </tr>
333 </tbody> 381 </tbody>
334 </table> 382 </table>
335 <div class="alert alert-info">Classes</div> 383 <div class="alert alert-info">Classes</div>
336 <table class="table table-hover"> 384 <table class="table table-hover">
337 <thead> 385 <thead>
338 <tr> 386 <tr>
339 <th>Name</th> 387 <th>Name</th>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 </polymer-element><polymer-element name="observatory-application" extends="obser vatory-element"> 489 </polymer-element><polymer-element name="observatory-application" extends="obser vatory-element">
442 <template> 490 <template>
443 <navigation-bar app="{{ app }}"></navigation-bar> 491 <navigation-bar app="{{ app }}"></navigation-bar>
444 <response-viewer app="{{ app }}"></response-viewer> 492 <response-viewer app="{{ app }}"></response-viewer>
445 </template> 493 </template>
446 494
447 </polymer-element> 495 </polymer-element>
448 <observatory-application></observatory-application> 496 <observatory-application></observatory-application>
449 497
450 </body></html> 498 </body></html>
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | runtime/vm/object_id_ring.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698