Chromium Code Reviews| OLD | NEW |
|---|---|
| 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"> | |
|
kevers
2011/06/02 19:03:36
Added <div> to make use of 'display:table' for i18
| |
| 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> |
|
kevers
2011/06/02 19:03:36
Changed from using a table to fix vertical alignme
| |
| 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> | |
| 42 </div> | |
| 43 <a id="privacy-dashboard-link" href="https://www.google.com/dashboard" | |
| 44 i18n-content="privacyDashboardLink" target="_blank" hidden></a> | |
| 45 </div> | |
| 46 </section> | |
| 47 <section> | |
| 48 <h3 i18n-content="passwords"></h3> | |
| 49 <div> | |
| 50 <div class="radio"> | |
| 51 <label> | |
| 52 <input id="passwords-offersave" type="radio" name="passwords_radio" | |
| 53 value="true" pref="profile.password_manager_enabled" | |
| 54 metric="Options_PasswordManager"> | |
| 55 <span i18n-content="passwordsAskToSave"></span> | |
| 56 </label> | |
| 57 </div> | |
| 58 <div class="radio"> | |
| 59 <label> | |
| 60 <input id="passwords-neversave" type="radio" name="passwords_radio" | |
| 61 value="false" pref="profile.password_manager_enabled" | |
| 62 metric="Options_PasswordManager"> | |
| 63 <span i18n-content="passwordsNeverSave"></span> | |
| 64 </label> | |
| 65 </div> | |
| 66 <div><button id="manage-passwords" | |
| 67 i18n-content="manage_passwords"></button></div> | |
| 68 <!-- This makes the managed-banner appear when the "pref" is | |
| 69 configured by the IT administrator. --> | |
| 70 <input name="password_allow_show_hidden" type="text" | |
| 71 pref="profile.password_manager_allow_show_passwords" hidden> | |
| 72 </div> | |
| 73 </section> | |
| 74 <section> | |
| 75 <h3 i18n-content="autofill"></h3> | |
| 76 <div> | |
| 77 <div class="checkbox"> | |
| 78 <label> | |
| 79 <input id="autofill-enabled" pref="autofill.enabled" | |
| 80 metric="Options_FormAutofill" type="checkbox"> | |
| 81 <span i18n-content="autofillEnabled"></span> | |
| 82 </label> | |
| 83 </div> | |
| 84 <button id="autofill-settings" | |
| 85 i18n-content="manageAutofillSettings"></button> | |
| 86 </div> | |
| 87 </section> | |
| 88 <if expr="not pp_ifdef('chromeos')"> | |
| 89 <section> | |
| 90 <h3 i18n-content="browsingData"></h3> | |
| 91 <div> | |
| 92 <button id="import-data" i18n-content="importData"></button> | |
| 93 </div> | |
| 94 </section> | |
| 95 </if> | |
| 96 <if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1 or os == 'sunos5')"> | |
| 97 <section> | |
| 98 <h3 i18n-content="appearance"></h3> | |
| 99 <div> | |
| 100 <div> | |
| 101 <button id="themes-GTK-button" | |
| 102 i18n-content="themesGTKButton"></button> | |
| 103 <button id="themes-reset" | |
| 104 i18n-content="themesSetClassic"></button> | |
| 105 </div> | |
| 106 <div id="themes-gallery-div"> | |
| 107 <a id="themes-gallery" i18n-content="themesGallery" | |
| 108 i18n-values="href:themesGalleryURL" target="_blank"></a> | |
| 109 </div> | |
| 110 <div class="radio"> | |
| 111 <label> | |
| 112 <input name="decorations_radio" | |
| 113 pref="browser.custom_chrome_frame" | |
| 114 type="radio" value="false" metric="Options_CustomFrame"> | |
| 115 <span i18n-content="showWindowDecorations"></span> | |
| 116 </label> | |
| 117 </div> | |
| 118 <div class="radio"> | |
| 119 <label> | |
| 120 <input name="decorations_radio" | |
| 121 pref="browser.custom_chrome_frame" | |
| 122 type="radio" value="true" metric="Options_CustomFrame"> | |
| 123 <span i18n-content="hideWindowDecorations"></span> | |
| 124 </label> | |
| 51 </div> | 125 </div> |
| 52 </div> | 126 </div> |
| 53 <a id="privacy-dashboard-link" href="https://www.google.com/dashboard" | 127 </section> |
| 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="autofill-enabled" 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 or os == 'sunos5')"> | |
| 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> | 128 </if> |
| 139 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> | 129 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> |
| 140 <section> | 130 <section> |
| 141 <h3 i18n-content="themes"></h3> | 131 <h3 i18n-content="themes"></h3> |
| 142 <div> | |
| 143 <div> | 132 <div> |
| 144 <button id="themes-reset" i18n-content="themesReset"></button> | 133 <div> |
| 134 <button id="themes-reset" i18n-content="themesReset"></button> | |
| 135 </div> | |
| 136 <div id="themes-gallery-div"> | |
| 137 <a id="themes-gallery" i18n-content="themesGallery" | |
| 138 i18n-values="href:themesGalleryURL" target="_blank"></a> | |
| 139 </div> | |
| 145 </div> | 140 </div> |
| 146 <div id="themes-gallery-div"> | 141 </section> |
| 147 <a id="themes-gallery" i18n-content="themesGallery" | |
| 148 i18n-values="href:themesGalleryURL" target="_blank"></a> | |
| 149 </div> | |
| 150 </div> | |
| 151 </section> | |
| 152 </if> | 142 </if> |
| 143 </div> | |
| 153 </div> | 144 </div> |
| OLD | NEW |