| OLD | NEW |
| (Empty) |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial
og.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-icon-button/paper
-icon-button.html"> | |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | |
| 6 | |
| 7 <dom-module id="settings-add-search-engine-dialog"> | |
| 8 <link rel="import" type="css" href="chrome://md-settings/settings_dialog.css"> | |
| 9 <template> | |
| 10 <paper-dialog modal id="dialog"> | |
| 11 <div id="dialog-content"> | |
| 12 <div class="top-row"> | |
| 13 <span class="title">Add search engine</span> | |
| 14 <paper-icon-button icon="clear" on-tap="onCancelTap_"> | |
| 15 </paper-icon-button> | |
| 16 </div> | |
| 17 <div class="body"> | |
| 18 <div class="explanation"> | |
| 19 <paper-input always-float-label id="searchEngine" | |
| 20 i18n-values="label:searchEnginesSearchEngineLabel" | |
| 21 value="{{searchEngine}}"> | |
| 22 </paper-input> | |
| 23 <paper-input always-float-label id="keyword" | |
| 24 i18n-values="label:searchEnginesKeywordLabel" | |
| 25 value="{{keyword}}"> | |
| 26 </paper-input> | |
| 27 <paper-input always-float-label id="queryUrl" | |
| 28 i18n-values="label:searchEnginesQueryURLLabel" | |
| 29 value="{{queryUrl}}"> | |
| 30 </paper-input> | |
| 31 </div> | |
| 32 <div class="button-container"> | |
| 33 <paper-button class="cancel-button" id="cancel" | |
| 34 on-tap="onCancelTap_" i18n-content="cancel"></paper-button> | |
| 35 <paper-button class="action-button" id="add" | |
| 36 on-tap="onAddTap_" i18n-content="searchEnginesAdd"> | |
| 37 </paper-button> | |
| 38 </div> | |
| 39 </div> | |
| 40 </div> | |
| 41 </paper-dialog> | |
| 42 </template> | |
| 43 <script src="add_search_engine_dialog.js"></script> | |
| 44 </dom-module> | |
| OLD | NEW |