summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/resources/merge_and_sync.html
blob: 58a769b6f20f0a230bb2ca4628ee4043a43bdc93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<HTML>
<HEAD>
<TITLE></TITLE>
<style type="text/css">
 body,td,div,p,a,font,span {font-family: arial,sans-serif;}
 body { bgcolor:"#ffffff" } 
.gaia.le.button { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
</style>
<script>
    function advanceThrobber() {
      var throbber = document.getElementById('throb');
      throbber.style.backgroundPositionX =
      ((parseInt(throbber.style.backgroundPositionX) - 16) % 576) + 'px';
    }
    
    function acceptMergeAndSync() {
     var throbber = document.getElementById('throbber_container');
     throbber.style.display = "inline";
     document.getElementById("acceptMerge").disabled = true;
     chrome.send("SubmitMergeAndSync", [""]);
    }
       
    function Close() {
      chrome.send("DialogClose", [""]);
    }
    
    function showMergeAndSyncDone() {
     var throbber = document.getElementById('throbber_container');
     throbber.style.display = "none";
     document.getElementById("header").innerHTML =
         "<font size='-1'><b>All done!</b></font>";
     document.getElementById("close").value = "Close";
     setTimeout(Close, 1600);
    }
</script>
</HEAD>
<BODY onload="setInterval(advanceThrobber, 30);">
<p id="header"><font size="-1"><b>Your bookmarks will be merged.</b></font></p><br />
<img src="merge_and_sync.png" alt="Merge and sync" />
<br />
<p><font size="-1">
Your existing online bookmarks will be merged with the
bookmarks on this machine. You can use the Bookmark Manager to organize
your bookmarks after the merge.</font></p>
<br />
<table align="right">
  <tr>
    <td>
      <div id="throbber_container" style="display:none">
        <div id="throb" style="background-image:url(throbber.png);
             width:16px; height:16px; background-position:0px;">
        </div>
      </div>
    </td>
    <td>
      <input id="acceptMerge" type="button" class="gaia le button" name="accept"
             value="Merge and sync"
             onclick="acceptMergeAndSync();" />
    </td>
    <td>
      <input id="close" type="button" value="Abort" onclick="Close();"/>
    </td>
  </tr>
</table>
</BODY>
</HTML>