| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 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"> | 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-input/paper-input
.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 4 <link rel="import" href="chrome://md-settings/settings_dialog_css.html"> | 4 <link rel="import" href="chrome://md-settings/settings_dialog_css.html"> |
| 5 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 5 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
| 6 | 6 |
| 7 <dom-module id="settings-startup-urls-page"> | 7 <dom-module id="settings-startup-urls-page"> |
| 8 <link rel="import" type="css" href="on_startup_shared.css"> | 8 <link rel="import" type="css" href="on_startup_shared.css"> |
| 9 <template> | 9 <template> |
| 10 <style include="settings-dialog"></style> | 10 <style include="settings-dialog"></style> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 <paper-dialog modal id="addUrlDialog" class="layout vertical"> | 32 <paper-dialog modal id="addUrlDialog" class="layout vertical"> |
| 33 <div id="dialog-content"> | 33 <div id="dialog-content"> |
| 34 <div class="top-row"> | 34 <div class="top-row"> |
| 35 <div class="title" i18n-content="onStartupAddNewPage"></div> | 35 <div class="title" i18n-content="onStartupAddNewPage"></div> |
| 36 <paper-icon-button icon="clear" on-tap="onCancelTap_" id="close"> | 36 <paper-icon-button icon="clear" on-tap="onCancelTap_" id="close"> |
| 37 </paper-icon-button> | 37 </paper-icon-button> |
| 38 </div> | 38 </div> |
| 39 <div class="body"> | 39 <div class="body"> |
| 40 <div class="explanation"> | 40 <div class="explanation"> |
| 41 <paper-input class="flex" always-float-label | 41 <paper-input class="flex" always-float-label |
| 42 i18n-values="label:onStartupSiteUrl" value="{{newUrl}}"> | 42 i18n-values="label:onStartupSiteUrl" value="{{newUrl_}}"> |
| 43 </paper-input> | 43 </paper-input> |
| 44 </div> | 44 </div> |
| 45 <div class="button-container"> | 45 <div class="button-container"> |
| 46 <div class="action-buttons"> | 46 <div class="action-buttons"> |
| 47 <paper-button class="cancel-button" on-tap="onCancelTap_" | 47 <paper-button class="cancel-button" on-tap="onCancelTap_" |
| 48 id="cancel" i18n-content="cancel"></paper-button> | 48 id="cancel" i18n-content="cancel"></paper-button> |
| 49 <!-- TODO(dbeam): this button should be [disabled] when |newUrl| | 49 <!-- TODO(dbeam): this button should be [disabled] when |newUrl| |
| 50 is empty. --> | 50 is empty. --> |
| 51 <paper-button class="action-button" on-tap="onOkTap_" | 51 <paper-button class="action-button" on-tap="onOkTap_" |
| 52 id="addUrlButton" i18n-content="add"></paper-button> | 52 id="addUrlButton" i18n-content="add"></paper-button> |
| 53 </div> | 53 </div> |
| 54 </div> | 54 </div> |
| 55 </div> | 55 </div> |
| 56 </div> | 56 </div> |
| 57 </paper-dialog> | 57 </paper-dialog> |
| 58 | 58 |
| 59 </template> | 59 </template> |
| 60 <script src="startup_urls_page.js"></script> | 60 <script src="startup_urls_page.js"></script> |
| 61 </dom-module> | 61 </dom-module> |
| OLD | NEW |