Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: runtime/bin/vmservice/client/lib/src/elements/script_inset.html

Issue 221263002: Miscellaneous Observatory UI improvements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <link rel="import" href="observatory_element.html"> 2 <link rel="import" href="observatory_element.html">
3 </head> 3 </head>
4 <polymer-element name="script-inset" extends="observatory-element"> 4 <polymer-element name="script-inset" extends="observatory-element">
5 <template> 5 <template>
6 <style> 6 <style>
7 .sourceInset { 7 .sourceInset {
8 padding-left: 15%; 8 padding-left: 15%;
9 padding-right: 15%; 9 padding-right: 15%;
10 } 10 }
11 .grayBox { 11 .grayBox {
12 width: 100%; 12 width: 100%;
13 background-color: #f5f5f5; 13 background-color: #f5f5f5;
14 border: 1px solid #ccc; 14 border: 1px solid #ccc;
15 padding: 10px; 15 padding: 10px;
16 } 16 }
17 </style> 17 </style>
18 <div class="sourceInset"> 18 <div class="sourceInset">
19 <content></content> 19 <content></content>
20 <div class="grayBox"> 20 <div class="grayBox">
21 <table> 21 <template if="{{ coverage == true }}">
22 <tbody> 22 <table>
23 <tr template repeat="{{ line in lines }}"> 23 <tbody>
24 <td style="font-family: consolas, courier, monospace;font-size: 1e m;line-height: 1.2em;white-space: nowrap;">{{line.line}}</td> 24 <tr template repeat="{{ line in lines }}">
25 <td>&nbsp;</td> 25 <td style="{{ hitsStyle(line) }}">&nbsp;</td>
turnidge 2014/04/01 19:42:48 For a future change: instead of injecting the styl
26 <td width="99%" style="font-family: consolas, courier, monospace;f ont-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td> 26 <td style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: nowrap;">{{line.line}}</td>
27 </tr> 27 <td>&nbsp;</td>
28 </tbody> 28 <td width="99%" style="font-family: consolas, courier, monospace ;font-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td>
29 </table> 29 </tr>
30 </tbody>
31 </table>
32 </template>
33 <template if="{{ coverage == false }}">
34 <table>
35 <tbody>
36 <tr template repeat="{{ line in lines }}">
37 <td style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: nowrap;">{{line.line}}</td>
38 <td>&nbsp;</td>
39 <td width="99%" style="font-family: consolas, courier, monospace ;font-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td>
40 </tr>
41 </tbody>
42 </table>
43 </template>
30 </div> 44 </div>
31 </div> 45 </div>
32 </template> 46 </template>
33 <script type="application/dart" src="script_inset.dart"></script> 47 <script type="application/dart" src="script_inset.dart"></script>
34 </polymer-element> 48 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698