summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/addrbook/content/abEditListDialog.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mail/components/addrbook/content/abEditListDialog.xhtml
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/mail/components/addrbook/content/abEditListDialog.xhtml')
-rw-r--r--comm/mail/components/addrbook/content/abEditListDialog.xhtml99
1 files changed, 99 insertions, 0 deletions
diff --git a/comm/mail/components/addrbook/content/abEditListDialog.xhtml b/comm/mail/components/addrbook/content/abEditListDialog.xhtml
new file mode 100644
index 0000000000..bf775c274b
--- /dev/null
+++ b/comm/mail/components/addrbook/content/abEditListDialog.xhtml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+
+<!-- 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/. -->
+
+<?xml-stylesheet href="chrome://messenger/skin/addressbook/cardDialog.css" type="text/css"?>
+<?xml-stylesheet href="chrome://messenger/skin/input-fields.css" type="text/css"?>
+<?xml-stylesheet href="chrome://messenger/skin/shared/grid-layout.css" type="text/css"?>
+
+<!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abMailListDialog.dtd">
+
+<window
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ title="&mailListWindowAdd.title;"
+ onload="OnLoadEditList();"
+ ondragover="DragOverAddressListTree(event);"
+ ondrop="DropOnAddressListTree(event);"
+>
+ <dialog id="ablistWindow">
+ <script src="chrome://messenger/content/globalOverlay.js" />
+ <script src="chrome://global/content/editMenuOverlay.js" />
+ <!-- move needed functions into a single js file -->
+ <script src="chrome://messenger/content/addressbook/abCommon.js" />
+ <script src="chrome://messenger/content/addressbook/abMailListDialog.js" />
+
+ <vbox id="editlist">
+ <html:div class="grid-two-column-fr grid-items-center">
+ <label
+ control="ListName"
+ value="&ListName.label;"
+ accesskey="&ListName.accesskey;"
+ class="CardEditLabel"
+ />
+ <hbox class="CardEditWidth input-container">
+ <html:input id="ListName" type="text" class="input-inline" />
+ </hbox>
+ <label
+ control="ListNickName"
+ value="&ListNickName.label;"
+ accesskey="&ListNickName.accesskey;"
+ class="CardEditLabel"
+ />
+ <hbox class="CardEditWidth input-container">
+ <html:input id="ListNickName" type="text" class="input-inline" />
+ </hbox>
+ <label
+ control="ListDescription"
+ value="&ListDescription.label;"
+ accesskey="&ListDescription.accesskey;"
+ class="CardEditLabel"
+ />
+ <hbox class="CardEditWidth input-container">
+ <html:input id="ListDescription" type="text" class="input-inline" />
+ </hbox>
+ </html:div>
+
+ <spacer style="height: 1em" />
+ <label
+ control="addressCol1#1"
+ value="&AddressTitle.label;"
+ accesskey="&AddressTitle.accesskey;"
+ />
+ <spacer style="height: 0.1em" />
+
+ <richlistbox
+ id="addressingWidget"
+ onclick="awClickEmptySpace(event.target, true)"
+ >
+ <richlistitem class="addressingWidgetItem" allowevents="true">
+ <hbox
+ class="addressingWidgetCell input-container"
+ flex="1"
+ role="combobox"
+ >
+ <html:label for="addressCol1#1" class="person-icon"></html:label>
+ <html:input
+ is="autocomplete-input"
+ id="addressCol1#1"
+ class="plain textbox-addressingWidget uri-element"
+ aria-labelledby="addressCol1#1"
+ autocompletesearch="addrbook ldap"
+ autocompletesearchparam="{}"
+ timeout="300"
+ maxrows="4"
+ completedefaultindex="true"
+ forcecomplete="true"
+ completeselectedindex="true"
+ minresultsforpopup="3"
+ onkeypress="awAbRecipientKeyPress(event, this);"
+ onkeydown="awRecipientKeyDown(event, this);"
+ />
+ </hbox>
+ </richlistitem>
+ </richlistbox>
+ </vbox>
+ </dialog>
+</window>