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

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

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

Powered by Google App Engine
This is Rietveld 408576698