[sql] Remove _HAS_EXCEPTIONS=0 from build info.
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / emulator / battery_settings.html
blobf9aae07996e74eaacf250abc8d7c31510ee7b8b1
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/paper-toggle-button.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-slider/paper-slider.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper-radio-group.html">
8 <dom-module id="battery-settings">
9 <link rel="import" type="css" href="battery_settings.css">
10 <template>
11 <div class="layout vertical">
12 <div class="element-label">{{title}}</div>
13 <form id="power-settings-form">
14 <div>
15 <p>
16 <label>
17 <span class="form-label">Battery Percentage</span>
18 <paper-input value="{{batteryPercent}}"
19 id="battery-percent-text" type="number">
20 </paper-input>
21 </label>
22 </p>
23 </div>
25 <div>
26 <p>
27 <label>
28 <span class="form-label">Battery State</span>
29 <paper-radio-group selected="{{batteryState}}"
30 id="battery-state-radio-group">
31 <template is="dom-repeat" items="{{batteryStateOptions}}">
32 <paper-radio-button
33 name="{{item}}">{{item}}</paper-radio-button>
34 </template>
35 </paper-radio-group>
36 </label>
37 </p>
38 </div>
40 <div>
41 <p>
42 <label>
43 <span class="form-label">External Power</span>
44 <paper-radio-group selected="{{externalPower}}"
45 id="external-power-radio-group">
46 <template is="dom-repeat" items="{{externalPowerOptions}}">
47 <paper-radio-button
48 name="{{item}}">{{item}}</paper-radio-button>
49 </template>
50 </paper-radio-group>
51 </label>
52 </p>
53 </div>
55 <div>
56 <p>
57 <label>
58 <span class="form-label">Time Until Battery Empty</span>
59 <paper-input value="{{timeUntilEmpty}}"
60 id="time-until-empty-text">
61 </paper-input>
62 </label>
63 </p>
65 <p>
66 <label>
67 <span class="form-label">Time Until Battery Full</span>
68 <paper-input value="{{timeUntilFull}}" id="time-until-full-text">
69 </paper-input>
70 </label>
71 </p>
72 </div>
74 </form>
75 </div>
76 </template>
77 <script src="battery_settings.js"></script>
78 </dom-module>