Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> | |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | |
|
dschuyler
2017/02/23 01:31:49
Let's import polymer.html first; I hear it's the r
dpapad
2017/02/23 19:39:47
Correct. Done.
| |
| 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-input/paper-input .html"> | |
| 5 <link rel="import" href="../i18n_setup.html"> | |
| 6 <link rel="import" href="site_settings_prefs_browser_proxy.html"> | |
| 7 | |
| 8 <dom-module id="settings-edit-exception-dialog"> | |
| 9 <template> | |
| 10 <style include="settings-shared"></style> | |
| 11 <dialog is="cr-dialog" id="dialog"> | |
| 12 <div class="title">$i18n{editSiteDialogTitle}</div> | |
| 13 <div class="body"> | |
| 14 <paper-input always-float-label id="url" label="$i18n{onStartupSiteUrl}" | |
| 15 value="{{origin_}}" on-keypress="onKeypress_"> | |
| 16 </paper-input> | |
| 17 </div> | |
| 18 <div class="button-container"> | |
| 19 <div class="action-buttons"> | |
| 20 <paper-button class="cancel-button" on-tap="onCancelTap_" | |
| 21 id="cancel">$i18n{cancel}</paper-button> | |
| 22 <paper-button id="actionButton" class="action-button" | |
| 23 disabled="[[!origin_.length]]" | |
|
dschuyler
2017/02/23 01:31:49
Please validate the url with something like this.b
dpapad
2017/02/23 19:39:47
Thanks. Done (and updated tests).
| |
| 24 on-tap="onActionButtonTap_">$i18n{edit}</paper-button> | |
| 25 </div> | |
| 26 </div> | |
| 27 </dialog> | |
| 28 </template> | |
| 29 <script src="edit_exception_dialog.js"></script> | |
| 30 </dom-module> | |
| OLD | NEW |