diff --git a/dashboard/setup.html b/dashboard/setup.html index d95dc1718..e4a323cba 100644 --- a/dashboard/setup.html +++ b/dashboard/setup.html @@ -1,408 +1,27 @@ - - - - + + + + + + + + + - Cloudron Domain Setup - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cloudron is offline. Reconnecting... - -
-
-
-
-

{{ message }} ...

-
-
-
-
-
-
-
-
-

- Please wait while Cloudron is setting up the dashboard.
- You can follow the logs on the server at /home/yellowtent/platformdata/logs/box.log -

-
-
-

- If setup appears stuck, it can be restarted by running systemctl restart box and reloading this page. -

-
-
-
- -
-
-
-
-
-
-
-

Domain Setup

-

{{ error.setup }}

-
-
-
-
-
- - -
Are you sure about this domain? The dashboard will be at my.{{ dnsCredentials.domain }}
-

- Apps will be installed on subdomains of this domain. The dashboard will be available on the my subdomain. You can add more domains later. -

-
-
-
-
-
-

Domain Configuration

-

{{ error.dnsCredentials }}

- -
- - -
- - -
- This feature is disabled in AWS Marketplace AMI. AWS Marketplace Policy disallows - AMIs from requesting IAM credentials from users to access Route53 hosted domains. Please use the Wildcard or Manual provider instead. -
- -
- - -
-
- - -
- - -
- -
- - - - - -
-
- - -
- - -
- - -
- - -
-
- - -
- - -
- - -
-
- - -
- - -
- - -
-
- - -
-
- - -
- - -
- - -
- -
- - - -
-
- - -
- -
- -
- - -
- - -
-
- - -
- - -
- - -
-
- -

The server IP needs to be whitelisted for this API Key.

- -
- - -
- - -
-
- - -
- - -

- - -

- - -

- - -

- - -

- - -

- - -

- - -

-

- - -

-

- - -

-

- - -

- - -

- - -

-

- - -

- - -

- - -

- - -

- - -

- - -

- - -

- - -

- Set up A records for *.{{ dnsCredentials.domain || 'example.com' }}. and {{ dnsCredentials.domain || 'example.com' }}. to this server's IP. -

- - -

- Set up an A record for my.{{ dnsCredentials.domain || 'example.com' }}. to this server's IP.
-

- -

Let's Encrypt requires your server to be reachable on port 80

- -
-

Owner verification

-

{{ error.ami }}

- -
- - -
-

Provide the EC2 instance id to verify you have access to this server.

-
- -
-
-
- - -
- -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- -
- -
-
- -
- -
-
- -
-
-
-
-
Looking to restore?
-
-
-
-
-
-
- - - - + Cloudron Domain Setup + + + +
+ + diff --git a/dashboard/src/setup.js b/dashboard/src/setup.js new file mode 100644 index 000000000..e46e2426e --- /dev/null +++ b/dashboard/src/setup.js @@ -0,0 +1,16 @@ +import { createApp } from 'vue'; + +import '@fontsource/noto-sans'; + +import i18n from './i18n.js'; +import SetupView from './views/SetupView.vue'; + +import './style.css'; + +(async function init() { + const app = createApp(SetupView); + + app.use(await i18n()); + + app.mount('#app'); +})(); diff --git a/dashboard/src/views/SetupView.vue b/dashboard/src/views/SetupView.vue new file mode 100644 index 000000000..1983f09d5 --- /dev/null +++ b/dashboard/src/views/SetupView.vue @@ -0,0 +1,160 @@ + + + + +