Chromium Code Reviews| Index: chrome/browser/resources/settings/site_settings/edit_exception_dialog.html |
| diff --git a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.html b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..66896a3d9c056448988653ca2fe0bd50d62d7615 |
| --- /dev/null |
| +++ b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.html |
| @@ -0,0 +1,30 @@ |
| +<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html"> |
| +<link rel="import" href="chrome://resources/html/polymer.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="../i18n_setup.html"> |
| +<link rel="import" href="site_settings_prefs_browser_proxy.html"> |
| + |
| +<dom-module id="settings-edit-exception-dialog"> |
| + <template> |
| + <style include="settings-shared"></style> |
| + <dialog is="cr-dialog" id="dialog"> |
| + <div class="title">Edit exception</div> |
|
dpapad
2017/02/21 22:46:08
Oops, forgot to localize this string. Localizing i
dpapad
2017/02/21 23:18:20
Done.
|
| + <div class="body"> |
| + <paper-input always-float-label id="url" label="$i18n{onStartupSiteUrl}" |
| + value="{{origin_}}" on-keypress="onKeypress_"> |
| + </paper-input> |
| + </div> |
| + <div class="button-container"> |
| + <div class="action-buttons"> |
| + <paper-button class="cancel-button" on-tap="onCancelTap_" |
| + id="cancel">$i18n{cancel}</paper-button> |
| + <paper-button id="actionButton" class="action-button" |
| + disabled="[[!origin_.length]]" |
| + on-tap="onActionButtonTap_">$i18n{edit}</paper-button> |
| + </div> |
| + </div> |
| + </dialog> |
| + </template> |
| + <script src="edit_exception_dialog.js"></script> |
| +</dom-module> |