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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.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 <head> 1 <head>
2 <link rel="import" href="observatory_element.html"> 2 <link rel="import" href="observatory_element.html">
3 </head> 3 </head>
4 <polymer-element name="library-view" extends="observatory-element"> 4 <polymer-element name="library-view" extends="observatory-element">
5 <template> 5 <template>
6 <div class="alert alert-success">Library {{ library['name'] }}</div> 6 <div class="alert alert-success">Library {{ library['name'] }}</div>
7 <div class="alert alert-info">Scripts</div>
8 <table class="table table-hover">
9 <tbody>
10 <tr template repeat="{{ script in library['scripts']}}">
11 <td>
12 <a href="{{ app.locationManager.currentIsolateScriptLink(script['id'], script['name']) }}">{{ script['name'] }}</a>
13 </td>
14 </tr>
15 </tbody>
16 </table>
7 <div class="alert alert-info">Imported Libraries</div> 17 <div class="alert alert-info">Imported Libraries</div>
8 <table class="table table-hover"> 18 <table class="table table-hover">
9 <tbody> 19 <tbody>
10 <tr template repeat="{{ lib in library['libraries'] }}"> 20 <tr template repeat="{{ lib in library['libraries'] }}">
11 <td> 21 <td>
12 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" > 22 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" >
13 {{ lib['name'] }} 23 {{ lib['name'] }}
14 </a> 24 </a>
15 </td> 25 </td>
16 </tr> 26 </tr>
(...skipping 15 matching lines...) Expand all
32 </a> 42 </a>
33 </td> 43 </td>
34 <td> 44 <td>
35 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" > 45 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" >
36 {{ cls['name'] }} 46 {{ cls['name'] }}
37 </a> 47 </a>
38 </td> 48 </td>
39 </tr> 49 </tr>
40 </tbody> 50 </tbody>
41 </table> 51 </table>
52
42 </template> 53 </template>
43 <script type="application/dart" src="library_view.dart"></script> 54 <script type="application/dart" src="library_view.dart"></script>
44 </polymer-element> 55 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698