OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="function_ref.html"> | 2 <link rel="import" href="function_ref.html"> |
3 <link rel="import" href="isolate_ref.html"> | 3 <link rel="import" href="isolate_ref.html"> |
4 <link rel="import" href="observatory_element.html"> | 4 <link rel="import" href="observatory_element.html"> |
| 5 <link rel="import" href="script_inset.html"> |
5 <link rel="import" href="script_ref.html"> | 6 <link rel="import" href="script_ref.html"> |
6 </head> | 7 </head> |
7 <polymer-element name="isolate-summary" extends="observatory-element"> | 8 <polymer-element name="isolate-summary" extends="observatory-element"> |
8 <template> | 9 <template> |
9 <div class="row"> | 10 <div class="row"> |
10 <div class="col-md-1"> | 11 <div class="col-md-1"> |
11 <img src="img/isolate_icon.png" class="img-polaroid"> | 12 <img src="img/isolate_icon.png" class="img-polaroid"> |
12 </div> | 13 </div> |
13 | 14 |
14 <div class="col-md-1">{{ isolate.mainPort }}</div> | 15 <div class="col-md-1">{{ isolate.mainPort }}</div> |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 <div class="col-md-2"> | 66 <div class="col-md-2"> |
66 <template if="{{ isolate.topFrame == null }}"> | 67 <template if="{{ isolate.topFrame == null }}"> |
67 idle | 68 idle |
68 </template> | 69 </template> |
69 <template if="{{ isolate.topFrame != null }}"> | 70 <template if="{{ isolate.topFrame != null }}"> |
70 run | 71 run |
71 </template> | 72 </template> |
72 ( <a href="{{ isolate.relativeHashLink('stacktrace') }}">stack trace</a>
) | 73 ( <a href="{{ isolate.relativeHashLink('stacktrace') }}">stack trace</a>
) |
73 </div> | 74 </div> |
74 </div> | 75 </div> |
75 <div class="row"> | 76 <template if="{{ isolate.topFrame != null }}"> |
76 <div class="col-md-3"> | 77 <script-inset script="{{ isolate.topFrame['script'] }}" |
77 </div> | 78 pos="{{ isolate.topFrame['tokenPos'] }}"> |
78 <div class="col-md-6"> | 79 <function-ref ref="{{ isolate.topFrame['function'] }}"></function-ref> |
79 <template if="{{ isolate.topFrame != null }}"> | 80 (<script-ref ref="{{ isolate.topFrame['script'] }}" |
80 <function-ref ref="{{ isolate.topFrame['function'] }}"></function-ref> | 81 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
81 (<script-ref ref="{{ isolate.topFrame['script'] }}" | 82 </script-inset> |
82 line="{{ isolate.topFrame['line'] }}"></script-ref>) | 83 </template> |
83 <br> | |
84 <pre>{{ isolate.topFrame['line'] }} {{ isolate.topFrame['lineSt
ring'] }}</pre> | |
85 </template> | |
86 </div> | |
87 <div class="col-md-3"> | |
88 </div> | |
89 </div> | |
90 </template> | 84 </template> |
91 <script type="application/dart" src="isolate_summary.dart"></script> | 85 <script type="application/dart" src="isolate_summary.dart"></script> |
92 </polymer-element> | 86 </polymer-element> |
OLD | NEW |