Skip to content

Commit 2cb3c45

Browse files
committed
Add provider setup guide link to domain modal
Added a help note with a link to the Provider Setup Guide in the domain creation modal. Updated CSS to style the note and its link. Bumped config version to 1.0.1b.
1 parent b53c3ab commit 2cb3c45

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ build:
1313
- .template
1414
use_gitignore: true
1515

16-
version: '1.0.0-alpha'
16+
version: '1.0.1b'

src/public/css/styles.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,3 +724,19 @@ select:focus {
724724
.modal-content.small {
725725
max-width: 400px;
726726
}
727+
728+
.modal-note {
729+
font-size: 0.85rem;
730+
color: var(--link);
731+
margin: 0.5rem 0 1rem 0;
732+
}
733+
734+
.modal-note a {
735+
color: var(--primary);
736+
text-decoration: underline;
737+
transition: color 0.2s;
738+
}
739+
740+
.modal-note a:hover {
741+
color: var(--primary-hover);
742+
}

src/public/domains.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@
210210
</select>
211211

212212
<div id="providerFields"></div>
213-
213+
<p class="modal-note">
214+
Need help setting up a provider? See the
215+
<a href="https://github.com/TRC-Loop/CronDNS/wiki/Provider-Setup" target="_blank">Provider Setup Guide</a>.
216+
</p>
214217
<div class="modal-actions">
215218
<button id="cancelCreateDomain" class="secondary">Cancel</button>
216219
<button id="okCreateDomain">Create</button>

0 commit comments

Comments
 (0)