Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6148)

Unified Diff: chrome/browser/resources/settings/site_settings/add_site_dialog.html

Issue 1909413002: Site Settings: Implement dialog for adding site exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/site_settings/add_site_dialog.html
diff --git a/chrome/browser/resources/settings/site_settings/add_site_dialog.html b/chrome/browser/resources/settings/site_settings/add_site_dialog.html
new file mode 100644
index 0000000000000000000000000000000000000000..477a39681a4bc9cd3d1657a505105a921aaa12b3
--- /dev/null
+++ b/chrome/browser/resources/settings/site_settings/add_site_dialog.html
@@ -0,0 +1,28 @@
+<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="chrome://md-settings/i18n_setup.html">
+<link rel="import" href="chrome://md-settings/settings_dialog.html">
+<link rel="import" href="chrome://md-settings/settings_shared_css.html">
+
+<dom-module id="add-site-dialog">
+ <template>
+ <style include="settings-shared"></style>
+ <settings-dialog id="dialog">
+ <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.
+ <div class="body">
+ <span class="start" i18n-content="addSite"></span>
+ <paper-input type="text" id="site" autofocus
+ value="{{site_}}" on-input="validate_"></paper-input>
+ </div>
+ <div class="button-container">
+ <paper-button class="cancel-button" i18n-content="cancel"
+ dialog-dismiss></paper-button>
+ <paper-button class="action-button" id="add"
+ i18n-content="add" on-tap="onAddTap_" disabled>
+ </paper-button>
+ </div>
+ </settings-dialog>
+ </template>
+ <script src="add_site_dialog.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698