OLD | NEW |
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="observatory_element.html"> | 4 <link rel="import" href="observatory_element.html"> |
4 </head> | 5 </head> |
5 <polymer-element name="code-view" extends="observatory-element"> | 6 <polymer-element name="code-view" extends="observatory-element"> |
6 <template> | 7 <template> |
7 <div class="row"> | 8 <div class="row"> |
8 <div class="col-md-8 col-md-offset-2"> | 9 <div class="col-md-8 col-md-offset-2"> |
9 <div class="{{ cssPanelClass }}"> | 10 <div class="{{ cssPanelClass }}"> |
10 <div class="panel-heading"> | 11 <div class="panel-heading"> |
11 <a href="{{ app.locationManager.currentIsolateObjectLink(code['functio
n']['id'])}}"> | 12 <function-ref app="{{ app }}" ref="{{ code['function'] }}"></function-
ref> |
12 {{ code['function']['user_name'] }} ({{ code['function']['name'] }}) | |
13 </a> | |
14 </div> | 13 </div> |
15 <div class="panel-body"> | 14 <div class="panel-body"> |
16 <div class="row"> | 15 <div class="row"> |
17 <div class="col-md-2"><strong>Samples</strong></div> | 16 <div class="col-md-2"><strong>Samples</strong></div> |
18 <div class="col-md-2"><strong>Address</strong></div> | 17 <div class="col-md-2"><strong>Address</strong></div> |
19 <div><strong>Instruction</strong></div> | 18 <div><strong>Instruction</strong></div> |
20 </div> | 19 </div> |
21 <template repeat="{{ instruction in code['disassembly'] }}"> | 20 <template repeat="{{ instruction in code['disassembly'] }}"> |
22 <disassembly-entry instruction="{{ instruction }}"> | 21 <disassembly-entry instruction="{{ instruction }}"> |
23 </disassembly-entry> | 22 </disassembly-entry> |
24 </template> | 23 </template> |
25 </div> | 24 </div> |
26 </div> | 25 </div> |
27 </div> | 26 </div> |
28 </div> | 27 </div> |
29 </template> | 28 </template> |
30 <script type="application/dart" src="code_view.dart"></script> | 29 <script type="application/dart" src="code_view.dart"></script> |
31 </polymer-element> | 30 </polymer-element> |
OLD | NEW |