OLD | NEW |
---|---|
(Empty) | |
1 <link rel="stylesheet" href="about.css"></link> | |
2 <script> | |
3 (function () { | |
4 function refreshAboutInfo(aboutInfo) { | |
5 var aboutInfoDiv = document.getElementById('aboutInfo'); | |
6 jstProcess(new JsEvalContext(aboutInfo), aboutInfoDiv); | |
7 } | |
8 | |
9 function onLoad() { | |
10 chrome.sync.getAboutInfo(refreshAboutInfo); | |
11 chrome.sync.onSyncServiceStateChanged.addListener(function() { | |
12 chrome.sync.getAboutInfo(refreshAboutInfo); | |
13 }); | |
14 } | |
15 | |
16 document.addEventListener("DOMContentLoaded", onLoad, false); | |
17 })(); | |
John Gregg
2011/02/17 20:49:38
why is it written this way with the function call?
akalin
2011/02/18 00:36:22
This file is included by sync_index.html, so I wra
| |
18 </script> | |
19 <div id='aboutInfo'> | |
20 <div id='header'> | |
21 <h1>Sync Internals</h1> | |
22 <p> Sync engine diagnostic data</p> | |
23 </div> | |
24 <div id='content'> | |
25 <table width="100%"> | |
26 <tr> | |
27 <td width="20%"> | |
28 <span class="desc"><h2> Summary </h2></span> | |
John Gregg
2011/02/17 20:49:38
nit: lots of stray spaces in this file
akalin
2011/02/18 00:36:22
Done.
| |
29 <strong jscontent="summary"></strong> | |
30 </td> | |
31 <td> | |
32 <div class="desc" jsdisplay="unrecoverable_error_detected"> | |
33 <span class="err">Unrecoverable Error Detected!</span> | |
34 <div jscontent="unrecoverable_error_message"></div> | |
35 <div jscontent="unrecoverable_error_location"></div> | |
36 </div> | |
37 </td> | |
38 </tr> | |
39 <tr> | |
40 <td colspan="2"> | |
41 <span class="desc"><h2> Sync URL </h2></span> | |
42 <strong jscontent="service_url"></strong> | |
43 </td> | |
44 </tr> | |
45 </table> | |
46 <br /><br /><br /> | |
47 <h2> </h2> | |
John Gregg
2011/02/17 20:49:38
empty <h2>?
akalin
2011/02/18 00:36:22
Done.
| |
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 style="color:red" | |
John Gregg
2011/02/17 20:49:38
class="err"
akalin
2011/02/18 00:36:22
Done.
| |
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> | |
OLD | NEW |