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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/code_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="disassembly_entry.html"> 2 <link rel="import" href="disassembly_entry.html">
3 <link rel="import" href="function_ref.html"> 3 <link rel="import" href="function_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="code-view" extends="observatory-element"> 7 <polymer-element name="code-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 <nav-menu link="." anchor="{{ code.functionRef['user_name'] }}" last="{{ t rue }}"></nav-menu>
14 <!-- TODO(turnidge): Implement code refresh -->
15 </nav-bar>
16
8 <div class="row"> 17 <div class="row">
9 <div class="col-md-8 col-md-offset-2"> 18 <div class="col-md-8 col-md-offset-2">
10 <div class="{{ cssPanelClass }}"> 19 <div class="{{ cssPanelClass }}">
11 <div class="panel-heading"> 20 <div class="panel-heading">
12 <function-ref app="{{ app }}" ref="{{ code.functionRef }}"></function- ref> 21 <function-ref app="{{ app }}" ref="{{ code.functionRef }}"></function- ref>
13 </div> 22 </div>
14 <div class="panel-body"> 23 <div class="panel-body">
15 <div class="row"> 24 <div class="row">
16 <div class="col-md-2"><strong>Samples</strong></div> 25 <div class="col-md-2"><strong>Samples</strong></div>
17 <div class="col-md-2"><strong>Address</strong></div> 26 <div class="col-md-2"><strong>Address</strong></div>
18 <div><strong>Instruction</strong></div> 27 <div><strong>Instruction</strong></div>
19 </div> 28 </div>
20 <template repeat="{{ instruction in code.instructions }}"> 29 <template repeat="{{ instruction in code.instructions }}">
21 <disassembly-entry instruction="{{ instruction }}"> 30 <disassembly-entry instruction="{{ instruction }}">
22 </disassembly-entry> 31 </disassembly-entry>
23 </template> 32 </template>
24 </div> 33 </div>
25 </div> 34 </div>
26 </div> 35 </div>
27 </div> 36 </div>
28 </template> 37 </template>
29 <script type="application/dart" src="code_view.dart"></script> 38 <script type="application/dart" src="code_view.dart"></script>
30 </polymer-element> 39 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698