summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/personal_options.html
blob: 7e3a55e543dc84c410023263253e695e6b7b5253 (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
118
119
120
121
122
<div id="personal-page" class="page hidden">
  <h1 i18n-content="personalPage"></h1>

<if expr="pp_ifdef('chromeos')">
  <section>
    <h3 i18n-content="account"></h3>
    <div>
      <table class="option-control-table">
        <tr>
          <td>
            <img id='account-picture'
                src='chrome://theme/IDR_LOGIN_DEFAULT_USER'>
          </td>
          <td>
            <label>
              <input id="enable-screen-lock" type="checkbox"
                  pref="settings.enable_screen_lock">
              <span i18n-content="enableScreenlock"></span>
            </label>
          </td>
        </tr>
      </table>
    </div>
  </section>
</if>
  <section id="sync-section">
    <h3 i18n-content="syncSection"></h3>
    <div>
      <div id="sync-status" class="section-text"></div>
      <button id="sync-action-link" class="link-button"></button>
      <div id="sync-buttons">
        <button id="start-stop-sync"></button>
        <button id="customize-sync" i18n-content="customizeSync"></button>
      </div>
      <a href="https://www.google.com/dashboard" id="privacy-dashboard-link"
          i18n-content="privacyDashboardLink" target="_blank"></a>
    </div>
  </section>
  <section>
    <h3 i18n-content="passwords"></h3>
    <div>
      <label class="radio">
        <input type="radio" pref="profile.password_manager_enabled" value="true"
            metric="Options_PasswordManager">
        <span i18n-content="passwordsAskToSave"></span>
      </label>
      <label class="radio">
        <input id="passwords-neversave"
            name="passwords_radio"
            pref="profile.password_manager_enabled"
            type="radio" value="false" metric="Options_PasswordManager">
        <span i18n-content="passwordsNeverSave"></span>
      </label>
      <div><button id="manage-passwords"
          i18n-content="manage_passwords"></button></div>
    </div>
  </section>
  <section>
    <h3 i18n-content="autofill"></h3>
    <div>
      <label class="checkbox">
        <input id="autoFillEnabled" pref="autofill.enabled"
            metric="Options_FormAutofill" type="checkbox">
        <span i18n-content="autoFillEnabled"></span>
      </label>
      <button id="autofill-settings"
          i18n-content="manageAutofillSettings"></button>
    </div>
  </section>
<if expr="not pp_ifdef('chromeos')">
  <section>
    <h3 i18n-content="browsingData"></h3>
    <div>
      <button id="import-data" i18n-content="importData"></button>
    </div>
  </section>
</if>
<if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1)">
  <section>
    <h3 i18n-content="appearance"></h3>
    <div>
      <div>
        <button id="themes-GTK-button"
            i18n-content="themesGTKButton"></button>
        <button id="themes-reset"
            i18n-content="themesSetClassic"></button>
      </div>
      <div id="themes-gallery-div">
        <a id="themes-gallery" i18n-content="themesGallery"
            i18n-values="href:themesGalleryURL" target="_blank"></a>
      </div>
      <label class="radio">
        <input name="decorations_radio"
            pref="browser.custom_chrome_frame"
            type="radio" value="false" metric="Options_CustomFrame">
        <span i18n-content="showWindowDecorations"></span>
      </label>
      <label class="radio">
        <input name="decorations_radio"
            pref="browser.custom_chrome_frame"
            type="radio" value="true" metric="Options_CustomFrame">
        <span i18n-content="hideWindowDecorations"></span>
      </label>
    </div>
  </section>
</if>
<if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'">
  <section>
    <h3 i18n-content="themes"></h3>
    <div>
      <div>
        <button id="themes-reset" i18n-content="themesReset"></button>
      </div>
      <div id="themes-gallery-div">
        <a id="themes-gallery" i18n-content="themesGallery"
            i18n-values="href:themesGalleryURL" target="_blank"></a>
      </div>
    </div>
  </section>
</if>

</div>