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

Side by Side Diff: chrome/browser/resources/settings/device_page/device_page.html

Issue 2690303005: MD Settings: Fix device section indent (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | 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 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
2 <link rel="import" href="chrome://resources/html/md_select_css.html"> 2 <link rel="import" href="chrome://resources/html/md_select_css.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="device_page_browser_proxy.html"> 7 <link rel="import" href="device_page_browser_proxy.html">
8 <link rel="import" href="display.html"> 8 <link rel="import" href="display.html">
9 <link rel="import" href="keyboard.html"> 9 <link rel="import" href="keyboard.html">
10 <link rel="import" href="pointers.html"> 10 <link rel="import" href="pointers.html">
11 <link rel="import" href="storage.html"> 11 <link rel="import" href="storage.html">
12 <link rel="import" href="stylus.html"> 12 <link rel="import" href="stylus.html">
13 <link rel="import" href="../prefs/prefs.html"> 13 <link rel="import" href="../prefs/prefs.html">
14 <link rel="import" href="../route.html"> 14 <link rel="import" href="../route.html">
15 <link rel="import" href="../settings_page/settings_animated_pages.html"> 15 <link rel="import" href="../settings_page/settings_animated_pages.html">
16 <link rel="import" href="../settings_page/settings_subpage.html"> 16 <link rel="import" href="../settings_page/settings_subpage.html">
17 <link rel="import" href="../settings_shared_css.html"> 17 <link rel="import" href="../settings_shared_css.html">
18 18
19 <dom-module id="settings-device-page"> 19 <dom-module id="settings-device-page">
20 <template> 20 <template>
21 <style include="settings-shared md-select"></style> 21 <style include="settings-shared md-select"></style>
22 <settings-animated-pages id="pages" section="device"> 22 <settings-animated-pages id="pages" section="device">
23 <neon-animatable id="main" route-path="default"> 23 <neon-animatable id="main" route-path="default">
24 <div id="pointersRow" class="settings-box first" 24 <div id="pointersRow" class="settings-box first"
25 on-tap="onPointersTap_" actionable> 25 on-tap="onPointersTap_" actionable>
26 <div class="middle"> 26 <div class="start">
27 [[getPointersTitle_(hasMouse_, hasTouchpad_)]] 27 [[getPointersTitle_(hasMouse_, hasTouchpad_)]]
28 </div> 28 </div>
29 <button class="subpage-arrow" is="paper-icon-button-light" 29 <button class="subpage-arrow" is="paper-icon-button-light"
30 aria-label="[[getPointersTitle_(hasMouse_, 30 aria-label="[[getPointersTitle_(hasMouse_,
31 hasTouchpad_)]]"></button> 31 hasTouchpad_)]]"></button>
32 </div> 32 </div>
33 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_" 33 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_"
34 actionable> 34 actionable>
35 <div class="middle">$i18n{keyboardTitle}</div> 35 <div class="start">$i18n{keyboardTitle}</div>
36 <button class="subpage-arrow" is="paper-icon-button-light" 36 <button class="subpage-arrow" is="paper-icon-button-light"
37 aria-label="$i18n{keyboardTitle}"></button> 37 aria-label="$i18n{keyboardTitle}"></button>
38 </div> 38 </div>
39 <template is="dom-if" if="[[hasStylus_]]"> 39 <template is="dom-if" if="[[hasStylus_]]">
40 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_" 40 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_"
41 actionable> 41 actionable>
42 <div class="middle">$i18n{stylusTitle}</div> 42 <div class="start">$i18n{stylusTitle}</div>
43 <button class="subpage-arrow" is="paper-icon-button-light" 43 <button class="subpage-arrow" is="paper-icon-button-light"
44 aria-label="$i18n{stylusTitle}"></button> 44 aria-label="$i18n{stylusTitle}"></button>
45 </div> 45 </div>
46 </template> 46 </template>
47 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_" 47 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_"
48 actionable> 48 actionable>
49 <div class="middle">$i18n{displayTitle}</div> 49 <div class="start">$i18n{displayTitle}</div>
50 <button class="subpage-arrow" is="paper-icon-button-light" 50 <button class="subpage-arrow" is="paper-icon-button-light"
51 aria-label="$i18n{displayTitle}"></button> 51 aria-label="$i18n{displayTitle}"></button>
52 </div> 52 </div>
53 <div id="storageRow" class="settings-box" on-tap="onStorageTap_" 53 <div id="storageRow" class="settings-box" on-tap="onStorageTap_"
54 actionable> 54 actionable>
55 <div class="middle">$i18n{storageTitle}</div> 55 <div class="start">$i18n{storageTitle}</div>
56 <button class="subpage-arrow" is="paper-icon-button-light" 56 <button class="subpage-arrow" is="paper-icon-button-light"
57 aria-label="$i18n{storageTitle}"></button> 57 aria-label="$i18n{storageTitle}"></button>
58 </div> 58 </div>
59 <template is="dom-if" if="[[enablePowerSettings_]]"> 59 <template is="dom-if" if="[[enablePowerSettings_]]">
60 <div id="powerRow" class="settings-box two-line"> 60 <div id="powerRow" class="settings-box two-line">
61 <div class="middle"> 61 <div class="start">
62 <div>[[powerLabel_]]</div> 62 <div>[[powerLabel_]]</div>
63 <div class="secondary">[[batteryStatus_.statusText]]</div> 63 <div class="secondary">[[batteryStatus_.statusText]]</div>
64 </div> 64 </div>
65 <div class="md-select-wrapper" 65 <div class="md-select-wrapper"
66 hidden$="[[!showPowerDropdown_]]"> 66 hidden$="[[!showPowerDropdown_]]">
67 <select id="powerSource" class="md-select" 67 <select id="powerSource" class="md-select"
68 on-change="onPowerSourceChange_"> 68 on-change="onPowerSourceChange_">
69 <option value="" 69 <option value=""
70 selected$="[[isEqual_('', selectedPowerSourceId_)]]"> 70 selected$="[[isEqual_('', selectedPowerSourceId_)]]">
71 $i18n{powerSourceBattery} 71 $i18n{powerSourceBattery}
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 <settings-subpage 119 <settings-subpage
120 associated-control="[[$$('#storageRow')]]" 120 associated-control="[[$$('#storageRow')]]"
121 page-title="$i18n{storageTitle}"> 121 page-title="$i18n{storageTitle}">
122 <settings-storage></settings-storage> 122 <settings-storage></settings-storage>
123 </settings-subpage> 123 </settings-subpage>
124 </template> 124 </template>
125 </settings-animated-pages> 125 </settings-animated-pages>
126 </template> 126 </template>
127 <script src="device_page.js"></script> 127 <script src="device_page.js"></script>
128 </dom-module> 128 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698