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

Side by Side Diff: dart/runtime/bin/vmservice/client/lib/src/observatory_elements/library_view.html

Issue 119673004: Version 1.1.0-dev.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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
OLDNEW
1 <head> 1 <head>
2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="field_ref.html">
4 <link rel="import" href="function_ref.html">
5 <link rel="import" href="instance_ref.html">
6 <link rel="import" href="library_ref.html">
2 <link rel="import" href="observatory_element.html"> 7 <link rel="import" href="observatory_element.html">
3 <link rel="import" href="field_ref.html"> 8 <link rel="import" href="script_ref.html">
4 <link rel="import" href="instance_ref.html">
5 </head> 9 </head>
6 <polymer-element name="library-view" extends="observatory-element"> 10 <polymer-element name="library-view" extends="observatory-element">
7 <template> 11 <template>
8 <div class="alert alert-success">Library {{ library['name'] }}</div> 12 <div class="alert alert-success">Library {{ library['name'] }}</div>
9 <div class="alert alert-info">Scripts</div> 13 <div class="alert alert-info">Scripts</div>
10 <table class="table table-hover"> 14 <table class="table table-hover">
11 <tbody> 15 <tbody>
12 <tr template repeat="{{ script in library['scripts']}}"> 16 <tr template repeat="{{ script in library['scripts']}}">
13 <td> 17 <td>
14 {{ script['kind'] }} 18 {{ script['kind'] }}
15 </td> 19 </td>
16 <td> 20 <td>
17 <a href="{{ app.locationManager.currentIsolateScriptLink(script['id'], script['name']) }}">{{ script['name'] }}</a> 21 <script-ref app="{{ app }}" ref="{{ script }}"></script-ref>
18 </td> 22 </td>
19 </tr> 23 </tr>
20 </tbody> 24 </tbody>
21 </table> 25 </table>
22 <div class="alert alert-info">Imported Libraries</div> 26 <div class="alert alert-info">Imported Libraries</div>
23 <table class="table table-hover"> 27 <table class="table table-hover">
24 <tbody> 28 <tbody>
25 <tr template repeat="{{ lib in library['libraries'] }}"> 29 <tr template repeat="{{ lib in library['libraries'] }}">
26 <td> 30 <td>
27 <a href="{{ app.locationManager.currentIsolateObjectLink(lib['id'])}}" > 31 <library-ref app="{{ app }}" ref="{{ lib }}"></library-ref>
28 {{ lib['url'] }}
29 </a>
30 </td> 32 </td>
31 </tr> 33 </tr>
32 </tbody> 34 </tbody>
33 </table> 35 </table>
34 <div class="alert alert-info">Variables</div> 36 <div class="alert alert-info">Variables</div>
35 <table class="table table-hover"> 37 <table class="table table-hover">
36 <tbody> 38 <tbody>
37 <tr template repeat="{{ variable in library['variables'] }}"> 39 <tr template repeat="{{ variable in library['variables'] }}">
38 <td><field-ref app="{{ app }}" field="{{ variable }}"></field-ref></td> 40 <td><field-ref app="{{ app }}" ref="{{ variable }}"></field-ref></td>
39 <td><instance-ref app="{{ app }}" instance="{{ variable['value'] }}"></i nstance-ref></td> 41 <td><instance-ref app="{{ app }}" ref="{{ variable['value'] }}"></instan ce-ref></td>
40 </tr> 42 </tr>
41 </tbody> 43 </tbody>
42 </table> 44 </table>
43 <div class="alert alert-info">Functions</div> 45 <div class="alert alert-info">Functions</div>
44 <table class="table table-hover"> 46 <table class="table table-hover">
45 <tbody> 47 <tbody>
46 <tr template repeat="{{ func in library['functions'] }}"> 48 <tr template repeat="{{ func in library['functions'] }}">
47 <td> 49 <td>
48 <a href="{{ app.locationManager.currentIsolateObjectLink(func['id'])}} "> 50 <function-ref app="{{ app }}" ref="{{ func }}"></function-ref>
49 {{ func['user_name'] }}
50 </a>
51 </td> 51 </td>
52 </tr> 52 </tr>
53 </tbody> 53 </tbody>
54 </table> 54 </table>
55 <div class="alert alert-info">Classes</div> 55 <div class="alert alert-info">Classes</div>
56 <table class="table table-hover"> 56 <table class="table table-hover">
57 <thead> 57 <thead>
58 <tr> 58 <tr>
59 <th>Name</th> 59 <th>Name</th>
60 <th>Internal Name</th> 60 <th>Internal Name</th>
61 </tr> 61 </tr>
62 </thead> 62 </thead>
63 <tbody> 63 <tbody>
64 <tr template repeat="{{ cls in library['classes'] }}"> 64 <tr template repeat="{{ cls in library['classes'] }}">
65 <td> 65 <td>
66 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" > 66 <class-ref app="{{ app }}" ref="{{ cls }}"></class-ref>
67 {{ cls['user_name'] }}
68 </a>
69 </td> 67 </td>
70 <td> 68 <td>
71 <a href="{{ app.locationManager.currentIsolateClassLink(cls['id']) }}" > 69 <class-ref app="{{ app }}" ref="{{ cls }}" internal></class-ref>
72 {{ cls['name'] }}
73 </a>
74 </td> 70 </td>
75 </tr> 71 </tr>
76 </tbody> 72 </tbody>
77 </table> 73 </table>
78 74
79 </template> 75 </template>
80 <script type="application/dart" src="library_view.dart"></script> 76 <script type="application/dart" src="library_view.dart"></script>
81 </polymer-element> 77 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698