| Index: runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.html
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.html
|
| index 0666dff9509b0545f96c1b803e397977b2354173..ac3f919081572c485c7a500039360a7cea09c7cd 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.html
|
| +++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.html
|
| @@ -1,10 +1,28 @@
|
| <head>
|
| <link rel="import" href="observatory_element.html">
|
| - <link rel="import" href="source_view.html">
|
| </head>
|
| <polymer-element name="script-view" extends="observatory-element">
|
| - <template>
|
| - <source-view app="{{ app }}" source="{{ script['source'] }}"></source-view>
|
| - </template>
|
| - <script type="application/dart" src="script_view.dart"></script>
|
| +<template>
|
| + <div class="row">
|
| + <div class="col-md-8 col-md-offset-2">
|
| + <div class="panel-heading">
|
| + <button on-click="{{refreshCoverage}}">Refresh Coverage</button>
|
| + {{ script.scriptRef['user_name'] }}
|
| + {{ script.coveredPercentageFormatted() }}
|
| + </div>
|
| + <div class="panel-body">
|
| + <table style="width:100%">
|
| + <tbody>
|
| + <tr template repeat="{{ line in script.linesForDisplay }}">
|
| + <td style="{{ hitsStyle(line) }}"> </td>
|
| + <td style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: nowrap;">{{line.line}}</td>
|
| + <td width="99%" style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;">{{line.text}}</td>
|
| + </tr>
|
| + </tbody>
|
| + </table>
|
| + </div>
|
| + </div>
|
| + </div>
|
| +</template>
|
| +<script type="application/dart" src="script_view.dart"></script>
|
| </polymer-element>
|
|
|