personal_options.html revision 21d179b334e59e9a3bfcaed4c4430bef1bc5759d
1<div id="personal-page" class="page hidden">
2  <h1 i18n-content="personalPage"></h1>
3
4<if expr="pp_ifdef('chromeos')">
5  <section>
6    <h3 i18n-content="account"></h3>
7    <div>
8      <table class="option-control-table">
9        <tr>
10          <td>
11            <img id='account-picture'
12                src='chrome://theme/IDR_LOGIN_DEFAULT_USER'>
13          </td>
14          <td>
15            <label>
16              <input id="enable-screen-lock" type="checkbox"
17                  pref="settings.enable_screen_lock">
18              <span i18n-content="enableScreenlock"></span>
19            </label>
20          </td>
21        </tr>
22      </table>
23    </div>
24  </section>
25</if>
26  <section id="sync-section">
27    <h3 i18n-content="syncSection"></h3>
28    <div>
29      <select id="sync-select" pref="sync.keep_everything_synced"></select>
30      <table id="sync-table">
31        <tr>
32          <td class="option-name">
33            <label class="checkbox">
34              <input id="settings-check" pref="sync.preferences"
35                  type="checkbox">
36              <span i18n-content="syncsettings"></span>
37            </label>
38          </td>
39          <td class="option-name">
40            <label class="checkbox">
41              <input id="bookmarks-check" pref="sync.bookmarks" type="checkbox">
42              <span i18n-content="syncbookmarks"></span>
43            </label>
44          </td>
45          <td class="option-name">
46            <label class="checkbox">
47              <input id="extensions-check" pref="sync.extensions"
48                  type="checkbox">
49              <span i18n-content="syncextensions"></span>
50            </label>
51          </td>
52        </tr>
53        <tr>
54          <td class="option-name">
55            <label class="checkbox">
56              <input id="autofill-check" pref="sync.autofill" type="checkbox">
57              <span i18n-content="syncautofill"></span>
58            </label>
59          </td>
60          <td class="option-name">
61            <label class="checkbox">
62              <input id="themes-check" pref="sync.themes" type="checkbox">
63              <span i18n-content="syncthemes"></span>
64            </label>
65          </td>
66          <td class="option-name">
67            <label class="checkbox">
68              <input id="apps-check" pref="sync.apps" type="checkbox">
69              <span i18n-content="syncapps"></span>
70            </label>
71          </td>
72        </tr>
73        <tr>
74          <td class="option-name">
75            <label class="checkbox">
76              <input id="typedurls-check" pref="sync.typed_urls"
77                  type="checkbox">
78              <span i18n-content="synctypedurls"></span>
79            </label>
80          </td>
81          <td class="option-name">
82            <label class="checkbox">
83              <input id="passwords-check" pref="sync.passwords" type="checkbox">
84              <span i18n-content="syncpasswords"></span>
85            </label>
86          </td>
87          <td class="option-name">
88            <label class="checkbox">
89              <input id="sessions-check" pref="sync.sessions" type="checkbox">
90              <span i18n-content="syncsessions"></span>
91            </label>
92          </td>
93        </tr>
94      </table>
95      <div id="sync-status" class="section-text"></div>
96      <button id="sync-action-link" class="link-button"></button>
97      <div>
98        <button id="start-stop-sync"></button>
99      </div>
100      <a href="https://www.google.com/dashboard" id="privacy-dashboard-link"
101          i18n-content="privacyDashboardLink" target="_blank"></a>
102    </div>
103  </section>
104  <section>
105    <h3 i18n-content="passwords"></h3>
106    <div>
107      <label class="radio">
108        <input type="radio" pref="profile.password_manager_enabled" value="true"
109            metric="Options_PasswordManager">
110        <span i18n-content="passwordsAskToSave"></span>
111      </label>
112      <label class="radio">
113        <input id="passwords-neversave"
114            name="passwords_radio"
115            pref="profile.password_manager_enabled"
116            type="radio" value="false" metric="Options_PasswordManager">
117        <span i18n-content="passwordsNeverSave"></span>
118      </label>
119      <div><button id="manage-passwords"
120          i18n-content="manage_passwords"></button></div>
121    </div>
122  </section>
123  <section>
124    <h3 i18n-content="autofill"></h3>
125    <div>
126      <label class="checkbox">
127        <input id="autoFillEnabled" pref="autofill.enabled"
128            metric="Options_FormAutofill" type="checkbox">
129        <span i18n-content="autoFillEnabled"></span>
130      </label>
131      <button id="autofill-settings"
132          i18n-content="manageAutofillSettings"></button>
133    </div>
134  </section>
135<if expr="not pp_ifdef('chromeos')">
136  <section>
137    <h3 i18n-content="browsingData"></h3>
138    <div>
139      <button id="import-data" i18n-content="importData"></button>
140    </div>
141  </section>
142</if>
143<if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1)">
144  <section>
145    <h3 i18n-content="appearance"></h3>
146    <div>
147      <div>
148        <button id="themes-GTK-button"
149            i18n-content="themesGTKButton"></button>
150        <button id="themes-reset"
151            i18n-content="themesSetClassic"></button>
152      </div>
153      <a id="themes-gallery" i18n-content="themesGallery"
154          i18n-values="href:themesGalleryURL" target="_blank"></a>
155      <label class="radio">
156        <input name="decorations_radio"
157            pref="browser.custom_chrome_frame"
158            type="radio" value="false" metric="Options_CustomFrame">
159        <span i18n-content="showWindowDecorations"></span>
160      </label>
161      <label class="radio">
162        <input name="decorations_radio"
163            pref="browser.custom_chrome_frame"
164            type="radio" value="true" metric="Options_CustomFrame">
165        <span i18n-content="hideWindowDecorations"></span>
166      </label>
167    </div>
168  </section>
169</if>
170<if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'">
171  <section>
172    <h3 i18n-content="themes"></h3>
173    <div>
174      <div>
175        <button id="themes-reset" i18n-content="themesReset"></button>
176      </div>
177      <a id="themes-gallery" i18n-content="themesGallery"
178          i18n-values="href:themesGalleryURL" target="_blank"></a>
179    </div>
180  </section>
181</if>
182
183</div>
184