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

Side by Side Diff: chrome/browser/resources/sync_internals/notifications.html

Issue 6538047: [Sync] Clean up about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix HTML errors Created 9 years, 10 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 <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
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
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_internals/chrome_sync.js ('k') | chrome/browser/resources/sync_internals/sync_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698