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

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

Issue 185413015: Update the navbar in the observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: new js 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="code_ref.html"> 3 <link rel="import" href="code_ref.html">
4 <link rel="import" href="nav_bar.html">
4 <link rel="import" href="observatory_element.html"> 5 <link rel="import" href="observatory_element.html">
5 </head> 6 </head>
6 <polymer-element name="function-view" extends="observatory-element"> 7 <polymer-element name="function-view" extends="observatory-element">
7 <template> 8 <template>
9 <nav-bar>
10 <top-nav-menu></top-nav-menu>
11 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI solate() }}">
12 </isolate-nav-menu>
13 <template if="{{ function['owner']['type'] == '@Class' }}">
14 <!-- TODO(turnidge): Add library nav menu here. -->
15 <class-nav-menu app="{{ app }}" cls="{{ function['owner'] }}"></class-na v-menu>
16 </template>
17 <template if="{{ function['owner']['type'] == '@Library' }}">
18 <library-nav-menu app="{{ app }}" library="{{ function['owner'] }}"></li brary-nav-menu>
19 </template>
20 <nav-menu link="." anchor="{{ function['user_name'] }}" last="{{ true }}"> </nav-menu>
21 <nav-refresh callback="{{ refresh }}"></nav-refresh>
22 </nav-bar>
23
8 <div class="row"> 24 <div class="row">
9 <div class="col-md-8 col-md-offset-2"> 25 <div class="col-md-8 col-md-offset-2">
10 <div class="panel panel-warning"> 26 <div class="panel panel-warning">
11 <div class="panel-heading"> 27 <div class="panel-heading">
12 {{ function['user_name'] }} ({{ function['name'] }}) 28 {{ function['user_name'] }} ({{ function['name'] }})
13 <class-ref app="{{ app }}" ref="{{ function['class'] }}"></class-ref> 29 <class-ref app="{{ app }}" ref="{{ function['class'] }}"></class-ref>
14 </div> 30 </div>
15 <div class="panel-body"> 31 <div class="panel-body">
16 <div> 32 <div>
17 <code-ref app="{{ app }}" ref="{{ function['code'] }}"></code-ref> 33 <code-ref app="{{ app }}" ref="{{ function['code'] }}"></code-ref>
(...skipping 26 matching lines...) Expand all
44 <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</t d> 60 <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</t d>
45 </tr> 61 </tr>
46 </tbody> 62 </tbody>
47 </table> 63 </table>
48 </div> 64 </div>
49 </div> 65 </div>
50 </div> 66 </div>
51 </div> 67 </div>
52 </template> 68 </template>
53 <script type="application/dart" src="function_view.dart"></script> 69 <script type="application/dart" src="function_view.dart"></script>
54 </polymer-element> 70 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698