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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/class_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
(Empty)
1 <head>
2 <link rel="import" href="error_view.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">
7 <link rel="import" href="nav_bar.html">
8 <link rel="import" href="observatory_element.html">
9 </head>
10 <polymer-element name="class-view" extends="observatory-element">
11 <template>
12 <nav-bar>
13 <top-nav-menu></top-nav-menu>
14 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI solate() }}">
15 </isolate-nav-menu>
16 <library-nav-menu app="{{ app }}" library="{{ cls['library'] }}"></library -nav-menu>
17 <class-nav-menu app="{{ app }}" cls="{{ cls }}" last="{{ true }}"></class- nav-menu>
18 <nav-refresh callback="{{ refresh }}"></nav-refresh>
19 </nav-bar>
20
21 <div class="row">
22 <div class="col-md-8 col-md-offset-2">
23 <div class="panel panel-warning">
24 <div class="panel-heading">
25 class <strong>{{ cls['user_name'] }}</strong>
26 <template if="{{ cls['super']['type'] != 'Null' }}">
27 extends
28 <class-ref app="{{ app }}" ref="{{ cls['super'] }}"></class-ref>
29 </template>
30 <library-ref app="{{ app }}" ref="{{ cls['library'] }}"></library-ref>
31 </div>
32 <div class="panel-body">
33 <table class="table table-hover">
34 <tbody>
35 <tr>
36 <td>Abstract</td><td>{{ cls['abstract'] }}</td>
37 </tr>
38 <tr>
39 <td>Const</td><td>{{ cls['const'] }}</td>
40 </tr>
41 <tr>
42 <td>Finalized</td><td>{{ cls['const'] }}</td>
43 </tr>
44 <tr>
45 <td>Implemented</td><td>{{ cls['implemented'] }}</td>
46 </tr>
47 <tr>
48 <td>Patch</td><td>{{ cls['patch'] }}</td>
49 </tr>
50 <tr>
51 <td>VM Name</td><td>{{ cls['name'] }}</td>
52 </tr>
53 </tbody>
54 </table>
55 <template if="{{ cls['error'] == null }}">
56 <blockquote><strong>Fields</strong></blockquote>
57 <table class="table table-hover">
58 <tbody>
59 <tr template repeat="{{ field in cls['fields'] }}">
60 <td><field-ref app="{{ app }}" ref="{{ field }}"></field-ref>< /td>
61 <td><instance-ref app="{{ app }}" ref="{{ field['value'] }}">< /instance-ref></td>
62 </tr>
63 </tbody>
64 </table>
65 <blockquote><strong>Functions</strong></blockquote>
66 <table class="table table-hover">
67 <thead>
68 <tr>
69 <th>User Name</th>
70 <th>VM Name</th>
71 </tr>
72 </thead>
73 <tbody>
74 <tr template repeat="{{ function in cls['functions'] }}">
75 <td><function-ref app="{{ app }}" ref="{{ function }}"></funct ion-ref></td>
76 <td><function-ref app="{{ app }}" ref="{{ function }}" interna l></function-ref></td>
77 </tr>
78 </tbody>
79 </table>
80 </template>
81 <template if="{{ cls['error'] != null }}">
82 <error-view error_obj="{{ cls['error'] }}"></error-view>
83 </template>
84 </div>
85 </div>
86 </div>
87 </div>
88 </template>
89 <script type="application/dart" src="class_view.dart"></script>
90 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698