diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mailnews/base/content/subscribe.xhtml | |
parent | Initial commit. (diff) | |
download | thunderbird-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/mailnews/base/content/subscribe.xhtml')
-rw-r--r-- | comm/mailnews/base/content/subscribe.xhtml | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/comm/mailnews/base/content/subscribe.xhtml b/comm/mailnews/base/content/subscribe.xhtml new file mode 100644 index 0000000000..f2838b95e2 --- /dev/null +++ b/comm/mailnews/base/content/subscribe.xhtml @@ -0,0 +1,235 @@ +<?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/subscribe.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/searchBox.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/icons.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/colors.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/contextMenu.css" type="text/css"?> + +<!DOCTYPE html SYSTEM "chrome://messenger/locale/subscribe.dtd"> + +<html + id="subscribeWindow" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml" + persist="width height screenX screenY" + lightweightthemes="true" + windowtype="mailnews:subscribe" + scrolling="false" +> + <head> + <title>&subscribeDialog.title;</title> + <script + defer="defer" + src="chrome://messenger/content/globalOverlay.js" + ></script> + <script + defer="defer" + src="chrome://global/content/editMenuOverlay.js" + ></script> + <script + defer="defer" + src="chrome://messenger/content/dialogShadowDom.js" + ></script> + <script + defer="defer" + src="chrome://messenger/content/mailWindow.js" + ></script> + <script + defer="defer" + src="chrome://messenger/content/subscribe.js" + ></script> + </head> + <html:body + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + > + <dialog> + <stringbundle + id="bundle_subscribe" + src="chrome://messenger/locale/subscribe.properties" + /> + <stringbundle + id="bundle_messenger" + src="chrome://messenger/locale/messenger.properties" + /> + + <vbox flex="1"> + <hbox> + <vbox> + <hbox pack="end" align="center" flex="1"> + <label + value="&server.label;" + accesskey="&server.accesskey;" + control="serverMenu" + /> + </hbox> + <hbox flex="1" align="center"> + <label + id="namefieldlabel" + accesskey="&namefield.accesskey;" + value="&namefield.label;" + control="namefield" + /> + </hbox> + </vbox> + <vbox flex="1"> + <menulist id="serverMenu" flex="1" class="folderMenuItem"> + <menupopup + is="folder-menupopup" + mode="subscribe" + expandFolders="false" + oncommand="onServerClick(event.target._folder);" + /> + </menulist> + <search-textbox + id="namefield" + class="themeableSearchBox" + flex="1" + timeout="300" + aria-controls="subscribeTree" + oncommand="Search();" + /> + </vbox> + </hbox> + <spacer /> + <separator class="thin" /> + <spacer /> + <vbox flex="1"> + <tabbox flex="1" handleCtrlTab="false"> + <tabs id="subscribeTabs"> + <tab + id="currentListTab" + selected="true" + onclick="if (!event.target.disabled) ShowCurrentList()" + oncommand="ShowCurrentList()" + /> + <tab + id="newGroupsTab" + label="&newGroupsTab.label;" + accesskey="&newGroupsTab.accesskey;" + onclick="if (!event.target.disabled) ShowNewGroupsList()" + oncommand="ShowNewGroupsList()" + /> + </tabs> + <tabpanels flex="1"> + <tabpanel id="treepanel" flex="1" orient="vertical"> + <label id="subscribeLabel" /> + <hbox flex="1"> + <hbox id="subscribeView" flex="1"> + <tree + id="subscribeTree" + treelines="true" + flex="1" + hidecolumnpicker="true" + seltype="multiple" + disableKeyNavigation="true" + onkeypress="onSubscribeTreeKeyPress(event);" + onclick="SubscribeOnClick(event);" + > + <treecols id="theSubscribeColumns"> + <treecol + id="nameColumn" + primary="true" + hideheader="true" + crop="center" + /> + <splitter class="tree-splitter" /> + <treecol + id="subscribedColumn" + type="checkbox" + style="flex: 1 auto" + hideheader="true" + /> + </treecols> + <treechildren id="subscribeTreeBody" /> + </tree> + </hbox> + <hbox id="searchView" flex="1" hidden="true"> + <tree + id="searchTree" + flex="1" + disableKeyNavigation="true" + hidecolumnpicker="true" + onkeypress="onSearchTreeKeyPress(event);" + onclick="SearchOnClick(event);" + > + <treecols> + <treecol + id="nameColumn2" + primary="true" + hideheader="true" + sortDirection="ascending" + /> + <splitter class="tree-splitter" /> + <treecol + id="subscribedColumn2" + style="flex: 1 auto" + hideheader="true" + /> + </treecols> + <treechildren id="searchTreeBody" /> + </tree> + </hbox> + <vbox> + <button + id="subscribe" + label="&subscribeButton.label;" + accesskey="&subscribeButton.accesskey;" + oncommand="SetSubscribeState(true)" + /> + <button + id="unsubscribe" + label="&unsubscribeButton.label;" + accesskey="&unsubscribeButton.accesskey;" + oncommand="SetSubscribeState(false)" + /> + <button + id="refreshButton" + label="&refreshButton.label;" + accesskey="&refreshButton.accesskey;" + oncommand="Refresh()" + /> + <button + id="stopButton" + label="&stopButton.label;" + accesskey="&stopButton.accesskey;" + oncommand="Stop()" + disabled="true" + /> + <spacer flex="1" /> + </vbox> + </hbox> + </tabpanel> + </tabpanels> + </tabbox> + </vbox> + <hbox> + <hbox id="statusContainerBox" flex="1"> + <label id="statusText" class="statusbarpanel" crop="end" flex="1" /> + <hbox + id="statusbar-progresspanel" + class="statusbarpanel statusbarpanel-progress" + collapsed="true" + pack="end" + flex="1" + > + <html:progress + class="progressmeter-statusbar" + id="statusbar-icon" + value="0" + max="100" + /> + </hbox> + </hbox> + <hbox /> + </hbox> + </vbox> + </dialog> + </html:body> +</html> |