summaryrefslogtreecommitdiffstats
path: root/content/manager/editAccountOverlay.xhtml
blob: dc37731e64007ce63ee59e712ad77e383750a1c3 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://tbsync/content/skin/fix_dropdown_1534697.css" type="text/css"?>

<overlay 
    id="tbSyncAccountConfig" 
    xmlns:html="http://www.w3.org/1999/xhtml">

    <script type="application/javascript" src="chrome://eas4tbsync/content/manager/editAccountOverlay.js"/>
    <script type="application/javascript" src="chrome://eas4tbsync/content/locales.js"/>

    <menuitem 
        id="TbSync.eas.FolderListContextMenuDelete" 
        label="__EAS4TBSYNCMSG_pref.ShowTrashedFolders__" 
        class="menuitem-iconic"
        image="chrome://tbsync/content/skin/trash16.png"
        appendto="tbsync.accountsettings.FolderListContextMenu"
        oncommand="tbSyncEditAccountOverlay.deleteFolder();"/>
    
    <tab id="manager.tabs.accountsettings" label="__EAS4TBSYNCMSG_manager.tabs.accountsettings__" appendto="manager.tabs" />
    <tab id="manager.tabs.syncsettings" label="__EAS4TBSYNCMSG_manager.tabs.syncsettings__" appendto="manager.tabs" />

    <tabpanel id="manager.tabpanels.accountsettings" appendto="manager.tabpanels" flex="1" orient="vertical"><!-- ACCOUNT SETTINGS -->
          <vbox flex="1">
                <label class="header lockIfConnected" style="margin-left:0; margin-bottom:1ex;" value="" id="tbsync.accountsettings.label.config" />                
                <html:table flex="1">
                    <html:tr>
                        <html:td style="margin-right:1ex;">
                            <vbox pack="center">
                                <label style="text-align:left" control="tbsync.accountsettings.pref.accountname" value="__EAS4TBSYNCMSG_pref.AccountName__" />
                            </vbox>
                        </html:td>
                        <html:td width="100%">
                            <html:input id="tbsync.accountsettings.pref.accountname" />
                        </html:td>
                    </html:tr>
                    
                    <html:tr>
                        <html:td style="margin-right:1ex;" >
                            <vbox pack="center">
                                <label class="lockIfConnected" style="text-align:left" control="tbsync.accountsettings.pref.user" value="__EAS4TBSYNCMSG_pref.UserName__" />
                            </vbox>
                        </html:td>
                        <html:td>
                            <html:input class="lockIfConnected" tooltiptext="__EAS4TBSYNCMSG_pref.UserNameDescription__" id="tbsync.accountsettings.pref.user" />
                        </html:td>
                    </html:tr>
                    
                    <html:tr>
                        <html:td style="margin-right:1ex;" >
                            <vbox pack="center">
                                <label class="lockIfConnected" style="text-align:left" control="tbsync.accountsettings.pref.host" value="__EAS4TBSYNCMSG_pref.ServerName__" />
                            </vbox>
                        </html:td>
                        <html:td>
                            <html:input class="lockIfConnected"  tooltiptext="__EAS4TBSYNCMSG_pref.ServerNameDescription__" id="tbsync.accountsettings.pref.host" onblur="tbSyncEditAccountOverlay.stripHost(document);" />
                        </html:td>
                    </html:tr>

                    <html:tr>
                        <html:td style="margin-right:1ex;" >
                            <hbox/>
                        </html:td>
                        <html:td>
                            <checkbox class="lockIfConnected" style="margin-bottom:1ex" id="tbsync.accountsettings.pref.https" label="__EAS4TBSYNCMSG_pref.usehttps__"  />
                        </html:td>
                    </html:tr>
                    
                    <html:tr>
                        <html:td style="margin-right:1ex;" >
                            <vbox id="asversion.hook" pack="center">
                                <label class="lockIfConnected"  style="text-align:left" control="tbsync.accountsettings.pref.asversionselected" value="__EAS4TBSYNCMSG_pref.ActiveSyncVersion__" />
                            </vbox>
                        </html:td>
                        <html:td>
                            <menulist flex="0" id="tbsync.accountsettings.pref.asversionselected" class="lockIfConnected">
                                <menupopup id="asversion.popup">
                                    <menuitem label="__EAS4TBSYNCMSG_pref.autodetect__" value="auto" />
                                    <menuitem label="v2.5" value="2.5" />
                                    <menuitem label="v14.0" value="14.0" />
                                </menupopup>
                            </menulist>
                        </html:td>
                    </html:tr>

                    <html:tr>
                        <html:td style="margin-right:1ex;" >
                            <label class="lockIfConnected" style="text-align:left" value="__EAS4TBSYNCMSG_pref.DeviceId__" />
                        </html:td>
                        <html:td>
                            <label value="" disabled="true" id="tbsync.accountsettings.pref.deviceId" />
                        </html:td>
                    </html:tr>
                </html:table>

                <vbox flex="1" />
                <vbox class="showIfConnected">
                    <hbox>
                        <vbox pack="center"><image src="chrome://tbsync/content/skin/info16.png" /></vbox>
                        <description flex="1">__EAS4TBSYNCMSG_manager.lockedsettings.description__</description>
                    </hbox>
                </vbox>

        </vbox>
    </tabpanel>

    <tabpanel id="manager.tabpanels.syncsettings" appendto="manager.tabpanels" flex="1" orient="vertical"><!-- SYNC SETTINGS -->
          <vbox flex="1">
                <label style="margin-left:0; margin-bottom: 1ex;" class="header lockIfConnected" value="__EAS4TBSYNCMSG_pref.generaloptions__"/>
                <vbox>                            
                    <checkbox class="lockIfConnected" id="tbsync.accountsettings.pref.provision" label="__EAS4TBSYNCMSG_pref.provision__"  />
                </vbox>                            

                <label style="margin-left:0; margin-bottom: 1ex; margin-top: 3ex" class="header lockIfConnected" value="__EAS4TBSYNCMSG_pref.contactoptions__"/>
                <vbox>                            
                    <checkbox class="lockIfConnected" id="tbsync.accountsettings.pref.displayoverride" label="__EAS4TBSYNCMSG_pref.displayoverride__" />
                    <hbox align="center">
                        <description id="separator.hook" class="lockIfConnected" flex="0">__EAS4TBSYNCMSG_pref.seperator.description__</description>
                        <menulist id="tbsync.accountsettings.pref.seperator" class="lockIfConnected">
                            <menupopup id="separator.popup">
                                <menuitem label="__EAS4TBSYNCMSG_pref.seperator.linebreak__" value="10" />
                                <menuitem label="__EAS4TBSYNCMSG_pref.seperator.comma__" value="44" />
                            </menupopup>
                        </menulist>                            
                    </hbox>
                </vbox>                            

                <label style="margin-left:0; margin-bottom: 1ex; margin-top: 3ex" class="header lockIfConnected" value="__EAS4TBSYNCMSG_pref.calendaroptions__"/>
                <vbox>                            
                    <hbox align="center">
                        <description id="synclimit.hook" class="lockIfConnected" flex="0">__EAS4TBSYNCMSG_pref.synclimit.description__</description>
                        <menulist id="tbsync.accountsettings.pref.synclimit" class="lockIfConnected">
                            <menupopup id="synclimit.popup">
                                <menuitem label="__EAS4TBSYNCMSG_pref.synclimit.all__" value="0" />
                                <menuitem label="__EAS4TBSYNCMSG_pref.synclimit.2weeks__" value="4" />
                                <menuitem label="__EAS4TBSYNCMSG_pref.synclimit.1month__" value="5" />
                                <menuitem label="__EAS4TBSYNCMSG_pref.synclimit.3month__" value="6" />
                                <menuitem label="__EAS4TBSYNCMSG_pref.synclimit.6month__" value="7" />
                            </menupopup>
                        </menulist>                            
                    </hbox>
                </vbox>                            


                <vbox flex="1" />
                <vbox class="showIfConnected">
                    <hbox>
                        <vbox pack="center"><image src="chrome://tbsync/content/skin/info16.png" /></vbox>
                        <description flex="1">__EAS4TBSYNCMSG_manager.lockedsettings.description__</description>
                    </hbox>
                </vbox>
            </vbox>
    </tabpanel>

</overlay>