Better indicate the my. dashboard domain in setup

This commit is contained in:
Johannes Zellner
2025-05-12 15:02:28 +02:00
parent 53eb1649d5
commit 5accc2a923
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -40,6 +40,10 @@ html, body {
}
}
b {
font-weight: 700;
}
.shadow {
box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
+1 -1
View File
@@ -166,7 +166,7 @@ onMounted(async () => {
<label for="domainInput">Domain <sup><a href="https://docs.cloudron.io/installation/#domain-setup" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<TextInput id="domainInput" v-model="domain" placeholder="example.com" required />
<div class="text-danger" v-show="domain.indexOf('my.') === 0 && domain.length > 3">Are you sure about this domain? The dashboard will be at <b>my.{{ domain }}</b></div>
<div style="padding-top: 6px;">Apps will be installed on subdomains of this domain. The dashboard will be available on the <b>my</b> subdomain. You can add more domains later.</div>
<div style="padding-top: 6px;">Apps will be installed on subdomains of this domain. The dashboard will be available on the <b>my{{ domain ? `.${domain}` : '' }}</b> subdomain. You can add more domains later.</div>
</FormGroup>
<DomainProviderForm v-model:provider="provider" v-model:dns-config="dnsConfig" v-model:tls-provider="tlsProvider" :domain="domain" :show-advanced="showAdvanced" />