OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/html/assert.html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 7 |
| 8 <dom-module id="bookmarks-edit-dialog"> |
| 9 <template> |
| 10 <style include="cr-shared-style"></style> |
| 11 <dialog is="cr-dialog" id="dialog"> |
| 12 <div class="title">[[getDialogTitle_(isFolder_)]]</div> |
| 13 <div class="body"> |
| 14 <paper-input always-float-label id="name" |
| 15 label="$i18n{editDialogNameInput}" |
| 16 value="{{titleValue_}}" |
| 17 autofocus> |
| 18 </paper-input> |
| 19 <paper-input always-float-label id="url" |
| 20 label="$i18n{editDialogUrlInput}" |
| 21 value="{{urlValue_}}" |
| 22 hidden$="[[isFolder_]]"> |
| 23 </paper-input> |
| 24 </div> |
| 25 <div class="button-container"> |
| 26 <paper-button class="cancel-button" on-tap="onCancelButtonTap_"> |
| 27 $i18n{cancelEdit} |
| 28 </paper-button> |
| 29 <paper-button id="saveButton" class="action-button" |
| 30 on-tap="onSaveButtonTap_"> |
| 31 $i18n{saveEdit} |
| 32 </paper-button> |
| 33 </div> |
| 34 </dialog> |
| 35 </template> |
| 36 <script src="chrome://bookmarks/edit_dialog.js"></script> |
| 37 </dom-module> |
OLD | NEW |