OLD | NEW |
1 <head> | 1 <head> |
| 2 <link rel="import" href="class_ref.html"> |
| 3 <link rel="import" href="code_ref.html"> |
2 <link rel="import" href="observatory_element.html"> | 4 <link rel="import" href="observatory_element.html"> |
3 </head> | 5 </head> |
4 <polymer-element name="function-view" extends="observatory-element"> | 6 <polymer-element name="function-view" extends="observatory-element"> |
5 <template> | 7 <template> |
6 <div class="row"> | 8 <div class="row"> |
7 <div class="col-md-8 col-md-offset-2"> | 9 <div class="col-md-8 col-md-offset-2"> |
8 <div class="panel panel-warning"> | 10 <div class="panel panel-warning"> |
9 <div class="panel-heading"> | 11 <div class="panel-heading"> |
10 {{ function['user_name'] }} ({{ function['name'] }}) | 12 {{ function['user_name'] }} ({{ function['name'] }}) |
11 <a class="pull-right" href="{{ app.locationManager.currentIsolateClass
Link(function['class']['id'])}}"> | 13 <class-ref app="{{ app }}" ref="{{ function['class'] }}"></class-ref> |
12 {{ function['class']['name'] }} | |
13 </a> | |
14 </div> | 14 </div> |
15 <div class="panel-body"> | 15 <div class="panel-body"> |
16 <div> | 16 <div> |
17 <a class="btn btn-primary" href="{{ app.locationManager.currentIsolate
ObjectLink(function['code']['id'])}}">Current Code</a> | 17 <code-ref app="{{ app }}" ref="{{ function['code'] }}"></code-ref> |
18 <a class="btn btn-info" href="{{ app.locationManager.currentIsolateObj
ectLink(function['unoptimized_code']['id'])}}">Unoptimized Code</a> | 18 <code-ref app="{{ app }}" ref="{{ function['unoptimized_code'] }}"></c
ode-ref> |
19 </div> | 19 </div> |
20 <table class="table table-hover"> | 20 <table class="table table-hover"> |
21 <tbody> | 21 <tbody> |
22 <tr> | 22 <tr> |
23 <td>static</td><td>{{ function['is_static'] }}</td> | 23 <td>static</td><td>{{ function['is_static'] }}</td> |
24 </tr> | 24 </tr> |
25 <tr> | 25 <tr> |
26 <td>Const</td><td>{{ function['is_const'] }}</td> | 26 <td>Const</td><td>{{ function['is_const'] }}</td> |
27 </tr> | 27 </tr> |
28 <tr> | 28 <tr> |
(...skipping 16 matching lines...) Expand all Loading... |
45 </tr> | 45 </tr> |
46 </tbody> | 46 </tbody> |
47 </table> | 47 </table> |
48 </div> | 48 </div> |
49 </div> | 49 </div> |
50 </div> | 50 </div> |
51 </div> | 51 </div> |
52 </template> | 52 </template> |
53 <script type="application/dart" src="function_view.dart"></script> | 53 <script type="application/dart" src="function_view.dart"></script> |
54 </polymer-element> | 54 </polymer-element> |
OLD | NEW |