OLD | NEW |
1 <head> | 1 <head> |
| 2 <link rel="import" href="nav_bar.html"> |
2 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
3 </head> | 4 </head> |
4 <polymer-element name="script-view" extends="observatory-element"> | 5 <polymer-element name="script-view" extends="observatory-element"> |
5 <template> | 6 <template> |
| 7 <nav-bar> |
| 8 <top-nav-menu></top-nav-menu> |
| 9 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentIso
late() }}"> |
| 10 </isolate-nav-menu> |
| 11 <library-nav-menu app="{{ app }}" library="{{ script.libraryRef }}"></librar
y-nav-menu> |
| 12 <nav-menu link="." anchor="{{ script.shortName }}" last="{{ true }}"></nav-m
enu> |
| 13 </nav-bar> |
| 14 |
6 <div class="row"> | 15 <div class="row"> |
7 <div class="col-md-8 col-md-offset-2"> | 16 <div class="col-md-8 col-md-offset-2"> |
8 <div class="panel-heading"> | 17 <div class="panel-heading"> |
9 <button on-click="{{refreshCoverage}}">Refresh Coverage</button> | 18 <button on-click="{{refreshCoverage}}">Refresh Coverage</button> |
10 {{ script.scriptRef['user_name'] }} | 19 {{ script.scriptRef['user_name'] }} |
11 {{ script.coveredPercentageFormatted() }} | 20 {{ script.coveredPercentageFormatted() }} |
12 </div> | 21 </div> |
13 <div class="panel-body"> | 22 <div class="panel-body"> |
14 <table style="width:100%"> | 23 <table style="width:100%"> |
15 <tbody> | 24 <tbody> |
16 <tr template repeat="{{ line in script.linesForDisplay }}"> | 25 <tr template repeat="{{ line in script.linesForDisplay }}"> |
17 <td style="{{ hitsStyle(line) }}"> </td> | 26 <td style="{{ hitsStyle(line) }}"> </td> |
18 <td style="font-family: consolas, courier, monospace;font-size: 1em;
line-height: 1.2em;white-space: nowrap;">{{line.line}}</td> | 27 <td style="font-family: consolas, courier, monospace;font-size: 1em;
line-height: 1.2em;white-space: nowrap;">{{line.line}}</td> |
19 <td width="99%" style="font-family: consolas, courier, monospace;fon
t-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td> | 28 <td width="99%" style="font-family: consolas, courier, monospace;fon
t-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td> |
20 </tr> | 29 </tr> |
21 </tbody> | 30 </tbody> |
22 </table> | 31 </table> |
23 </div> | 32 </div> |
24 </div> | 33 </div> |
25 </div> | 34 </div> |
26 </template> | 35 </template> |
27 <script type="application/dart" src="script_view.dart"></script> | 36 <script type="application/dart" src="script_view.dart"></script> |
28 </polymer-element> | 37 </polymer-element> |
OLD | NEW |