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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/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 }}"></isolate-nav-menu>
16 </isolate-nav-menu> 16 <library-nav-menu isolate="{{ isolate }}" library="{{ library }}" last="{{ true }}"></library-nav-menu>
17 <library-nav-menu app="{{ app }}" library="{{ library }}" last="{{ true }} "></library-nav-menu>
18 <nav-refresh callback="{{ refresh }}"></nav-refresh> 17 <nav-refresh callback="{{ refresh }}"></nav-refresh>
19 </nav-bar> 18 </nav-bar>
20 19
21 <div class="alert alert-info">Scripts</div> 20 <div class="alert alert-info">Scripts</div>
22 <table class="table table-hover"> 21 <table class="table table-hover">
23 <tbody> 22 <tbody>
24 <tr template repeat="{{ script in library['scripts']}}"> 23 <tr template repeat="{{ script in library['scripts']}}">
25 <td> 24 <td>
26 {{ script['kind'] }} 25 {{ script['kind'] }}
27 </td> 26 </td>
28 <td> 27 <td>
29 <script-ref app="{{ app }}" ref="{{ script }}"></script-ref> 28 <script-ref isolate="{{ isolate }}" ref="{{ script }}"></script-ref>
30 </td> 29 </td>
31 </tr> 30 </tr>
32 </tbody> 31 </tbody>
33 </table> 32 </table>
34 <div class="alert alert-info">Imported Libraries</div> 33 <div class="alert alert-info">Imported Libraries</div>
35 <table class="table table-hover"> 34 <table class="table table-hover">
36 <tbody> 35 <tbody>
37 <tr template repeat="{{ lib in library['libraries'] }}"> 36 <tr template repeat="{{ lib in library['libraries'] }}">
38 <td> 37 <td>
39 <library-ref app="{{ app }}" ref="{{ lib }}"></library-ref> 38 <library-ref isolate="{{ isolate }}" ref="{{ lib }}"></library-ref>
40 </td> 39 </td>
41 </tr> 40 </tr>
42 </tbody> 41 </tbody>
43 </table> 42 </table>
44 <div class="alert alert-info">Variables</div> 43 <div class="alert alert-info">Variables</div>
45 <table class="table table-hover"> 44 <table class="table table-hover">
46 <tbody> 45 <tbody>
47 <tr template repeat="{{ variable in library['variables'] }}"> 46 <tr template repeat="{{ variable in library['variables'] }}">
48 <td><field-ref app="{{ app }}" ref="{{ variable }}"></field-ref></td> 47 <td><field-ref isolate="{{ isolate }}" ref="{{ variable }}"></field-ref> </td>
49 <td><instance-ref app="{{ app }}" ref="{{ variable['value'] }}"></instan ce-ref></td> 48 <td><instance-ref isolate="{{ isolate }}" ref="{{ variable['value'] }}"> </instance-ref></td>
50 </tr> 49 </tr>
51 </tbody> 50 </tbody>
52 </table> 51 </table>
53 <div class="alert alert-info">Functions</div> 52 <div class="alert alert-info">Functions</div>
54 <table class="table table-hover"> 53 <table class="table table-hover">
55 <tbody> 54 <tbody>
56 <tr template repeat="{{ func in library['functions'] }}"> 55 <tr template repeat="{{ func in library['functions'] }}">
57 <td> 56 <td>
58 <function-ref app="{{ app }}" ref="{{ func }}"></function-ref> 57 <function-ref isolate="{{ isolate }}" ref="{{ func }}"></function-ref>
59 </td> 58 </td>
60 </tr> 59 </tr>
61 </tbody> 60 </tbody>
62 </table> 61 </table>
63 <div class="alert alert-info">Classes</div> 62 <div class="alert alert-info">Classes</div>
64 <table class="table table-hover"> 63 <table class="table table-hover">
65 <thead> 64 <thead>
66 <tr> 65 <tr>
67 <th>Name</th> 66 <th>Name</th>
68 <th>Internal Name</th> 67 <th>Internal Name</th>
69 </tr> 68 </tr>
70 </thead> 69 </thead>
71 <tbody> 70 <tbody>
72 <tr template repeat="{{ cls in library['classes'] }}"> 71 <tr template repeat="{{ cls in library['classes'] }}">
73 <td> 72 <td>
74 <class-ref app="{{ app }}" ref="{{ cls }}"></class-ref> 73 <class-ref isolate="{{ isolate }}" ref="{{ cls }}"></class-ref>
75 </td> 74 </td>
76 <td> 75 <td>
77 <class-ref app="{{ app }}" ref="{{ cls }}" internal></class-ref> 76 <class-ref isolate="{{ isolate }}" ref="{{ cls }}" internal></class-re f>
78 </td> 77 </td>
79 </tr> 78 </tr>
80 </tbody> 79 </tbody>
81 </table> 80 </table>
82 81
83 </template> 82 </template>
84 <script type="application/dart" src="library_view.dart"></script> 83 <script type="application/dart" src="library_view.dart"></script>
85 </polymer-element> 84 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698