| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.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/paper-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.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-dialog/paper-dial
og.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial
og.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
| 8 <link rel="import" href="chrome://md-settings/icons.html"> | 8 <link rel="import" href="chrome://md-settings/icons.html"> |
| 9 <link rel="import" href="network_property_list.html"> | 9 <link rel="import" href="network_property_list.html"> |
| 10 | 10 |
| 11 <dom-module id="network-siminfo"> | 11 <dom-module id="network-siminfo"> |
| 12 <link rel="import" type="css" href="network_siminfo.css"> | |
| 13 <template> | 12 <template> |
| 13 <style> |
| 14 iron-icon { |
| 15 -webkit-margin-end: 5px; |
| 16 -webkit-margin-start: -3px; |
| 17 } |
| 18 |
| 19 paper-button { |
| 20 margin: 0; |
| 21 } |
| 22 |
| 23 span { |
| 24 -webkit-margin-end: 10px; |
| 25 } |
| 26 |
| 27 #lockedDiv span { |
| 28 color: red; |
| 29 font-weight: 500; |
| 30 } |
| 31 |
| 32 #lockedDiv paper-input { |
| 33 -webkit-margin-start: 10px; |
| 34 width: 80px; |
| 35 } |
| 36 |
| 37 #unlockSimDialog paper-input { |
| 38 -webkit-margin-start: 5px; |
| 39 } |
| 40 |
| 41 #unlockSimDialog span { |
| 42 -webkit-margin-start: 5px; |
| 43 } |
| 44 |
| 45 .pin { |
| 46 min-width: 100px; |
| 47 } |
| 48 |
| 49 .puk { |
| 50 min-width: 200px; |
| 51 } |
| 52 |
| 53 .error { |
| 54 color: red; |
| 55 max-width: 400px; |
| 56 } |
| 57 </style> |
| 14 <div id="outerDiv" class="layout vertical"> | 58 <div id="outerDiv" class="layout vertical"> |
| 15 <div class="layout horizontal center" | 59 <div class="layout horizontal center" |
| 16 hidden$="[[networkProperties.Cellular.SIMPresent]]"> | 60 hidden$="[[networkProperties.Cellular.SIMPresent]]"> |
| 17 <!-- SIM missing UI --> | 61 <!-- SIM missing UI --> |
| 18 <iron-icon icon="settings:sim-card-alert"></iron-icon> | 62 <iron-icon icon="settings:sim-card-alert"></iron-icon> |
| 19 <span>Missing SIM card</span> | 63 <span>Missing SIM card</span> |
| 20 </div> | 64 </div> |
| 21 <div class="layout vertical" | 65 <div class="layout vertical" |
| 22 hidden$="[[!networkProperties.Cellular.SIMPresent]]"> | 66 hidden$="[[!networkProperties.Cellular.SIMPresent]]"> |
| 23 <div id="lockedDiv" class="layout horizontal center" | 67 <div id="lockedDiv" class="layout horizontal center" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 >[[getErrorMsg_(error)]] | 194 >[[getErrorMsg_(error)]] |
| 151 </span> | 195 </span> |
| 152 <span>[[getRetriesLeftMsg_(networkProperties)]]</span> | 196 <span>[[getRetriesLeftMsg_(networkProperties)]]</span> |
| 153 </div> | 197 </div> |
| 154 </div> | 198 </div> |
| 155 </paper-dialog> | 199 </paper-dialog> |
| 156 | 200 |
| 157 </template> | 201 </template> |
| 158 <script src="network_siminfo.js"></script> | 202 <script src="network_siminfo.js"></script> |
| 159 </dom-module> | 203 </dom-module> |
| OLD | NEW |