summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/signin/sync_confirmation/sync_confirmation.html
blob: 2b93303dc17419288d4e6608d7c4f806e7fe7b09 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!doctype html>
<html dir="$i18n{textdirection}" lang="$i18n{language}">
  <head>
    <meta charset="utf-8">
    <link rel="import" href="chrome://resources/cr_elements/paper_button_style_css.html">
    <link rel="import" href="chrome://resources/html/polymer.html">
    <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
    <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
    <link rel="import" href="signin_shared_css.html">
    <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
    <link rel="stylesheet" href="sync_confirmation.css"></link>
    <style is="custom-style" include="signin-dialog-shared paper-button-style">
<if expr="is_macosx or is_linux">
      #undoButton {
        margin-inline-end: 8px;
        margin-inline-start: 0;
      }
</if>
    </style>
  </head>
  <body>
    <!--
      Use the 'consent-description' attribute to annotate all the UI elements
      that are part of the text the user reads before consenting to the Sync
      data collection . Similarly, use 'consent-confirmation' on UI elements on
      which user clicks to indicate consent.
    -->
    <div class="container">
      <div class="top-title-bar" consent-description>
        $i18n{syncConfirmationTitle}
      </div>
      <div class="details" id="syncConfirmationDetails">
        <div id="picture-container">
          <div id="illustration">
            <div id="icons">
              <div id="icon-bookmarks" class="fade-top-left"></div>
              <div id="icon-extensions" class="fade-top-left"></div>
              <div id="icon-passwords" class="fade-bottom-left"></div>
              <div id="icon-history" class="fade-top-right"></div>
              <div id="icon-tabs" class="fade-middle-right"></div>
              <div id="icon-themes" class="fade-bottom-right"></div>
              <div id="icon-circle-open" class="fade-middle-left"></div>
              <div id="icon-circle-1" class="icon-circle fade-middle-left"></div>
              <div id="icon-circle-2" class="icon-circle fade-top-right"></div>
              <div id="icon-circle-3" class="icon-circle fade-middle-right"></div>
              <div id="icon-circle-4" class="icon-circle fade-top-right"></div>
            </div>
            <div class="picture">
              <img id="profile-picture">
              <div id="checkmark-circle">
                <svg id="checkmark-check" width="13" height="10" viewBox="0 0 13 10">
                  <path id="checkmark-path" d="M1 5l3.5 3.5L12 1" stroke="#FFF"
                        stroke-width="2" stroke-dasharray="16"
                        stroke-dashoffset="16" fill="none"></path>
                </svg>
              </div>
            </div>
          </div>
        </div>
        <div class="message-container">
          <!--
            "Chrome sync" is the Google Cloud Based services used for sync. Thus
            this section uses the Chrome logo even for Chromium builds.
          -->
          <div id="chrome-logo" class="logo"></div>
          <div>
            <div class="title" consent-description>
              $i18n{syncConfirmationChromeSyncTitle}
            </div>
            <div class="body text" consent-description>
              $i18n{syncConfirmationChromeSyncBody}
            </div>
          </div>
        </div>
        <div class="message-container">
          <!--
            This section uses the Google logo even for Chromium builds as the
            user can personalize their Google services from this screen.
          -->
          <div id="googleg-logo" class="logo"></div>
          <div>
            <div class="title" consent-description>
              $i18n{syncConfirmationPersonalizeServicesTitle}
            </div>
            <div class="body text" consent-description>
              $i18n{syncConfirmationPersonalizeServicesBody}
            </div>
          </div>
        </div>
        <div class="message-container">
          <div class="body" consent-description consent-confirmation>
            $i18nRaw{syncConfirmationSyncSettingsLinkBody}
          </div>
        </div>
      </div>
      <div class="details" id="syncDisabledDetails">
        <div class="body text" consent-description>
          $i18n{syncDisabledConfirmationDetails}
        </div>
      </div>
      <div class="action-container">
        <paper-button class="action-button" id="confirmButton"
            consent-confirmation>
          $i18n{syncConfirmationConfirmLabel}
        </paper-button>
        <paper-button id="undoButton">
          $i18n{syncConfirmationUndoLabel}
        </paper-button>
      </div>
    </div>
  </body>
  <script src="chrome://resources/js/cr.js"></script>
  <script src="chrome://resources/js/load_time_data.js"></script>
  <script src="chrome://resources/js/util.js"></script>
  <script src="sync_confirmation.js"></script>
  <script src="chrome://sync-confirmation/strings.js"></script>
</html>