Revision control

Copy as Markdown

Other Tools

<?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/. -->
<!DOCTYPE html SYSTEM "chrome://messenger/locale/subscribe.dtd">
<html
id="subscribeWindow"
persist="width height screenX screenY"
lightweightthemes="true"
windowtype="mailnews:subscribe"
scrolling="false"
>
<head>
<title>&subscribeDialog.title;</title>
<meta
http-equiv="Content-Security-Policy"
content="default-src chrome:; script-src chrome: 'unsafe-inline' moz-src:; style-src chrome: 'unsafe-inline'"
/>
<link rel="localization" href="messenger/treeView.ftl" />
<link rel="stylesheet" href="chrome://messenger/skin/subscribe.css" />
<link rel="stylesheet" href="chrome://messenger/skin/searchBox.css" />
<link rel="stylesheet" href="chrome://messenger/skin/icons.css" />
<link rel="stylesheet" href="chrome://messenger/skin/folderMenus.css" />
<link rel="stylesheet" href="chrome://messenger/skin/colors.css" />
<link rel="stylesheet" href="chrome://messenger/skin/messenger.css" />
<link rel="stylesheet" href="chrome://messenger/skin/themeableDialog.css" />
<link rel="stylesheet" href="chrome://messenger/skin/contextMenu.css" />
<link
rel="stylesheet"
/>
<link rel="stylesheet" href="chrome://messenger/skin/folderSelection.css" />
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
type="module"
></script>
<script
type="module"
></script>
</head>
<html:body
>
<dialog>
<stringbundle
id="bundle_subscribe"
/>
<stringbundle
id="bundle_messenger"
/>
<vbox flex="1">
<vbox>
<!-- Server Label and Input Container -->
<vbox id="serverContainer" flex="1">
<label
id="serverlabel"
value="&server.label;"
accesskey="&server.accesskey;"
control="serverMenu"
/>
<menulist id="serverMenu" flex="1" class="folderMenuItem">
<menupopup
is="folder-menupopup"
mode="subscribe"
expandFolders="false"
oncommand="onServerClick(event.target._folder)"
/>
</menulist>
</vbox>
<!-- Name Field Label and Input Container -->
<vbox id="nameContainer" flex="1">
<label
id="namefieldlabel"
accesskey="&namefield.accesskey;"
value="&namefield.label;"
control="namefield"
/>
<html:input
type="search"
id="namefield"
class="themeableSearchBox"
aria-controls="subscribeTree"
oninput="Search()"
/>
</vbox>
</vbox>
<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" />
<html:div>
<html:base-tree-view id="subscribeTree"></html:base-tree-view>
<vbox>
<button
id="refreshButton"
label="&refreshButton.label;"
accesskey="&refreshButton.accesskey;"
oncommand="Refresh()"
/>
<button
id="stopButton"
label="&stopButton.label;"
accesskey="&stopButton.accesskey;"
oncommand="Stop()"
disabled=""
/>
<spacer flex="1" />
</vbox>
</html:div>
</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="collapsed"
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>