Deploy the GitHub username change

This commit is contained in:
NI
2020-08-26 11:08:35 +08:00
parent 441374c0d4
commit 706eb93150
40 changed files with 97 additions and 188 deletions

View File

@@ -28,7 +28,7 @@
<div
class="field"
:class="{
error: passphraseErr.length > 0 || error.length > 0
error: passphraseErr.length > 0 || error.length > 0,
}"
>
Passphrase
@@ -49,7 +49,7 @@
class="message"
>
A valid password is required in order to use this
<a href="https://github.com/niruix/sshwifty">Sshwifty</a>
<a href="https://github.com/nirui/sshwifty">Sshwifty</a>
instance
</div>
<div v-else class="error">
@@ -79,20 +79,20 @@ export default {
}
el.focus();
}
}
},
},
},
props: {
error: {
type: String,
default: ""
}
default: "",
},
},
data() {
return {
submitting: false,
passphrase: "",
passphraseErr: ""
passphraseErr: "",
};
},
watch: {
@@ -100,7 +100,7 @@ export default {
if (newVal.length > 0) {
this.submitting = false;
}
}
},
},
mounted() {},
methods: {
@@ -120,7 +120,7 @@ export default {
this.passphraseErr = "";
this.$emit("auth", this.passphrase);
}
}
},
},
};
</script>

View File

@@ -45,7 +45,7 @@
Copyright &copy; 2019-2020 Rui NI &lt;nirui@gmx.com&gt;
</p>
<p class="copy">
<a href="https://github.com/niruix/sshwifty" target="blank">
<a href="https://github.com/nirui/sshwifty" target="blank">
Source code
</a>

View File

@@ -67,7 +67,7 @@
<p>
Sshwifty is a free software, you can deploy it on your own trusted
infrastructure.
<a href="https://github.com/niruix/sshwifty" target="_blank"
<a href="https://github.com/nirui/sshwifty" target="_blank"
>Learn more</a
>
</p>
@@ -92,54 +92,54 @@ export default {
window: Window,
"connect-switch": ConnectSwitch,
"connect-known": ConnectKnown,
"connect-new": ConnectNew
"connect-new": ConnectNew,
},
props: {
display: {
type: Boolean,
default: false
default: false,
},
inputting: {
type: Boolean,
default: false
default: false,
},
presets: {
type: Array,
default: () => []
default: () => [],
},
restrictedToPresets: {
type: Boolean,
default: () => false
default: () => false,
},
knowns: {
type: Array,
default: () => []
default: () => [],
},
knownsLauncherBuilder: {
type: Function,
default: () => []
default: () => [],
},
knownsExport: {
type: Function,
default: () => []
default: () => [],
},
knownsImport: {
type: Function,
default: () => []
default: () => [],
},
connectors: {
type: Array,
default: () => []
default: () => [],
},
busy: {
type: Boolean,
default: false
}
default: false,
},
},
data() {
return {
tab: "new",
canSelect: true
canSelect: true,
};
},
methods: {
@@ -184,7 +184,7 @@ export default {
}
this.$emit("known-clear-session", uid);
}
}
},
},
};
</script>