2 <html i18n-values=
"dir:textdirection">
5 <title i18n-content=
"title"></title>
6 <link rel=
"stylesheet" href=
"chrome://resources/css/widgets.css">
7 <link rel=
"stylesheet" href=
"mobile_dialogs.css">
8 <link rel=
"stylesheet" href=
"sim_unlock.css">
9 <script src=
"chrome://resources/js/cr.js"></script>
10 <script src=
"chrome://resources/js/cr/event_target.js"></script>
11 <script src=
"chrome://resources/js/local_strings.js"></script>
12 <script src=
"chrome://resources/js/util.js"></script>
13 <script src=
"sim_unlock.js"></script>
15 var SimUnlock
= mobile
.SimUnlock
;
18 SimUnlock
.initialize();
21 document
.addEventListener('DOMContentLoaded', load
);
24 <body i18n-values=
".style.fontFamily:fontfamily;">
25 <div id=
"container" class=
"container">
26 <div id=
"locked-pin-overlay" class=
"dialog" hidden
>
27 <h1 i18n-content=
"enterPinTitle"></h1>
28 <div id=
"pin-content-area" class=
"content-area">
29 <div id=
"pin-error-msg"></div>
30 <div id=
"pin-input-area" class=
"input-area">
31 <input id=
"pin-input" class=
"code-input" type=
"password"
32 maxlength=
"8" size=
"14">
35 <div class=
"action-area">
36 <div class=
"action-area-right">
37 <div class=
"button-strip">
38 <button id=
"enter-pin-confirm" i18n-content=
"ok"></button>
39 <button id=
"enter-pin-dismiss" i18n-content=
"cancel"></button>
44 <div id=
"locked-pin-no-tries-overlay" class=
"dialog" hidden
>
45 <h1 i18n-content=
"incorrectPinTitle"></h1>
46 <div id=
"pin-no-tries-content-area" class=
"content-area">
47 <!-- TODO(nkostylev): Add warning icon. -->
48 <div id=
"pin-no-tries-error-msg" i18n-content=
"noPinTriesLeft"></div>
50 <div class=
"action-area">
51 <div class=
"action-area-right">
52 <div class=
"button-strip">
53 <button id=
"pin-no-tries-proceed" i18n-content=
"enterPukButton">
55 <button id=
"pin-no-tries-dismiss" i18n-content=
"cancel"></button>
60 <div id=
"locked-puk-overlay" class=
"dialog" hidden
>
61 <h1 i18n-content=
"enterPukTitle"></h1>
62 <div id=
"puk-content-area" class=
"content-area">
63 <div id=
"puk-warning-msg" i18n-content=
"enterPukWarning" class=
"error">
65 <div id=
"puk-enter-msg" i18n-content=
"enterPukMessage"></div>
66 <div id=
"puk-input-area" class=
"input-area">
67 <input id=
"puk-input" class=
"code-input" type=
"password"
68 maxlength=
"8" size=
"14">
71 <div class=
"action-area">
72 <div class=
"action-area-right">
73 <div class=
"button-strip">
74 <button id=
"enter-puk-confirm" i18n-content=
"ok"></button>
75 <button id=
"enter-puk-dismiss" i18n-content=
"cancel"></button>
80 <div id=
"choose-pin-overlay" class=
"dialog" hidden
>
81 <h1 id=
"choose-pin-title" i18n-content=
"choosePinTitle"></h1>
82 <div id=
"choose-pin-content-area" class=
"choose-pin-content-area">
83 <div id=
"choose-pin-msg" i18n-content=
"choosePinMessage"></div>
84 <div class=
"input-with-label">
85 <div id=
"old-pin-label" i18n-content=
"oldPin" class=
"label" hidden
>
87 <div id=
"old-pin-input-area" class=
"choose-pin-input-area" hidden
>
88 <input id=
"old-pin-input" class=
"code-input" type=
"password"
89 maxlength=
"8" size=
"14">
92 <div class=
"input-with-label">
93 <div id=
"new-pin-label" i18n-content=
"newPin" class=
"label"></div>
94 <div id=
"new-pin-input-area" class=
"choose-pin-input-area">
95 <input id=
"new-pin-input" class=
"code-input" type=
"password"
96 maxlength=
"8" size=
"14">
99 <div class=
"input-with-label">
100 <div id=
"retype-new-pin-label" i18n-content=
"retypeNewPin"
102 <div id=
"retype-new-pin-input-area" class=
"choose-pin-input-area">
103 <input id=
"retype-new-pin-input" class=
"code-input" type=
"password"
104 maxlength=
"8" size=
"14">
107 <div id=
"choose-pin-error" class=
"error"
108 i18n-content=
"pinsDontMatchMessage" hidden
></div>
110 <div id=
"choose-pin-action-area" class=
"action-area">
111 <div class=
"action-area-right">
112 <div class=
"button-strip">
113 <button id=
"choose-pin-confirm" i18n-content=
"ok"></button>
114 <button id=
"choose-pin-dismiss" i18n-content=
"cancel"></button>
119 <div id=
"locked-puk-no-tries-overlay" class=
"dialog" hidden
>
120 <h1 i18n-content=
"enterPukTitle"></h1>
121 <div id=
"puk-no-tries-content-area" class=
"content-area">
122 <div id=
"puk-no-tries-msg" i18n-content=
"noPukTriesLeft"></div>
124 <div id=
"locked-puk-action-area" class=
"action-area">
125 <div class=
"button-strip">
126 <button id=
"puk-no-tries-confirm" i18n-content=
"ok"></button>
130 <div id=
"sim-disabled-overlay" class=
"dialog" hidden
>
131 <h1 i18n-content=
"simDisabledTitle"></h1>
132 <div id=
"sim-disabled-content-area" class=
"content-area">
133 <div id=
"sim-disabled-msg" i18n-content=
"simDisabledMessage"></div>
135 <div id=
"disabled-sim-action-area" class=
"action-area">
136 <div class=
"button-strip">
137 <button id=
"sim-disabled-confirm" i18n-content=
"ok"></button>