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

Unified Diff: chrome/browser/resources/options/chromeos/system_options.html

Issue 7108040: Fix text alignment on settings/system page. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove blank lines at end of file. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/chromeos/system_options.html
diff --git a/chrome/browser/resources/options/chromeos/system_options.html b/chrome/browser/resources/options/chromeos/system_options.html
index f0b59937dc33559e17afa5d41b8ff96312c90fbb..88d1059ba484450c849e60f7dc59a6339ac0deb2 100644
--- a/chrome/browser/resources/options/chromeos/system_options.html
+++ b/chrome/browser/resources/options/chromeos/system_options.html
@@ -3,91 +3,74 @@
<div class="displaytable">
<section>
<h3 i18n-content="datetime_title"></h3>
- <table class="option-control-table">
- <tr>
- <td class="option-name" i18n-content="timezone"></td>
- <td class="option-value">
+ <div class="option-control-table">
+ <span class="option-name" i18n-content="timezone"></span>
+ <div id="timezone-value">
<select id="timezone-select" class="control"
- i18n-options="timezoneList"
- dataType="string"
- pref="cros.system.timezone"></select>
- </td>
- <tr>
- <td class="option-name" colspan="2">
- <div class="checkbox">
- <label>
- <input id="use-24hour-clock"
- pref="settings.clock.use_24hour_clock"
- type="checkbox">
- <span i18n-content="use_24hour_clock"></span>
- </label>
- </div>
- </td>
- </tr>
- </tr>
- </table>
+ i18n-options="timezoneList"
+ dataType="string"
+ pref="cros.system.timezone"></select>
+ </div>
+ <div class="checkbox">
+ <label>
+ <input id="use-24hour-clock"
+ pref="settings.clock.use_24hour_clock"
+ type="checkbox">
+ <span i18n-content="use_24hour_clock"></span>
+ </label>
+ </div>
+ </div>
</section>
<section>
<h3 i18n-content="touchpad"></h3>
- <table class="option-control-table">
- <tr>
- <td class="option-name" i18n-content="sensitivity"></td>
- <td class="option-value">
+ <div class="option-control-table">
+ <span class="option-name" i18n-content="sensitivity"></span>
+ <div id="touchpad-value">
+ <div id="slider-control">
<input id="sensitivity-range" type="range" min="1" max="5"
pref="settings.touchpad.sensitivity2" class="touch-slider">
- </td>
- </tr>
- <tr>
- <td></td>
- <td>
- <span i18n-content="sensitivity_less"></span>
- <span i18n-content="sensitivity_more"
- class="touchpad-sensitivity-more"></span>
- </td>
- </tr>
- <tr>
- <td class="option-name" colspan="2">
- <div class="checkbox">
- <label>
- <input id="tap-to-click-check"
- pref="settings.touchpad.enable_tap_to_click"
- type="checkbox">
- <span i18n-content="enable_tap_to_click"></span>
- </label>
+ <div>
+ <span i18n-content="sensitivity_less"></span>
+ <span i18n-content="sensitivity_more"
+ class="touchpad-sensitivity-more"></span>
</div>
- </td>
- </tr>
- </table>
+ </div>
+ </div>
+ <div class="checkbox">
+ <label>
+ <input id="tap-to-click-check"
+ pref="settings.touchpad.enable_tap_to_click"
+ type="checkbox">
+ <span i18n-content="enable_tap_to_click"></span>
+ </label>
+ </div>
+ </div>
</section>
<section>
<h3 i18n-content="language"></h3>
- <table class="option-control-table">
- <tr>
- <td class="option-name">
- <button id="language-button" i18n-content="language_customize">
- </button>
- </td>
- <td class="option-name">
- <button id="modifier-keys-button"
- i18n-content="modifier_keys_customize"></button>
- </td>
- </tr>
- </table>
+ <div class="option-control-table">
+ <div class="option-name">
+ <button id="language-button" i18n-content="language_customize">
+ </button>
+ </div>
+ <div class="option-name">
+ <button id="modifier-keys-button"
+ i18n-content="modifier_keys_customize"></button>
+ </div>
+ </div>
</section>
<section>
<h3 i18n-content="accessibility_title"></h3>
- <table class="option-control-table">
- <tr>
- <td class="option-name">
- <div class="checkbox">
- <label>
- <input id="accesibility-check" type="checkbox">
- <span i18n-content="accessibility"></span>
- </label>
- </div>
- </td>
- </tr>
- </table>
+ <div class="option-control-table">
+ <div class="option-name">
+ <div class="checkbox">
+ <label>
+ <input id="accesibility-check" type="checkbox">
+ <span i18n-content="accessibility"></span>
+ </label>
+ </div>
+ </div>
+ </div>
</section>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698