Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(873)

Side by Side Diff: chrome/browser/resources/settings/internet_page/network_apnlist.html

Issue 2303093003: MD Settings: Internet: Enable SIM unlock with no cellular network (Closed)
Patch Set: Rebase plus Feedback Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm l"> 1 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm l">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
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-dropdown-menu/pap er-dropdown-menu-light.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dropdown-menu/pap er-dropdown-menu-light.html">
5 <link rel="import" href="internet_shared_css.html"> 5 <link rel="import" href="internet_shared_css.html">
6 <link rel="import" href="network_property_list.html"> 6 <link rel="import" href="network_property_list.html">
7 7
8 <dom-module id="network-apnlist"> 8 <dom-module id="network-apnlist">
9 <template> 9 <template>
10 <style include="internet-shared"> 10 <style include="internet-shared">
11 </style> 11 </style>
12 <div class="settings-box"> 12 <div class="settings-box first">
13 <div class="start">$i18n{networkSectionAccessPoint}</div> 13 <div class="start">$i18n{networkSectionAccessPoint}</div>
14 <paper-dropdown-menu-light vertical-align="auto" no-label-float> 14 <paper-dropdown-menu-light vertical-align="auto" no-label-float>
15 <paper-listbox id="selectApn" 15 <paper-listbox id="selectApn"
16 class="dropdown-content" on-iron-activate="onSelectApnChange_" 16 class="dropdown-content" on-iron-activate="onSelectApnChange_"
17 selected="{{selectedApn_}}" attr-for-selected="value"> 17 selected="{{selectedApn_}}" attr-for-selected="value">
18 <template is="dom-repeat" items="[[apnSelectList_]]"> 18 <template is="dom-repeat" items="[[apnSelectList_]]">
19 <button class="dropdown-item" role="option" 19 <button class="dropdown-item" role="option"
20 value="[[item.AccessPointName]]"> 20 value="[[item.AccessPointName]]">
21 [[apnDesc_(item)]] 21 [[apnDesc_(item)]]
22 </button> 22 </button>
23 </template> 23 </template>
24 </paper-listbox> 24 </paper-listbox>
25 </paper-dropdown-menu-light> 25 </paper-dropdown-menu-light>
26 </div> 26 </div>
27 27
28 <div class="settings-box continuation single-column" 28 <div class="settings-box continuation single-column"
29 hidden$="[[!isOtherSelected_(selectedApn_, networkProperties)]]"> 29 hidden$="[[!isOtherSelected_(selectedApn_, networkProperties)]]">
30 <network-property-list on-property-change="onOtherApnChange_" 30 <network-property-list on-property-change="onOtherApnChange_"
31 fields="[[otherApnFields_]]" property-dict="[[otherApn_]]" 31 fields="[[otherApnFields_]]" property-dict="[[otherApn_]]"
32 edit-field-types="[[otherApnEditTypes_]]" prefix="Cellular.APN."> 32 edit-field-types="[[otherApnEditTypes_]]" prefix="Cellular.APN.">
33 </network-property-list> 33 </network-property-list>
34 <paper-button on-tap="onSaveOtherTap_"> 34 <paper-button on-tap="onSaveOtherTap_">
35 ${networkButtonSaveApn} 35 $i18n{networkButtonSaveApn}
36 </paper-button> 36 </paper-button>
37 </div> 37 </div>
38 </template> 38 </template>
39 <script src="network_apnlist.js"></script> 39 <script src="network_apnlist.js"></script>
40 </dom-module> 40 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698