• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<div id="personal-page" class="page hidden">
2  <h1 i18n-content="personalPage"></h1>
3<if expr="pp_ifdef('chromeos')">
4  <section>
5    <h3 i18n-content="account"></h3>
6    <div>
7      <table class="option-control-table">
8        <tr>
9          <td>
10            <img id='account-picture'
11                src='chrome://theme/IDR_LOGIN_DEFAULT_USER'>
12          </td>
13          <td>
14            <label>
15              <input id="enable-screen-lock" type="checkbox"
16                  pref="settings.enable_screen_lock">
17              <span i18n-content="enableScreenlock"></span>
18            </label>
19          </td>
20        </tr>
21        <tr>
22          <td>
23            <button id="change-picture-button" i18n-content="changePicture">
24            </button>
25          </td>
26        </tr>
27      </table>
28    </div>
29  </section>
30</if>
31  <section id="sync-section">
32    <h3 i18n-content="syncSection"></h3>
33    <div>
34      <div id="sync-overview" hidden>
35        <div i18n-content="syncOverview"></div>
36        <div i18n-content="syncFurtherOverview"></div>
37      </div>
38      <div id="sync-status" hidden>
39        <span id="sync-status-text"></span>
40        <button id="sync-action-link" class="link-button"></button>
41      </div>
42      <div id="sync-buttons">
43        <button id="start-stop-sync" hidden></button>
44        <button id="customize-sync" i18n-content="customizeSync" hidden>
45        </button>
46      </div>
47      <div id="profiles-create" hidden>
48        <span i18n-content="createNewProfile"></span>
49        <div id="profiles-create-button">
50          <button id="new-profile" i18n-content="createProfileButton"></button>
51        </div>
52      </div>
53      <a href="https://www.google.com/dashboard" id="privacy-dashboard-link"
54          i18n-content="privacyDashboardLink" target="_blank" hidden></a>
55    </div>
56  </section>
57  <section>
58    <h3 i18n-content="passwords"></h3>
59    <div>
60      <div class="radio">
61        <label>
62          <input id="passwords-offersave" type="radio" name="passwords_radio"
63              value="true" pref="profile.password_manager_enabled"
64              metric="Options_PasswordManager">
65          <span i18n-content="passwordsAskToSave"></span>
66        </label>
67      </div>
68      <div class="radio">
69        <label>
70          <input id="passwords-neversave" type="radio" name="passwords_radio"
71              value="false" pref="profile.password_manager_enabled"
72              metric="Options_PasswordManager">
73          <span i18n-content="passwordsNeverSave"></span>
74        </label>
75      </div>
76      <div><button id="manage-passwords"
77          i18n-content="manage_passwords"></button></div>
78      <!-- This makes the managed-banner appear when the "pref" is
79      configured by the IT administrator. -->
80      <input name="password_allow_show_hidden" type="text"
81          pref="profile.password_manager_allow_show_passwords" hidden>
82    </div>
83  </section>
84  <section>
85    <h3 i18n-content="autofill"></h3>
86    <div>
87      <div class="checkbox">
88        <label>
89          <input id="autofillEnabled" pref="autofill.enabled"
90              metric="Options_FormAutofill" type="checkbox">
91          <span i18n-content="autofillEnabled"></span>
92        </label>
93      </div>
94      <button id="autofill-settings"
95          i18n-content="manageAutofillSettings"></button>
96    </div>
97  </section>
98<if expr="not pp_ifdef('chromeos')">
99  <section>
100    <h3 i18n-content="browsingData"></h3>
101    <div>
102      <button id="import-data" i18n-content="importData"></button>
103    </div>
104  </section>
105</if>
106<if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1)">
107  <section>
108    <h3 i18n-content="appearance"></h3>
109    <div>
110      <div>
111        <button id="themes-GTK-button"
112            i18n-content="themesGTKButton"></button>
113        <button id="themes-reset"
114            i18n-content="themesSetClassic"></button>
115      </div>
116      <div id="themes-gallery-div">
117        <a id="themes-gallery" i18n-content="themesGallery"
118            i18n-values="href:themesGalleryURL" target="_blank"></a>
119      </div>
120      <div class="radio">
121        <label>
122          <input name="decorations_radio"
123              pref="browser.custom_chrome_frame"
124              type="radio" value="false" metric="Options_CustomFrame">
125          <span i18n-content="showWindowDecorations"></span>
126        </label>
127      </div>
128      <div class="radio">
129        <label>
130          <input name="decorations_radio"
131              pref="browser.custom_chrome_frame"
132              type="radio" value="true" metric="Options_CustomFrame">
133          <span i18n-content="hideWindowDecorations"></span>
134        </label>
135      </div>
136    </div>
137  </section>
138</if>
139<if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'">
140  <section>
141    <h3 i18n-content="themes"></h3>
142    <div>
143      <div>
144        <button id="themes-reset" i18n-content="themesReset"></button>
145      </div>
146      <div id="themes-gallery-div">
147        <a id="themes-gallery" i18n-content="themesGallery"
148            i18n-values="href:themesGalleryURL" target="_blank"></a>
149      </div>
150    </div>
151  </section>
152</if>
153
154</div>
155