OLD | NEW |
1 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i
conset-svg.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i
conset-svg.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
6 | 6 |
7 <iron-iconset-svg name="oobe-hid-detection" size="24"> | 7 <iron-iconset-svg name="oobe-hid-detection" size="24"> |
8 <svg> | 8 <svg> |
9 <defs> | 9 <defs> |
10 <g id="bluetooth"><path d="M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12
5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13
9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"></path></g> | 10 <g id="bluetooth"><path d="M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12
5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13
9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"></path></g> |
11 </defs> | 11 </defs> |
12 </svg> | 12 </svg> |
13 </iron-iconset-svg> | 13 </iron-iconset-svg> |
14 | 14 |
15 <dom-module name="oobe-hid-detection-md"> | 15 <dom-module name="oobe-hid-detection-md"> |
16 <template> | 16 <template> |
17 <link rel="stylesheet" href="oobe_hid_detection.css"> | 17 <link rel="stylesheet" href="oobe_hid_detection.css"> |
18 <link rel="stylesheet" href="oobe_dialog_parameters.css"> | 18 <link rel="stylesheet" href="oobe_dialog_parameters.css"> |
19 <link rel="stylesheet" href="../../options/chromeos/bluetooth.css"> | 19 <link rel="stylesheet" href="../../options/chromeos/bluetooth.css"> |
20 <oobe-dialog has-buttons> | 20 <oobe-dialog has-buttons> |
21 <iron-icon icon="oobe-hid-detection:bluetooth" class="oobe-icon"> | 21 <iron-icon icon="oobe-hid-detection:bluetooth" class="oobe-icon"> |
22 </iron-icon> | 22 </iron-icon> |
23 <div class="header"> | 23 <div class="header"> |
24 <h1 class="title" i18n-content="hidDetectionInvitation"></h1> | 24 <h1 class="title">$i18n{hidDetectionInvitation}</h1> |
25 <div class="subtitle" i18n-content="hidDetectionPrerequisites"></div> | 25 <div class="subtitle">$i18n{hidDetectionPrerequisites}</div> |
26 </div> | 26 </div> |
27 <div class="footer flex layout vertical"> | 27 <div class="footer flex layout vertical"> |
28 <div class="layout vertical justified hid-selection-entry"> | 28 <div class="layout vertical justified hid-selection-entry"> |
29 <div class="layout horizontal center"> | 29 <div class="layout horizontal center"> |
30 <img id="mouse-icon" alt="" | 30 <img id="mouse-icon" alt="" |
31 src="chrome://theme/IDR_BLUETOOTH_MOUSE"> | 31 src="chrome://theme/IDR_BLUETOOTH_MOUSE"> |
32 <img id="mouse-tick" alt="" | 32 <img id="mouse-tick" alt="" |
33 hidden="[[!tickIsVisible_(mouseState_)]]" | 33 hidden="[[!tickIsVisible_(mouseState_)]]" |
34 src="chrome://theme/IDR_BLUETOOTH_PAIRING_TICK"> | 34 src="chrome://theme/IDR_BLUETOOTH_PAIRING_TICK"> |
35 <div id="mouse-label-searching" aria-live="polite" | 35 <div id="mouse-label-searching" aria-live="polite" |
36 i18n-content="hidDetectionMouseSearching" | |
37 hidden="[[notEq_(mouseState_, screen.CONNECTION.SEARCHING)]]"> | 36 hidden="[[notEq_(mouseState_, screen.CONNECTION.SEARCHING)]]"> |
| 37 $i18n{hidDetectionMouseSearching} |
38 </div> | 38 </div> |
39 <div id="mouse-label-usb" aria-live="polite" | 39 <div id="mouse-label-usb" aria-live="polite" |
40 i18n-content="hidDetectionUSBMouseConnected" | |
41 hidden="[[notEq_(mouseState_, screen.CONNECTION.USB)]]"> | 40 hidden="[[notEq_(mouseState_, screen.CONNECTION.USB)]]"> |
| 41 $i18n{hidDetectionUSBMouseConnected} |
42 </div> | 42 </div> |
43 <div id="mouse-label-connected" aria-live="polite" | 43 <div id="mouse-label-connected" aria-live="polite" |
44 i18n-content="hidDetectionPointingDeviceConnected" | |
45 hidden="[[notEq_(mouseState_, screen.CONNECTION.CONNECTED)]]"> | 44 hidden="[[notEq_(mouseState_, screen.CONNECTION.CONNECTED)]]"> |
| 45 $i18n{hidDetectionPointingDeviceConnected} |
46 </div> | 46 </div> |
47 <div id="mouse-label-paired" aria-live="polite" | 47 <div id="mouse-label-paired" aria-live="polite" |
48 i18n-content="hidDetectionBTMousePaired" | |
49 hidden="[[notEq_(mouseState_, screen.CONNECTION.PAIRED)]]"> | 48 hidden="[[notEq_(mouseState_, screen.CONNECTION.PAIRED)]]"> |
| 49 $i18n{hidDetectionBTMousePaired} |
50 </div> | 50 </div> |
51 </div> | 51 </div> |
52 </div> | 52 </div> |
53 <div class="layout vertical hid-selection-entry"> | 53 <div class="layout vertical hid-selection-entry"> |
54 <div class="layout horizontal center"> | 54 <div class="layout horizontal center"> |
55 <img id="keyboard-icon" alt="" | 55 <img id="keyboard-icon" alt="" |
56 src="chrome://theme/IDR_BLUETOOTH_KEYBOARD"> | 56 src="chrome://theme/IDR_BLUETOOTH_KEYBOARD"> |
57 <img id="keyboard-tick" alt="" | 57 <img id="keyboard-tick" alt="" |
58 hidden="[[!tickIsVisible_(keyboardState_)]]" | 58 hidden="[[!tickIsVisible_(keyboardState_)]]" |
59 src="chrome://theme/IDR_BLUETOOTH_PAIRING_TICK"> | 59 src="chrome://theme/IDR_BLUETOOTH_PAIRING_TICK"> |
60 <div aria-live="polite" | 60 <div aria-live="polite" |
61 i18n-content="hidDetectionKeyboardSearching" | |
62 hidden="[[notEq_(keyboardState_, screen.CONNECTION.SEARCHING)]]" | 61 hidden="[[notEq_(keyboardState_, screen.CONNECTION.SEARCHING)]]" |
63 > | 62 > |
| 63 $i18n{hidDetectionKeyboardSearching} |
64 </div> | 64 </div> |
65 <div aria-live="polite" | 65 <div aria-live="polite" |
66 i18n-content="hidDetectionUSBKeyboardConnected" | |
67 hidden="[[notEq_(keyboardState_, screen.CONNECTION.USB)]]"> | 66 hidden="[[notEq_(keyboardState_, screen.CONNECTION.USB)]]"> |
| 67 $i18n{hidDetectionUSBKeyboardConnected} |
68 </div> | 68 </div> |
69 <div aria-live="polite" | 69 <div aria-live="polite" |
70 hidden="[[notEq_(keyboardState_, screen.CONNECTION.PAIRED)]]"> | 70 hidden="[[notEq_(keyboardState_, screen.CONNECTION.PAIRED)]]"> |
71 [[keyboardPairedLabel]] | 71 [[keyboardPairedLabel]] |
72 </div> | 72 </div> |
73 <div hidden="[[notEq_(keyboardState_, screen.CONNECTION.PAIRING)]]"> | 73 <div hidden="[[notEq_(keyboardState_, screen.CONNECTION.PAIRING)]]"> |
74 [[keyboardPairingLabel]] | 74 [[keyboardPairingLabel]] |
75 </div> | 75 </div> |
76 </div> | 76 </div> |
77 <div id="hid-keyboard-pincode" | 77 <div id="hid-keyboard-pincode" |
(...skipping 11 matching lines...) Expand all Loading... |
89 <div id="hid-keyboard-pincode-sym-4" | 89 <div id="hid-keyboard-pincode-sym-4" |
90 class="bluetooth-keyboard-button"> | 90 class="bluetooth-keyboard-button"> |
91 </div> | 91 </div> |
92 <div id="hid-keyboard-pincode-sym-5" | 92 <div id="hid-keyboard-pincode-sym-5" |
93 class="bluetooth-keyboard-button"> | 93 class="bluetooth-keyboard-button"> |
94 </div> | 94 </div> |
95 <div id="hid-keyboard-pincode-sym-6" | 95 <div id="hid-keyboard-pincode-sym-6" |
96 class="bluetooth-keyboard-button"> | 96 class="bluetooth-keyboard-button"> |
97 </div> | 97 </div> |
98 <div id="hid-keyboard-pincode-sym-7" | 98 <div id="hid-keyboard-pincode-sym-7" |
99 i18n-content="hidDetectionBTEnterKey" | |
100 class="bluetooth-keyboard-button"> | 99 class="bluetooth-keyboard-button"> |
| 100 $i18n{hidDetectionBTEnterKey} |
101 </div> | 101 </div> |
102 </div> | 102 </div> |
103 </div> | 103 </div> |
104 </div> | 104 </div> |
105 <div class="bottom-buttons flex layout horizontal end-justified"> | 105 <div class="bottom-buttons flex layout horizontal end-justified"> |
106 <oobe-text-button id="hid-continue-button" | 106 <oobe-text-button id="hid-continue-button" |
107 inverse on-tap="onHIDContinueTap_" | 107 inverse on-tap="onHIDContinueTap_" |
108 disabled="[[continueButtonDisabled]]"> | 108 disabled="[[continueButtonDisabled]]"> |
109 <div i18n-content="hidDetectionContinue" id="continue-button-text"> | 109 <div id="continue-button-text">$i18n{hidDetectionContinue}</div> |
110 </div> | |
111 </oobe-text-button> | 110 </oobe-text-button> |
112 </div> | 111 </div> |
113 </oobe-dialog> | 112 </oobe-dialog> |
114 </template> | 113 </template> |
115 </dom-module> | 114 </dom-module> |
OLD | NEW |