| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 2 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
| 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/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 8 <link rel="import" href="/icons.html"> | 8 <link rel="import" href="/icons.html"> |
| 9 <link rel="import" href="internet_shared_css.html"> | 9 <link rel="import" href="internet_shared_css.html"> |
| 10 <link rel="import" href="network_property_list.html"> | 10 <link rel="import" href="network_property_list.html"> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 font-weight: 500; | 28 font-weight: 500; |
| 29 } | 29 } |
| 30 | 30 |
| 31 .pin { | 31 .pin { |
| 32 min-width: 100px; | 32 min-width: 100px; |
| 33 } | 33 } |
| 34 | 34 |
| 35 .puk { | 35 .puk { |
| 36 min-width: 200px; | 36 min-width: 200px; |
| 37 } | 37 } |
| 38 |
| 39 /* Siminfo is embedded; remove the padding. */ |
| 40 .settings-box { |
| 41 padding: 0; |
| 42 } |
| 43 |
| 44 .settings-box:first-of-type { |
| 45 border-top: none; |
| 46 } |
| 38 </style> | 47 </style> |
| 39 | 48 |
| 40 <!-- SIM missing UI --> | 49 <!-- SIM missing UI --> |
| 41 <div class="settings-box" | 50 <div class="settings-box two-line" |
| 42 hidden$="[[networkProperties.Cellular.SIMPresent]]"> | 51 hidden$="[[networkProperties.Cellular.SIMPresent]]"> |
| 43 <div class="start layout horizontal center"> | 52 <div class="start layout horizontal center"> |
| 44 <iron-icon icon="settings:sim-card-alert"></iron-icon> | 53 <iron-icon icon="settings:sim-card-alert"></iron-icon> |
| 45 <div class="error">$i18n{networkSimCardMissing}</div> | 54 <div class="error">$i18n{networkSimCardMissing}</div> |
| 46 </div> | 55 </div> |
| 47 </div> | 56 </div> |
| 48 | 57 |
| 49 <!-- SIM locked --> | 58 <!-- SIM locked --> |
| 50 <div class="settings-box" hidden$="[[!showSimLocked_(networkProperties)]]"> | 59 <div class="settings-box two-line" |
| 60 hidden$="[[!showSimLocked_(networkProperties)]]"> |
| 51 <div class="start layout horizontal center"> | 61 <div class="start layout horizontal center"> |
| 52 <iron-icon icon="settings:lock"></iron-icon> | 62 <iron-icon icon="settings:lock"></iron-icon> |
| 53 <div class="error">$i18n{networkSimCardLocked}</div> | 63 <div class="error">$i18n{networkSimCardLocked}</div> |
| 54 </div> | 64 </div> |
| 55 <div class="secondary-action"> | 65 <div class="secondary-action"> |
| 56 <paper-button on-tap="onUnlockPinTap_"> | 66 <paper-button on-tap="onUnlockPinTap_"> |
| 57 $i18n{networkSimUnlock} | 67 $i18n{networkSimUnlock} |
| 58 </paper-button> | 68 </paper-button> |
| 59 </div> | 69 </div> |
| 60 </div> | 70 </div> |
| 61 | 71 |
| 62 <!-- SIM unlocked --> | 72 <!-- SIM unlocked --> |
| 63 <div class="settings-box" | 73 <div class="settings-box two-line" |
| 64 hidden$="[[!showSimUnlocked_(networkProperties)]]"> | 74 hidden$="[[!showSimUnlocked_(networkProperties)]]"> |
| 65 <paper-checkbox class="start" on-change="onSimLockEnabledChange_" | 75 <paper-checkbox class="start" on-change="onSimLockEnabledChange_" |
| 66 checked="[[networkProperties.Cellular.SIMLockStatus.LockEnabled]]"> | 76 checked="[[networkProperties.Cellular.SIMLockStatus.LockEnabled]]"> |
| 67 $i18n{networkSimLockEnable} | 77 $i18n{networkSimLockEnable} |
| 68 </paper-checkbox> | 78 </paper-checkbox> |
| 69 <paper-button on-tap="onChangePinTap_" | 79 <paper-button on-tap="onChangePinTap_" |
| 70 hidden$="[[!networkProperties.Cellular.SIMLockStatus.LockEnabled]]"> | 80 hidden$="[[!networkProperties.Cellular.SIMLockStatus.LockEnabled]]"> |
| 71 $i18n{networkSimChangePin} | 81 $i18n{networkSimChangePin} |
| 72 </paper-button> | 82 </paper-button> |
| 73 </div> | 83 </div> |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 </div> | 167 </div> |
| 158 <div class="button-container"> | 168 <div class="button-container"> |
| 159 <paper-button on-tap="sendUnlockPuk_"> | 169 <paper-button on-tap="sendUnlockPuk_"> |
| 160 $i18n{networkSimUnlock} | 170 $i18n{networkSimUnlock} |
| 161 </paper-button> | 171 </paper-button> |
| 162 </div> | 172 </div> |
| 163 </dialog> | 173 </dialog> |
| 164 </template> | 174 </template> |
| 165 <script src="network_siminfo.js"></script> | 175 <script src="network_siminfo.js"></script> |
| 166 </dom-module> | 176 </dom-module> |
| OLD | NEW |