diff options
Diffstat (limited to 'chromium/chrome/browser/resources/settings/search_engines_page/search_engine_adder.html')
-rw-r--r-- | chromium/chrome/browser/resources/settings/search_engines_page/search_engine_adder.html | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/chromium/chrome/browser/resources/settings/search_engines_page/search_engine_adder.html b/chromium/chrome/browser/resources/settings/search_engines_page/search_engine_adder.html index 89f5e0b044d..1db68ba5304 100644 --- a/chromium/chrome/browser/resources/settings/search_engines_page/search_engine_adder.html +++ b/chromium/chrome/browser/resources/settings/search_engines_page/search_engine_adder.html @@ -1,43 +1,45 @@ <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> +<link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-collapse.html"> <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html"> -<link rel="import" href="chrome://resources/cr_elements/v1_0/cr_collapse/cr_collapse.html"> <dom-module id="cr-search-engine-adder"> <link rel="import" type="css" href="search_engine_adder.css"> <template> - <div class="add-label layout horizontal center justified"> + <div class="layout horizontal center justified"> <span i18n-content="searchEnginesAddSearchEngineLabel"></span> <cr-expand-button expanded="{{opened}}"></cr-expand-button> </div> - <cr-collapse opened="{{opened}}"> - <div class="container layout horizontal"> - <div class="input-field flex two"> - <div class="input-label" i18n-content="searchEnginesDomainLabel"> + <iron-collapse opened="{{opened}}"> + <div class="settings-box"> + <div class="container layout horizontal"> + <div class="input-field flex two"> + <div class="input-label" i18n-content="searchEnginesDomainLabel"> + </div> + <paper-input id="domainField" auto-validate="false" required> + </paper-input> </div> - <paper-input id="domainField" auto-validate="false" required> - </paper-input> - </div> - <div class="input-field flex two"> - <div class="input-label" i18n-content="searchEnginesKeywordLabel"> + <div class="input-field flex two"> + <div class="input-label" i18n-content="searchEnginesKeywordLabel"> + </div> + <paper-input id="keywordField" auto-validate="false" required> + </paper-input> </div> - <paper-input id="keywordField" auto-validate="false" required> - </paper-input> - </div> - <div class="input-field flex four"> - <div class="input-label" i18n-content="searchEnginesQueryURLLabel"> + <div class="input-field flex four"> + <div class="input-label" i18n-content="searchEnginesQueryURLLabel"> + </div> + <paper-input id="queryURLField" auto-validate="false" required> + </paper-input> + </div> + <div class="layout horizontal center"> + <paper-button i18n-content="searchEnginesAddButtonLabel" + on-tap="add_" raised> + </paper-button> </div> - <paper-input id="queryURLField" auto-validate="false" required> - </paper-input> - </div> - <div class="layout horizontal center"> - <paper-button i18n-content="searchEnginesAddButtonLabel" - on-click="{{add_}}" raised> - </paper-button> </div> </div> - </cr-collapse> + </iron-collapse> </template> <script src="search_engine_adder.js"></script> </dom-module> |