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

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

Issue 2889073002: Settings: Internet page cleanup (Closed)
Patch Set: Rebase Created 3 years, 7 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 2
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
6 <link rel="import" href="internet_shared_css.html"> 5 <link rel="import" href="internet_shared_css.html">
7 6
8 <dom-module id="network-proxy-input"> 7 <dom-module id="network-proxy-input">
9 <template> 8 <template>
10 <style include="internet-shared iron-flex"> 9 <style include="internet-shared">
11 paper-input-container { 10 paper-input-container {
12 -webkit-margin-start: 10px; 11 -webkit-margin-start: 10px;
13 margin-bottom: -12px; 12 margin-bottom: -12px;
14 margin-top: -8px; 13 margin-top: -8px;
15 } 14 }
16 15
16 #container {
17 align-items: center;
18 display: flex;
19 flex: 0 1 auto;
20 flex-direction: row;
21 }
22
23 #label {
24 flex: 1;
25 }
26
27 #host {
28 width: 200px;
29 }
30
17 #port { 31 #port {
18 width: 50px; 32 width: 50px;
19 } 33 }
20 </style> 34 </style>
21 <div class="layout horizontal center"> 35 <div id="container">
22 <div class="flex">[[label]]</div> 36 <div id="label">[[label]]</div>
23 <paper-input-container no-label-float> 37 <paper-input-container id="host" no-label-float>
24 <input is="iron-input" bind-value="{{value.Host}}" 38 <input is="iron-input" bind-value="{{value.Host}}"
25 disabled="[[!editable]]" on-change="onValueChange_"> 39 disabled="[[!editable]]" on-change="onValueChange_">
26 </paper-input-container> 40 </paper-input-container>
27 <div>$i18n{networkProxyPort}</div> 41 <div>$i18n{networkProxyPort}</div>
28 <paper-input-container no-label-float id="port"> 42 <paper-input-container id="port" no-label-float>
29 <input is="iron-input" bind-value="{{value.Port}}" 43 <input is="iron-input" bind-value="{{value.Port}}"
30 disabled="[[!editable]]" on-change="onValueChange_"> 44 disabled="[[!editable]]" on-change="onValueChange_">
31 </paper-input-container> 45 </paper-input-container>
32 </div> 46 </div>
33 </template> 47 </template>
34 <script src="network_proxy_input.js"></script> 48 <script src="network_proxy_input.js"></script>
35 </dom-module> 49 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698