summaryrefslogtreecommitdiffstats
path: root/content/manager/createAccount.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'content/manager/createAccount.xhtml')
-rw-r--r--content/manager/createAccount.xhtml97
1 files changed, 97 insertions, 0 deletions
diff --git a/content/manager/createAccount.xhtml b/content/manager/createAccount.xhtml
new file mode 100644
index 0000000..73acf13
--- /dev/null
+++ b/content/manager/createAccount.xhtml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
+
+<window
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ onload="tbSyncEasNewAccount.onLoad();"
+ onunload="tbSyncEasNewAccount.onUnload();"
+ onclose="return tbSyncEasNewAccount.onClose()" >
+
+ <linkset>
+ <html:link rel="localization" href="toolkit/global/wizard.ftl"/>
+ </linkset>
+
+ <script type="application/javascript" src="chrome://eas4tbsync/content/manager/createAccount.js"/>
+ <script type="application/javascript" src="chrome://eas4tbsync/content/locales.js"/>
+
+ <wizard
+ title="__EAS4TBSYNCMSG_add.title__"
+ id="tbsync.newaccount.wizard">
+
+ <wizardpage onFirstPage="true" label="__EAS4TBSYNCMSG_add.shortdescription__">
+ <description style="width: 350px">__EAS4TBSYNCMSG_add.description__</description>
+
+ <richlistbox height="250" id="tbsync.newaccount.servertype" seltype="single" style="margin-top:1ex" onselect="tbSyncEasNewAccount.onUserDropdown();">
+ <richlistitem value="auto" style="padding: 4px">
+ <vbox><image src="chrome://eas4tbsync/content/skin/eas32.png" style="margin:1ex" /></vbox>
+ <vbox flex="1">
+ <label class="header" value="__EAS4TBSYNCMSG_servertype.auto__" />
+ <description>__EAS4TBSYNCMSG_servertype.description.auto__</description>
+ </vbox>
+ </richlistitem>
+
+ <richlistitem value="custom" style="padding: 4px">
+ <vbox><image src="chrome://eas4tbsync/content/skin/eas32.png" style="margin:1ex" /></vbox>
+ <vbox flex="1">
+ <label class="header" value="__EAS4TBSYNCMSG_servertype.custom__" />
+ <description>__EAS4TBSYNCMSG_servertype.description.custom__</description>
+ </vbox>
+ </richlistitem>
+
+ <richlistitem value="office365" style="padding: 4px">
+ <vbox><image src="chrome://eas4tbsync/content/skin/365_32.png" style="margin:1ex" /></vbox>
+ <vbox flex="1">
+ <label class="header" value="__EAS4TBSYNCMSG_servertype.office365__" />
+ <description>__EAS4TBSYNCMSG_servertype.description.office365__</description>
+ </vbox>
+ </richlistitem>
+ </richlistbox>
+
+ <html:table style="margin-top:1em">
+ <html:tr>
+ <html:td width="33%"><vbox pack="center"><label value="__EAS4TBSYNCMSG_add.name__" /></vbox></html:td>
+ <html:td width="67%"><html:input id="tbsync.newaccount.name" oninput="tbSyncEasNewAccount.onUserTextInput();"/></html:td>
+ </html:tr>
+ <html:tr id="tbsync.newaccount.user.box">
+ <html:td><vbox pack="center"><label value="__EAS4TBSYNCMSG_add.user__" /></vbox></html:td>
+ <html:td><html:input id="tbsync.newaccount.user" oninput="tbSyncEasNewAccount.onUserTextInput();"/></html:td>
+ </html:tr>
+ <html:tr id="tbsync.newaccount.password.box">
+ <html:td><vbox pack="center"><label value="__EAS4TBSYNCMSG_add.password__" /></vbox></html:td>
+ <html:td><html:input id="tbsync.newaccount.password" type="password" oninput="tbSyncEasNewAccount.onUserTextInput();"/></html:td>
+ </html:tr>
+ <html:tr id="tbsync.newaccount.url.box">
+ <html:td><vbox pack="center"><label value="__EAS4TBSYNCMSG_add.url__" /></vbox></html:td>
+ <html:td><html:input id="tbsync.newaccount.url" oninput="tbSyncEasNewAccount.onUserTextInput();" tooltiptext="__EAS4TBSYNCMSG_add.urldescription__"/></html:td>
+ </html:tr>
+
+ <!--html:tr style="height:40px; margin-top:1ex;margin-bottom:1ex;">
+ <html:td><vbox pack="center"></vbox></html:td>
+ <html:td><vbox pack="center"></vbox></html:td>
+ </html:tr-->
+ </html:table>
+
+ <vbox flex="1">
+ </vbox>
+ <hbox id="tbsync.spinner">
+ <image src="chrome://tbsync/content/skin/spinner.gif" style="margin-left:1em" width="16" height="16"/>
+ <label id='tbsync.newaccount.autodiscoverstatus' value="" />
+ </hbox>
+
+ <vbox id="tbsync.error" style="width: 450px;">
+ <description id="tbsync.error.message" flex="1" style="font-weight: bold;"></description>
+ <vbox>
+ <button
+ id="tbsync.error.link"
+ label="__EAS4TBSYNCMSG_manager.ShowEventLog__"
+ oncommand="TbSync.eventlog.open();"/>
+ </vbox>
+ </vbox>
+
+
+ </wizardpage>
+
+ </wizard>
+
+</window>