+ @* Provider Picker (capability-driven UI) *@
+
+
+
+
+
+ @if (IsGitHub)
+ {
+ @* ===== GitHub field set (SupportsBranches) ===== *@
@* Authentication Status *@
}
+ }
+ else if (IsCredentials)
+ {
+ @* ===== Credentials field set (e.g. FTP) ===== *@
+ @if (_ftpBusy)
+ {
+
+ }
+ else
+ {
+ @if (!string.IsNullOrEmpty(_ftpError))
+ {
+
+
+
+
+
Import Failed
+
@_ftpError
+
+
+
+ }
+
+ @if (_ftpResult is not null)
+ {
+
+
+
+
+
Import Complete
+
+ Imported @_ftpResult.FilesLoaded files (@_ftpResult.Skipped.Count skipped) from @_ftpResult.RemoteRoot
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Remote directory to import from (defaults to /)
+
+ }
+ }