mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
create a new remote, show connect timeout, move alias to edit remote, fix archiving flow
This commit is contained in:
@@ -2311,6 +2311,12 @@ class RemotesModalModel {
|
||||
})();
|
||||
}
|
||||
|
||||
deSelectRemote() : void {
|
||||
mobx.action(() => {
|
||||
this.selectedRemoteId.set(null);
|
||||
})();
|
||||
}
|
||||
|
||||
openModalForEdit(redit : RemoteEditType) : void {
|
||||
mobx.action(() => {
|
||||
this.openState.set(true);
|
||||
@@ -2341,6 +2347,9 @@ class RemotesModalModel {
|
||||
cancelEditAuth() : void {
|
||||
mobx.action(() => {
|
||||
this.remoteEdit.set(null);
|
||||
if (this.selectedRemoteId.get() == null) {
|
||||
this.openModal();
|
||||
}
|
||||
})();
|
||||
}
|
||||
|
||||
|
||||
+384
-106
File diff suppressed because it is too large
Load Diff
+21
-9
@@ -2938,7 +2938,7 @@ input[type=checkbox] {
|
||||
}
|
||||
}
|
||||
|
||||
&.auth-editing {
|
||||
&.auth-editing, &.create-remote {
|
||||
.settings-field.align-top {
|
||||
align-items: flex-start;
|
||||
|
||||
@@ -2951,18 +2951,19 @@ input[type=checkbox] {
|
||||
}
|
||||
}
|
||||
|
||||
.settings-label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.settings-field .settings-input .undo-icon {
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.authmode-dropdown .dropdown-trigger button {
|
||||
width: 120px;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.connectmode-dropdown .dropdown-trigger button {
|
||||
.editremote-dropdown .dropdown-trigger button {
|
||||
width: 120px;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
@@ -2984,8 +2985,16 @@ input[type=checkbox] {
|
||||
padding: 5px 5px 5px 12px;
|
||||
}
|
||||
|
||||
.info-message {
|
||||
margin-left: 22px;
|
||||
.settings-input {
|
||||
.info-message {
|
||||
margin-left: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-label {
|
||||
.info-message {
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.remoteedit-error {
|
||||
@@ -3005,6 +3014,9 @@ input[type=checkbox] {
|
||||
|
||||
.info-message {
|
||||
position: relative;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
color: @term-white;
|
||||
|
||||
.message-content {
|
||||
position: absolute;
|
||||
|
||||
@@ -85,6 +85,7 @@ type RemoteType = {
|
||||
remotecanonicalname : string,
|
||||
remotevars : Record<string, string>,
|
||||
status : RemoteStatusTypeStrs,
|
||||
connecttimeout : number,
|
||||
errorstr : string,
|
||||
installstatus : string,
|
||||
installerrorstr : string,
|
||||
|
||||
Reference in New Issue
Block a user