summaryrefslogtreecommitdiffstats
path: root/browser/components/places/content/editBookmarkPanel.inc.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--browser/components/places/content/editBookmarkPanel.inc.xhtml126
1 files changed, 126 insertions, 0 deletions
diff --git a/browser/components/places/content/editBookmarkPanel.inc.xhtml b/browser/components/places/content/editBookmarkPanel.inc.xhtml
new file mode 100644
index 0000000000..3e7e2c3646
--- /dev/null
+++ b/browser/components/places/content/editBookmarkPanel.inc.xhtml
@@ -0,0 +1,126 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
+# You can obtain one at http://mozilla.org/MPL/2.0/.
+
+<div id="editBookmarkPanelContent">
+ <label id="editBMPanel_itemsCountText"
+ class="editBMPanel_selectionCount"/>
+
+ <label data-l10n-id="bookmark-overlay-name-2"
+ class="editBMPanel_nameRow hideable"
+ control="editBMPanel_namePicker"/>
+ <html:input id="editBMPanel_namePicker"
+ class="editBMPanel_nameRow hideable"
+ type="text"
+ onchange="gEditItemOverlay.onNamePickerChange().catch(Cu.reportError);"/>
+
+ <label data-l10n-id="bookmark-overlay-url"
+ class="editBMPanel_locationRow hideable"
+ control="editBMPanel_locationField"/>
+ <html:input id="editBMPanel_locationField"
+ class="editBMPanel_locationRow uri-element hideable"
+ type="text"
+ onchange="gEditItemOverlay.onLocationFieldChange();"/>
+
+ <label data-l10n-id="bookmark-overlay-location-2"
+ class="editBMPanel_folderRow hideable"
+ control="editBMPanel_folderMenuList"/>
+ <hbox class="editBMPanel_folderRow hideable">
+ <menulist id="editBMPanel_folderMenuList"
+ class="folder-icon"
+ flex="1"
+ size="large"
+ oncommand="gEditItemOverlay.onFolderMenuListCommand(event).catch(Cu.reportError);">
+ <menupopup>
+ <!-- Static item for special folders -->
+ <menuitem id="editBMPanel_toolbarFolderItem"
+ class="menuitem-iconic folder-icon"/>
+ <menuitem id="editBMPanel_bmRootItem"
+ class="menuitem-iconic folder-icon"/>
+ <menuitem id="editBMPanel_unfiledRootItem"
+ class="menuitem-iconic folder-icon"/>
+ <menuseparator id="editBMPanel_chooseFolderSeparator"/>
+ <menuitem id="editBMPanel_chooseFolderMenuItem"
+ data-l10n-id="bookmark-overlay-choose"
+ class="menuitem-iconic folder-icon"/>
+ <menuseparator id="editBMPanel_foldersSeparator" hidden="true"/>
+ </menupopup>
+ </menulist>
+ <button id="editBMPanel_foldersExpander"
+ class="expander-down panel-button"
+ data-l10n-id="bookmark-overlay-folders-expander"
+ data-l10n-attrs="tooltiptextdown, tooltiptextup"
+ oncommand="gEditItemOverlay.toggleFolderTreeVisibility();"/>
+ </hbox>
+
+ <vbox id="editBMPanel_folderTreeRow"
+ class="hideable"
+ hidden="true">
+ <!-- editBMPanel_folderTree will go here when this is shown -->
+ <hbox id="editBMPanel_newFolderBox">
+ <button data-l10n-id="bookmark-overlay-new-folder-button"
+ id="editBMPanel_newFolderButton"
+ oncommand="gEditItemOverlay.newFolder().catch(Cu.reportError);"/>
+ </hbox>
+ </vbox>
+
+ <label data-l10n-id="bookmark-overlay-tags-2"
+ class="editBMPanel_tagsRow hideable"
+ control="editBMPanel_tagsField"/>
+ <hbox class="editBMPanel_tagsRow hideable">
+ <html:input id="editBMPanel_tagsField"
+ type="text"
+ is="autocomplete-input"
+ style="-moz-box-flex: 1;"
+ autocompletesearch="places-tag-autocomplete"
+ autocompletepopup="editBMPanel_tagsAutocomplete"
+ completedefaultindex="true"
+ completeselectedindex="true"
+ tabscrolling="true"
+ data-l10n-id="bookmark-overlay-tags-empty-description"
+ data-l10n-attrs="placeholder"
+ aria-describedby="tags-field-info"
+ onchange="gEditItemOverlay.onTagsFieldChange();"/>
+ <popupset>
+ <panel is="autocomplete-richlistbox-popup"
+ type="autocomplete-richlistbox"
+ id="editBMPanel_tagsAutocomplete"
+ role="group"
+ noautofocus="true"
+ hidden="true"
+ overflowpadding="4"
+ norolluponanchor="true"
+ nomaxresults="true"/>
+ </popupset>
+ <button id="editBMPanel_tagsSelectorExpander"
+ class="expander-down panel-button"
+ data-l10n-id="bookmark-overlay-tags-expander"
+ data-l10n-attrs="tooltiptextdown, tooltiptextup"
+ oncommand="gEditItemOverlay.toggleTagsSelector().catch(Cu.reportError);"/>
+ </hbox>
+
+ <div id="tags-field-info"
+ class="editBMPanel_tagsRow caption-label hideable"
+ data-l10n-id="bookmark-overlay-tags-caption-label"/>
+
+ <div id="editBMPanel_tagsSelectorRow"
+ class="hideable"
+ hidden="true">
+ <richlistbox id="editBMPanel_tagsSelector"
+ style="-moz-box-flex: 1"
+ styled="true"/>
+ </div>
+
+ <label data-l10n-id="bookmark-overlay-keyword-2"
+ class="editBMPanel_keywordRow hideable"
+ control="editBMPanel_keywordField"/>
+ <html:input id="editBMPanel_keywordField"
+ class="editBMPanel_keywordRow hideable"
+ type="text"
+ aria-describedby="keyword-field-info"
+ onchange="gEditItemOverlay.onKeywordFieldChange();"/>
+
+ <div id="keyword-field-info"
+ class="editBMPanel_keywordRow caption-label hideable"
+ data-l10n-id="bookmark-overlay-keyword-caption-label-2"/>
+</div>