Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Side by Side Diff: chrome/browser/resources/options/personal_options.html

Issue 7088010: Layout adjustment for i18n compatibility. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Cleanup rule redundancy. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/options/personal_options.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <div id="personal-page" class="page" hidden> 1 <div id="personal-page" class="page" hidden>
2 <h1 i18n-content="personalPage"></h1> 2 <h1 i18n-content="personalPage"></h1>
3 <div class="displaytable">
3 <if expr="pp_ifdef('chromeos')"> 4 <if expr="pp_ifdef('chromeos')">
4 <section> 5 <section>
5 <h3 i18n-content="account"></h3> 6 <h3 i18n-content="account"></h3>
6 <div> 7 <div>
7 <table class="option-control-table"> 8 <img id='account-picture'
8 <tr> 9 src='chrome://theme/IDR_LOGIN_DEFAULT_USER'>
9 <td> 10 <label>
10 <img id='account-picture' 11 <input id="enable-screen-lock" type="checkbox"
11 src='chrome://theme/IDR_LOGIN_DEFAULT_USER'> 12 pref="settings.enable_screen_lock">
12 </td> 13 <span i18n-content="enableScreenlock"></span>
13 <td> 14 </label>
14 <label> 15 <br>
15 <input id="enable-screen-lock" type="checkbox" 16 <button id="change-picture-button" i18n-content="changePicture">
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> 17 </button>
46 </div> 18 </div>
47 <div id="profiles-create" hidden> 19 </section>
48 <span i18n-content="createNewProfile"></span> 20 </if>
49 <div id="profiles-create-button"> 21 <section id="sync-section">
50 <button id="new-profile" i18n-content="createProfileButton"></button> 22 <h3 i18n-content="syncSection"></h3>
23 <div>
24 <div id="sync-overview" hidden>
25 <div i18n-content="syncOverview"></div>
26 <div i18n-content="syncFurtherOverview"></div>
27 </div>
28 <div id="sync-status" hidden>
29 <span id="sync-status-text"></span>
30 <button id="sync-action-link" class="link-button"></button>
31 </div>
32 <div id="sync-buttons">
33 <button id="start-stop-sync" hidden></button>
34 <button id="customize-sync" i18n-content="customizeSync" hidden>
35 </button>
36 </div>
37 <div id="profiles-create" hidden>
38 <span i18n-content="createNewProfile"></span>
39 <div id="profiles-create-button">
40 <button id="new-profile" i18n-content="createProfileButton"></button >
41 </div>
51 </div> 42 </div>
52 </div> 43 </div>
53 </div> 44 </section>
54 </section> 45 <section>
55 <section> 46 <h3 i18n-content="passwords"></h3>
56 <h3 i18n-content="passwords"></h3> 47 <div>
57 <div> 48 <div class="radio">
58 <div class="radio"> 49 <label>
59 <label> 50 <input id="passwords-offersave" type="radio" name="passwords_radio"
60 <input id="passwords-offersave" type="radio" name="passwords_radio" 51 value="true" pref="profile.password_manager_enabled"
61 value="true" pref="profile.password_manager_enabled" 52 metric="Options_PasswordManager">
62 metric="Options_PasswordManager"> 53 <span i18n-content="passwordsAskToSave"></span>
63 <span i18n-content="passwordsAskToSave"></span> 54 </label>
64 </label> 55 </div>
56 <div class="radio">
57 <label>
58 <input id="passwords-neversave" type="radio" name="passwords_radio"
59 value="false" pref="profile.password_manager_enabled"
60 metric="Options_PasswordManager">
61 <span i18n-content="passwordsNeverSave"></span>
62 </label>
63 </div>
64 <div><button id="manage-passwords"
65 i18n-content="manage_passwords"></button></div>
66 <!-- This makes the managed-banner appear when the "pref" is
67 configured by the IT administrator. -->
68 <input name="password_allow_show_hidden" type="text"
69 pref="profile.password_manager_allow_show_passwords" hidden>
65 </div> 70 </div>
66 <div class="radio"> 71 </section>
67 <label> 72 <section>
68 <input id="passwords-neversave" type="radio" name="passwords_radio" 73 <h3 i18n-content="autofill"></h3>
69 value="false" pref="profile.password_manager_enabled" 74 <div>
70 metric="Options_PasswordManager"> 75 <div class="checkbox">
71 <span i18n-content="passwordsNeverSave"></span> 76 <label>
72 </label> 77 <input id="autofill-enabled" pref="autofill.enabled"
78 metric="Options_FormAutofill" type="checkbox">
79 <span i18n-content="autofillEnabled"></span>
80 </label>
81 </div>
82 <button id="autofill-settings"
83 i18n-content="manageAutofillSettings"></button>
73 </div> 84 </div>
74 <div><button id="manage-passwords" 85 </section>
75 i18n-content="manage_passwords"></button></div> 86 <if expr="not pp_ifdef('chromeos')">
76 <!-- This makes the managed-banner appear when the "pref" is 87 <section>
77 configured by the IT administrator. --> 88 <h3 i18n-content="browsingData"></h3>
78 <input name="password_allow_show_hidden" type="text" 89 <div>
79 pref="profile.password_manager_allow_show_passwords" hidden> 90 <button id="import-data" i18n-content="importData"></button>
80 </div>
81 </section>
82 <section>
83 <h3 i18n-content="autofill"></h3>
84 <div>
85 <div class="checkbox">
86 <label>
87 <input id="autofill-enabled" pref="autofill.enabled"
88 metric="Options_FormAutofill" type="checkbox">
89 <span i18n-content="autofillEnabled"></span>
90 </label>
91 </div> 91 </div>
92 <button id="autofill-settings" 92 </section>
93 i18n-content="manageAutofillSettings"></button>
94 </div>
95 </section>
96 <if expr="not pp_ifdef('chromeos')">
97 <section>
98 <h3 i18n-content="browsingData"></h3>
99 <div>
100 <button id="import-data" i18n-content="importData"></button>
101 </div>
102 </section>
103 </if> 93 </if>
104 <if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1 or os == 'sunos5')"> 94 <if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1 or os == 'sunos5')">
105 <section> 95 <section>
106 <h3 i18n-content="appearance"></h3> 96 <h3 i18n-content="appearance"></h3>
107 <div>
108 <div> 97 <div>
109 <button id="themes-GTK-button" 98 <div>
110 i18n-content="themesGTKButton"></button> 99 <button id="themes-GTK-button"
111 <button id="themes-reset" 100 i18n-content="themesGTKButton"></button>
112 i18n-content="themesSetClassic"></button> 101 <button id="themes-reset"
102 i18n-content="themesSetClassic"></button>
103 </div>
104 <div id="themes-gallery-div">
105 <a id="themes-gallery" i18n-content="themesGallery"
106 i18n-values="href:themesGalleryURL" target="_blank"></a>
107 </div>
108 <div class="radio">
109 <label>
110 <input name="decorations_radio"
111 pref="browser.custom_chrome_frame"
112 type="radio" value="false" metric="Options_CustomFrame">
113 <span i18n-content="showWindowDecorations"></span>
114 </label>
115 </div>
116 <div class="radio">
117 <label>
118 <input name="decorations_radio"
119 pref="browser.custom_chrome_frame"
120 type="radio" value="true" metric="Options_CustomFrame">
121 <span i18n-content="hideWindowDecorations"></span>
122 </label>
123 </div>
113 </div> 124 </div>
114 <div id="themes-gallery-div"> 125 </section>
115 <a id="themes-gallery" i18n-content="themesGallery"
116 i18n-values="href:themesGalleryURL" target="_blank"></a>
117 </div>
118 <div class="radio">
119 <label>
120 <input name="decorations_radio"
121 pref="browser.custom_chrome_frame"
122 type="radio" value="false" metric="Options_CustomFrame">
123 <span i18n-content="showWindowDecorations"></span>
124 </label>
125 </div>
126 <div class="radio">
127 <label>
128 <input name="decorations_radio"
129 pref="browser.custom_chrome_frame"
130 type="radio" value="true" metric="Options_CustomFrame">
131 <span i18n-content="hideWindowDecorations"></span>
132 </label>
133 </div>
134 </div>
135 </section>
136 </if> 126 </if>
137 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> 127 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'">
138 <section> 128 <section>
139 <h3 i18n-content="themes"></h3> 129 <h3 i18n-content="themes"></h3>
140 <div>
141 <div> 130 <div>
142 <button id="themes-reset" i18n-content="themesReset"></button> 131 <div>
132 <button id="themes-reset" i18n-content="themesReset"></button>
133 </div>
134 <div id="themes-gallery-div">
135 <a id="themes-gallery" i18n-content="themesGallery"
136 i18n-values="href:themesGalleryURL" target="_blank"></a>
137 </div>
143 </div> 138 </div>
144 <div id="themes-gallery-div"> 139 </section>
145 <a id="themes-gallery" i18n-content="themesGallery"
146 i18n-values="href:themesGalleryURL" target="_blank"></a>
147 </div>
148 </div>
149 </section>
150 </if> 140 </if>
141 </div>
151 </div> 142 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/personal_options.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698