Revision fe62b7f4 trunk/Pithos.Client.WPF/Preferences/AddAccountView.xaml
b/trunk/Pithos.Client.WPF/Preferences/AddAccountView.xaml | ||
---|---|---|
14 | 14 |
Title="Add new Pithos Account" |
15 | 15 |
Description="This Wizard will walk you through adding a new Pithos account and retrieving an authentication token" |
16 | 16 |
BackButtonVisibility="Collapsed" |
17 |
FinishButtonVisibility="Collapsed"/> |
|
17 |
FinishButtonVisibility="Collapsed" |
|
18 |
/> |
|
18 | 19 |
<extToolkit:WizardPage x:Name="ChooseServer" PageType="Interior" |
19 | 20 |
Title="Where do you want to connect?" |
20 | 21 |
Description="You can connect to the production or development server, or enter your own server URL" |
21 | 22 |
FinishButtonVisibility="Collapsed" |
22 | 23 |
CanSelectNextPage="{Binding IsValidServer}" |
24 |
|
|
23 | 25 |
> |
24 | 26 |
<StackPanel > |
25 | 27 |
<Label Content="Pithos Server" Target="{Binding ElementName=Servers}" /> |
... | ... | |
40 | 42 |
Title="How do you want to add the account?" |
41 | 43 |
Description="You can add an account either by logging in the Pithos Web Site or by entering your username and password manually" |
42 | 44 |
FinishButtonVisibility="Collapsed" |
43 |
CanSelectNextPage="False"> |
|
45 |
CanSelectNextPage="False" |
|
46 |
> |
|
44 | 47 |
<StackPanel > |
45 | 48 |
<RadioButton x:Name="Automatic" Content="By logging to Pithos" Checked="Automatic_Checked" Margin="5"/> |
46 | 49 |
<RadioButton x:Name="Manually" Content="Manually" Checked="Manually_Checked" Margin="5"/> |
... | ... | |
53 | 56 |
FinishButtonVisibility="Collapsed" |
54 | 57 |
CanSelectNextPage="{Binding HasValidCredentials,NotifyOnTargetUpdated=True}" |
55 | 58 |
TargetUpdated="OnTargetUpdated" |
59 |
|
|
56 | 60 |
> |
57 | 61 |
<extToolkit:BusyIndicator x:Name="ManualBusyIndicator" IsBusy="{Binding IsWorking,NotifyOnSourceUpdated=true}" DisplayAfter="0" > |
58 | 62 |
<extToolkit:BusyIndicator.BusyContent> |
... | ... | |
86 | 90 |
FinishButtonVisibility="Collapsed" |
87 | 91 |
CanSelectNextPage="{Binding HasValidCredentials,NotifyOnTargetUpdated=true}" |
88 | 92 |
TargetUpdated="OnTargetUpdated" |
93 |
|
|
89 | 94 |
> |
90 | 95 |
<extToolkit:BusyIndicator x:Name="AutoBusyIndicator" IsBusy="{Binding IsWorking}" DisplayAfter="0"> |
91 | 96 |
<extToolkit:BusyIndicator.BusyContent> |
... | ... | |
115 | 120 |
<StackPanel> |
116 | 121 |
<Label Content="Path:" Target="{Binding ElementName=AccountPath}"/> |
117 | 122 |
<Grid HorizontalAlignment="Stretch"> |
123 |
<Grid.RowDefinitions> |
|
124 |
<RowDefinition Height="Auto"/> |
|
125 |
<RowDefinition/> |
|
126 |
</Grid.RowDefinitions> |
|
118 | 127 |
<Grid.ColumnDefinitions> |
119 | 128 |
<ColumnDefinition /> |
120 | 129 |
<ColumnDefinition Width="Auto" /> |
121 | 130 |
</Grid.ColumnDefinitions> |
122 |
<TextBox x:Name="AccountPath" HorizontalAlignment="Stretch" Grid.Column="0" > |
|
131 |
<TextBox x:Name="AccountPath" HorizontalAlignment="Stretch" Grid.Column="0" Grid.Row="0">
|
|
123 | 132 |
<TextBox.Text> |
124 | 133 |
<Binding Path="AccountPath" Mode="TwoWay"> |
125 | 134 |
<Binding.ValidationRules> |
... | ... | |
136 | 145 |
</ControlTemplate> |
137 | 146 |
</Validation.ErrorTemplate> |
138 | 147 |
</TextBox> |
139 |
<Button x:Name="SelectAccount" Content="Select ..." HorizontalAlignment="Right" Grid.Column="1"/> |
|
148 |
<Button x:Name="SelectAccount" Content="Select ..." HorizontalAlignment="Right" Grid.Column="1" Grid.Row="0"/> |
|
149 |
<CheckBox x:Name="ShouldCreateOkeanosFolder" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" > |
|
150 |
<CheckBox.Content> |
|
151 |
<TextBlock TextWrapping="Wrap"> |
|
152 |
Create an Okeanos folder below the selected folder |
|
153 |
<LineBreak/> |
|
154 |
Clear this setting to use the currently selected folder and synchronize its contents |
|
155 |
</TextBlock> |
|
156 |
</CheckBox.Content> |
|
157 |
</CheckBox> |
|
140 | 158 |
</Grid> |
141 | 159 |
</StackPanel> |
142 | 160 |
</extToolkit:WizardPage> |
143 | 161 |
<extToolkit:WizardPage x:Name="LastPage" PageType="Interior" |
144 | 162 |
Title="Finish" |
145 | 163 |
Description="Press finish to create the account" |
146 |
CanFinish="True"> |
|
164 |
CanFinish="True" |
|
165 |
> |
|
147 | 166 |
<Grid> |
148 | 167 |
<Grid.RowDefinitions> |
149 | 168 |
<RowDefinition Height="Auto"/> |
Also available in: Unified diff