summaryrefslogtreecommitdiffstats
path: root/content/manager/editAccount.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--content/manager/editAccount.xhtml87
1 files changed, 87 insertions, 0 deletions
diff --git a/content/manager/editAccount.xhtml b/content/manager/editAccount.xhtml
new file mode 100644
index 0000000..9381678
--- /dev/null
+++ b/content/manager/editAccount.xhtml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
+<?xml-stylesheet href="chrome://tbsync/content/manager/manager.css" type="text/css"?>
+
+<window id="tbsync.accountsettings"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ omscope="tbSyncAccountSettings"
+ onload="tbSyncAccountSettings.onload()"
+ onunload="tbSyncAccountSettings.onunload()"
+ title="" >
+
+ <script type="text/javascript" src="chrome://tbsync/content/manager/editAccount.js" />
+ <script type="text/javascript" src="chrome://tbsync/content/scripts/locales.js" />
+
+ <popupset>
+ <menupopup
+ id="tbsync.accountsettings.FolderListContextMenu"
+ folderID=""
+ onpopupshowing="tbSyncAccountSettings.onFolderListContextMenuShowing();">
+ <menuitem
+ class="menuitem-iconic"
+ image="chrome://tbsync/content/skin/warning16.png"
+ label="__TBSYNCMSG_manager.ShowEventLog__"
+ oncommand="TbSync.eventlog.open(tbSyncAccountSettings.accountID, this.parentNode.getAttribute('folderID'));"/>
+ </menupopup>
+ </popupset>
+
+ <tabbox id="tbsync.accountsettings.frame" hidden="true" flex="1">
+
+ <tabs id="manager.tabs" orient="horizontal" value="">
+ <tab id="manager.tabs.status" label="__TBSYNCMSG_manager.tabs.status__" />
+ </tabs>
+
+ <tabpanels flex="1" id="manager.tabpanels" style="margin:0;padding:1ex;">
+ <tabpanel id="manager.tabpanels.status" orient="vertical"><!-- STATUS -->
+ <vbox flex="1">
+ <label class="header" style="margin-left:0; margin-bottom:1ex;" value="__TBSYNCMSG_manager.tabs.status.general__" />
+ <checkbox id="tbsync.accountsettings.enabled" oncommand="tbSyncAccountSettings.toggleEnableState(this);" label="__TBSYNCMSG_manager.tabs.status.enableThisAccount__" />
+
+ <vbox class="showIfEnabled" style="height:100px; overflow-x: hidden; overflow-y:hidden">
+ <hbox flex="1">
+ <vbox flex="1">
+ <label class="header" style="margin-left:0; margin-bottom:1ex; margin-top:2ex;" value="__TBSYNCMSG_manager.status__" />
+ <description id="syncstate"></description>
+ </vbox>
+ <vbox flex="0">
+ <label class="header" style="margin-left:0; margin-bottom:1ex; margin-top:1ex; visibility: hidden" value="nix" />
+ <button id="tbsync.accountsettings.eventlogbtn" label="__TBSYNCMSG_manager.ShowEventLog__" oncommand="TbSync.eventlog.open()" />
+ </vbox>
+ </hbox>
+ </vbox>
+
+ <vbox flex="1">
+ <vbox class="showIfConnected" flex="1">
+ <label style="margin-left:0; margin-bottom: 1ex; margin-top: 2ex" class="header" value="__TBSYNCMSG_manager.tabs.status.resources__"/>
+ <description>__TBSYNCMSG_manager.tabs.status.resources.intro__</description>
+ <richlistbox
+ id="tbsync.accountsettings.folderlist"
+ style="margin: 0 1px 1px 1ex;padding:0; height:225px; overflow-x: hidden;"
+ context="tbsync.accountsettings.FolderListContextMenu"
+ seltype="single">
+ <listheader id="tbsync.accountsettings.folderlist.header" style="border-bottom: 1px solid lightgrey;">
+ </listheader>
+ </richlistbox>
+ <vbox flex="0" style="margin:1ex 0 0 0;">
+ <hbox flex="1" align="center" pack="end">
+ <description style="text-align:right" flex="1" control="tbsync.accountsettings.pref.autosync" tooltiptext="__TBSYNCMSG_manager.tabs.status.never__">__TBSYNCMSG_manager.tabs.status.autotime__</description>
+ <html:input style="width:50px;margin-bottom:0; margin-top:0" id="tbsync.accountsettings.pref.autosync" tooltiptext="__TBSYNCMSG_manager.tabs.status.never__" />
+ <button id="tbsync.accountsettings.syncbtn" style="margin-right:0; margin-bottom:0; margin-top:0; padding: 0 1ex;" label="__TBSYNCMSG_manager.tabs.status.sync__" oncommand="TbSync.core.syncAccount(tbSyncAccountSettings.accountID)" />
+ </hbox>
+ </vbox>
+ </vbox>
+ </vbox>
+
+ <hbox id="tbsync.accountsettings.connectbtn.container" flex="0" style="margin:1ex 0 0 0;" pack="end">
+ <button id="tbsync.accountsettings.connectbtn" style="margin-right:0; margin-bottom:0; margin-top:0; padding: 0 1ex;" label="__TBSYNCMSG_manager.tabs.status.tryagain__" oncommand="TbSync.core.syncAccount(tbSyncAccountSettings.accountID)" />
+ </hbox>
+
+ </vbox>
+ </tabpanel>
+ </tabpanels>
+
+ </tabbox>
+
+</window>