diff --git a/app/static/provider-do.vue b/app/static/provider-do.vue index f34bdbd..c068222 100644 --- a/app/static/provider-do.vue +++ b/app/static/provider-do.vue @@ -46,7 +46,7 @@ module.exports = { }, computed: { is_valid() { - return (this.do_config || this.ui_token_from_env) && this.region; + return (this.do_token || this.ui_token_from_env) && this.region; } }, created: function() { diff --git a/app/static/provider-hetzner.vue b/app/static/provider-hetzner.vue new file mode 100644 index 0000000..46bc205 --- /dev/null +++ b/app/static/provider-hetzner.vue @@ -0,0 +1,118 @@ + + + + + The token was read from the environment variable + + + + + Enter your API token. The token must have read and write permissions + ? + + + + + + Next + + + + diff --git a/app/static/provider-setup.vue b/app/static/provider-setup.vue index 89bcf44..5ef2464 100644 --- a/app/static/provider-setup.vue +++ b/app/static/provider-setup.vue @@ -62,7 +62,8 @@ module.exports = { 'ec2': window.httpVueLoader('/static/provider-ec2.vue'), 'gce': window.httpVueLoader('/static/provider-gce.vue'), 'vultr': window.httpVueLoader('/static/provider-vultr.vue'), - 'scaleway': window.httpVueLoader('/static/provider-scaleway.vue') + 'scaleway': window.httpVueLoader('/static/provider-scaleway.vue'), + 'hetzner': window.httpVueLoader('/static/provider-hetzner.vue') } };