| OLD | NEW |
| 1 <script> | 1 <script> |
| 2 (function () { | 2 (function () { |
| 3 function updateNotificationsEnabledInfo(notificationsEnabled) { | 3 function updateNotificationsEnabledInfo(notificationsEnabled) { |
| 4 var notificationsEnabledInfo = | 4 var notificationsEnabledInfo = |
| 5 document.getElementById('notificationsEnabledInfo'); | 5 document.getElementById('notificationsEnabledInfo'); |
| 6 jstProcess( | 6 jstProcess( |
| 7 new JsEvalContext({ 'notificationsEnabled': notificationsEnabled }), | 7 new JsEvalContext({ 'notificationsEnabled': notificationsEnabled }), |
| 8 notificationsEnabledInfo); | 8 notificationsEnabledInfo); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 document.getElementById('notificationCountsInfo'); | 31 document.getElementById('notificationCountsInfo'); |
| 32 jstProcess(new JsEvalContext({ 'notificationCounts': infos }), | 32 jstProcess(new JsEvalContext({ 'notificationCounts': infos }), |
| 33 notificationCountsInfo); | 33 notificationCountsInfo); |
| 34 }); | 34 }); |
| 35 } | 35 } |
| 36 | 36 |
| 37 document.addEventListener("DOMContentLoaded", onLoad, false); | 37 document.addEventListener("DOMContentLoaded", onLoad, false); |
| 38 })(); | 38 })(); |
| 39 </script> | 39 </script> |
| 40 | 40 |
| 41 <div class="desc"><h2> Notifications </h2></div> | 41 <style> |
| 42 table#notificationCountsInfo tr:nth-child(odd) { |
| 43 background: #eff3ff; |
| 44 } |
| 45 </style> |
| 46 |
| 42 <p id='notificationsEnabledInfo'> | 47 <p id='notificationsEnabledInfo'> |
| 43 Enabled: <span jscontent='notificationsEnabled'></span> | 48 Enabled: <span jscontent='notificationsEnabled'></span> |
| 44 </p> | 49 </p> |
| 45 | 50 <table id='notificationCountsInfo'> |
| 46 <table class='list' id='notificationCountsInfo'> | |
| 47 <tr jsselect='notificationCounts'> | 51 <tr jsselect='notificationCounts'> |
| 48 <td class='name'> | 52 <td jscontent='modelType'/> |
| 49 <div jscontent='modelType'></div> | 53 <td jscontent='notificationCount'/> |
| 50 </td> | |
| 51 <td class='number'> | |
| 52 <div jscontent='notificationCount'></div> | |
| 53 </td> | |
| 54 </tr> | 54 </tr> |
| 55 </table> | 55 </table> |
| 56 | |
| OLD | NEW |