Skip to content

Commit e5141f0

Browse files
Added link to DNS config settings from new instance dialogue (#70)
1 parent ff92db5 commit e5141f0

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

src/components/tables/InstancesTable.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,7 @@
601601
<div class="text-subtitle1">
602602
{{ selectedDomainRequestConfig.title }}
603603
</div>
604-
<div class="text-caption text-grey-5 q-mt-xs">
605-
{{ selectedDomainRequestConfig.message }}
606-
</div>
604+
<div class="text-caption text-grey-5 q-mt-xs" v-html="selectedDomainRequestConfig.message" />
607605
<q-input
608606
v-model="planDialog.domain"
609607
:label="selectedDomainRequestConfig.label"
@@ -1468,7 +1466,8 @@ export default defineComponent({
14681466
return {
14691467
title: 'Custom domain',
14701468
message:
1471-
'This payment plan supports a custom subdomain or a full custom domain. Enter the hostname you want to use for this instance.',
1469+
'<p>This payment plan supports a custom subdomain or a full custom domain. Enter the hostname you want to use for this instance.</p>' +
1470+
'<p>You will need to configure your domain\'s DNS settings. <a href="https://community.lnbits.com/t/custom-domain-names-dns-setup-guide/60" title="LNbits SaaS custom DNS settings" target="_blank">Find out how here.</a></p>',
14721471
label: 'Domain or subdomain',
14731472
hint: 'Examples: my-team or pay.example.com',
14741473
missingMessage: 'Enter a custom domain or subdomain.',
@@ -1482,7 +1481,8 @@ export default defineComponent({
14821481
return {
14831482
title: 'Custom subdomain',
14841483
message:
1485-
'This payment plan includes a custom subdomain. Enter the subdomain you want to reserve for this instance.',
1484+
'<p>This payment plan includes a custom subdomain. Enter the subdomain you want to reserve for this instance.</p>' +
1485+
'<p>You will need to configure your domain\'s DNS settings. <a href="https://community.lnbits.com/t/custom-domain-names-dns-setup-guide/60" title="LNbits SaaS custom DNS settings" target="_blank">Find out how here.</a></p>',
14861486
label: 'Subdomain',
14871487
hint: 'Example: my-team.lnbits.com',
14881488
suffix: '.lnbits.com',

src/css/app.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,10 @@ pre {
529529
linear-gradient(160deg, #0b0614, #140a22 40%, #1b0f2e 70%, #23113a);
530530
}
531531

532+
.body--dark .q-dialog--modal .text-caption a {
533+
color: white;
534+
}
535+
532536
.body--light .app-shell {
533537
background: radial-gradient(900px 600px at 0% -10%, rgba(178, 56, 255, 0.08), transparent 60%),
534538
radial-gradient(1000px 700px at 100% 0%, rgba(255, 79, 216, 0.08), transparent 60%),
@@ -780,4 +784,4 @@ pre {
780784
gap: 1rem;
781785
}
782786

783-
}
787+
}

0 commit comments

Comments
 (0)