1 <style> 2 3 #prerender-view-history-table tr.used { 4 background-color: #F0FFF0; 5 } 6 7 #prerender-view-history-table tr:not(.used) { 8 background-color: #FFF0F0; 9 } 10 11 </style> 12 13 <div id=prerender-view-tab-content class=content-box> 14 <ul style='margin-top:0'> 15 <li>Prerender Enabled: 16 <span jscontent="enabled"></span> 17 <span jscontent="enabled_note"></span></li> 18 <li>Prerender Omnibox Enabled: 19 <span jscontent="omnibox_enabled"></span></li> 20 </ul> 21 <h4>Active Prerender Pages</h4> 22 <table class="styled-table"> 23 <thead> 24 <tr> 25 <th>URL</th> 26 <th>Duration</th> 27 <th>Loaded</th> 28 </tr> 29 </thead> 30 <tbody id=prerender-view-active-table> 31 <tr jsselect="active"> 32 <td jscontent="url"></td> 33 <td jscontent="duration"></td> 34 <td jscontent="is_loaded"></td> 35 </tr> 36 </tbody> 37 </table> 38 <h4>Prerender History</h4> 39 <table class="styled-table"> 40 <thead> 41 <tr> 42 <th>Origin</th> 43 <th>URL</th> 44 <th>Final Status</th> 45 <th>Time</th> 46 </tr> 47 </thead> 48 <tbody id=prerender-view-history-table> 49 <tr jsselect="$this.history" jsvalues=".className: final_status.toLowerCase()"> 50 <td jscontent="origin"></td> 51 <td jscontent="url"></td> 52 <td jscontent="final_status"></td> 53 <td jscontent="timeutil.dateToString(new Date(parseInt(end_time)))"></td> 54 </tr> 55 </tbody> 56 </table> 57 </div> 58