1 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-input/paper-input.html">
3 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_onc/cr_onc_types.html">
5 <dom-module id=
"network-nameservers">
6 <link rel=
"import" type=
"css" href=
"network_nameservers.css">
8 <div id=
"outer" class=
"layout vertical">
10 <!-- TODO(stevenjb): Use cr-dropdown-menu once available. -->
11 <select id=
"type" on-change=
"onTypeChange_">
12 <template is=
"dom-repeat" items=
"[[nameserverTypeNames_]]">
13 <option>[[nameserverTypeDesc_(item)]]
</option>
17 <div class=
"layout horizontal">
18 <paper-input-container no-label-float
>
19 <input id=
"nameserver0" is=
"iron-input" value=
"[[nameservers.0]]"
20 disabled=
"[[!canEdit_(editable, nameserversType)]]"
21 on-blur=
"onValueChange_">
22 </paper-input-container>
23 <paper-input-container no-label-float
>
24 <input id=
"nameserver1" is=
"iron-input" value=
"[[nameservers.1]]"
25 disabled=
"[[!canEdit_(editable, nameserversType)]]"
26 on-blur=
"onValueChange_">
27 </paper-input-container>
29 <div class=
"layout horizontal">
30 <paper-input-container no-label-float
>
31 <input id=
"nameserver2" is=
"iron-input" value=
"[[nameservers.2]]"
32 disabled=
"[[!canEdit_(editable, nameserversType)]]"
33 on-blur=
"onValueChange_">
34 </paper-input-container>
35 <paper-input-container no-label-float
>
36 <input id=
"nameserver3" is=
"iron-input" value=
"[[nameservers.3]]"
37 disabled=
"[[!canEdit_(editable, nameserversType)]]"
38 on-blur=
"onValueChange_">
39 </paper-input-container>
43 <script src=
"network_nameservers.js"></script>