summaryrefslogtreecommitdiffstats
path: root/content/manager/createAccount.xhtml
blob: 73acf1339d608fe9330b841b03a8bf0ac38a2457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
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>