dev: automated commit - 2025-08-10 18:25:00

This commit is contained in:
Mariano Z. 2025-08-10 18:25:00 -03:00
parent 81967b4d8e
commit f24ef7b8fa
3 changed files with 49 additions and 22 deletions

View file

@ -26,7 +26,7 @@ type DNSRecord struct {
Content string
TTL int
Proxied bool
IsStatic bool // Nueva propiedad para indicar si es estático
IsStatic bool
CreatedOn string
}
@ -72,13 +72,14 @@ templ ConfigWarning() {
<div class="alert alert-warning config-warning">
<h4>Configuration Required</h4>
<p>Please configure your Cloudflare API credentials to manage your DNS records.</p>
<button
<a
href="/config"
x-target="contact"
@ajax:success="$dispatch('dialog:open')"
class="btn btn-primary"
data-bs-toggle="modal"
data-bs-target="#configModal"
>
Configure Now
</button>
</a>
</div>
}
@ -364,4 +365,4 @@ func getStaticToggleTitle(isStatic bool) string {
return "Make dynamic (will auto-update)"
}
return "Make static (won't auto-update)"
}
}