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

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

Issue 6531038: [Sync] Split up about:sync html files to be more manageable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed john's comments 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
(Empty)
1 <script>
2 (function () {
3 // TODO(akalin): Make aboutInfo have key names likeThis and not
4 // like_this.
5 function refreshAboutInfo(aboutInfo) {
6 var aboutInfoDiv = document.getElementById('aboutInfo');
7 jstProcess(new JsEvalContext(aboutInfo), aboutInfoDiv);
8 }
9
10 function onLoad() {
11 chrome.sync.getAboutInfo(refreshAboutInfo);
12 chrome.sync.onSyncServiceStateChanged.addListener(function() {
13 chrome.sync.getAboutInfo(refreshAboutInfo);
14 });
15 }
16
17 document.addEventListener("DOMContentLoaded", onLoad, false);
18 })();
19 </script>
20 <div id='aboutInfo'>
21 <div id='header'>
22 <h1>Sync Internals</h1>
23 <p>Sync engine diagnostic data</p>
24 </div>
25 <div id='content'>
26 <table width="100%">
27 <tr>
28 <td width="20%">
29 <span class="desc"><h2>Summary</h2></span>
30 <strong jscontent="summary"></strong>
31 </td>
32 <td>
33 <div class="desc" jsdisplay="unrecoverable_error_detected">
34 <span class="err">Unrecoverable Error Detected!</span>
35 <div jscontent="unrecoverable_error_message"></div>
36 <div jscontent="unrecoverable_error_location"></div>
37 </div>
38 </td>
39 </tr>
40 <tr>
41 <td colspan="2">
42 <span class="desc"><h2>Sync URL</h2></span>
43 <strong jscontent="service_url"></strong>
44 </td>
45 </tr>
46 </table>
47 <br /><br /><br />
48 <table>
49 <tr>
50 <td>
51 <div class="desc"><h2>Details</h2></div>
52 <table class='list' id='details'>
53 <tr>
54 <td class='name'>Authenticated</td>
55 <td class='number'>
56 <div jscontent="authenticated"></div>
57 <div jsdisplay="!authenticated"
58 class="err"
59 jscontent="auth_problem"></div>
60 </td>
61 </tr>
62 <tr>
63 <td class='name'>Last Synced</td>
64 <td class='number' jscontent="time_since_sync"></td>
65 </tr>
66 <tr jsselect="details">
67 <td class='name'>
68 <div jscontent="stat_name"></div>
69 </td>
70 <td class='number'>
71 <div jscontent="stat_value"></div>
72 </td>
73 </tr>
74 </table>
75 </td>
76 <td valign="top">
77 <div class="desc"><h2>Routing Info</h2></div>
78 <table class='list' id='details2'>
79 <tr jsselect="routing_info">
80 <td class ='name'>
81 <div jscontent="model_type"></div>
82 </td>
83 <td class='number'>
84 <div jscontent="group"></div>
85 </td>
86 </tr>
87 </table>
88 </td>
89 </table>
90 </div>
91 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_internals/about.css ('k') | chrome/browser/resources/sync_internals/chrome_sync.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698