Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | |
| 2 <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-input/paper-input .html"> | |
| 4 <link rel="import" href="chrome://md-settings/i18n_setup.html"> | |
| 5 <link rel="import" href="chrome://md-settings/settings_dialog.html"> | |
| 6 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | |
| 7 | |
| 8 <dom-module id="add-site-dialog"> | |
| 9 <template> | |
| 10 <style include="settings-shared"></style> | |
| 11 <settings-dialog id="dialog"> | |
| 12 <div class="title" i18n-content="addSiteHeader"></div> | |
|
michaelpg
2016/04/24 19:58:39
since this is new code, could you use $i18n{} inst
Finnur
2016/04/25 10:23:12
Done.
| |
| 13 <div class="body"> | |
| 14 <span class="start" i18n-content="addSite"></span> | |
| 15 <paper-input type="text" id="site" autofocus | |
| 16 value="{{site_}}" on-input="validate_"></paper-input> | |
| 17 </div> | |
| 18 <div class="button-container"> | |
| 19 <paper-button class="cancel-button" i18n-content="cancel" | |
| 20 dialog-dismiss></paper-button> | |
| 21 <paper-button class="action-button" id="add" | |
| 22 i18n-content="add" on-tap="onAddTap_" disabled> | |
| 23 </paper-button> | |
| 24 </div> | |
| 25 </settings-dialog> | |
| 26 </template> | |
| 27 <script src="add_site_dialog.js"></script> | |
| 28 </dom-module> | |
| OLD | NEW |