fix: dns button ui
This commit is contained in:
@@ -17,7 +17,7 @@ import { checkContainer, removeContainer } from './docker';
|
|||||||
import { day } from './dayjs';
|
import { day } from './dayjs';
|
||||||
import * as serviceFields from './serviceFields'
|
import * as serviceFields from './serviceFields'
|
||||||
|
|
||||||
export const version = '3.4.0';
|
export const version = '3.4.1';
|
||||||
export const isDev = process.env.NODE_ENV === 'development';
|
export const isDev = process.env.NODE_ENV === 'development';
|
||||||
|
|
||||||
const algorithm = 'aes-256-ctr';
|
const algorithm = 'aes-256-ctr';
|
||||||
|
@@ -496,13 +496,13 @@
|
|||||||
<div class="flex-col space-y-2 pt-4 text-center">
|
<div class="flex-col space-y-2 pt-4 text-center">
|
||||||
{#if isNonWWWDomainOK}
|
{#if isNonWWWDomainOK}
|
||||||
<button
|
<button
|
||||||
class="bg-green-600 hover:bg-green-500"
|
class="btn btn-sm bg-green-600 hover:bg-green-500"
|
||||||
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
||||||
>DNS settings for {nonWWWDomain} is OK, click to recheck.</button
|
>DNS settings for {nonWWWDomain} is OK, click to recheck.</button
|
||||||
>
|
>
|
||||||
{:else}
|
{:else}
|
||||||
<button
|
<button
|
||||||
class="bg-red-600 hover:bg-red-500"
|
class="btn btn-sm bg-red-600 hover:bg-red-500"
|
||||||
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
||||||
>DNS settings for {nonWWWDomain} is invalid, click to recheck.</button
|
>DNS settings for {nonWWWDomain} is invalid, click to recheck.</button
|
||||||
>
|
>
|
||||||
@@ -510,14 +510,14 @@
|
|||||||
{#if dualCerts}
|
{#if dualCerts}
|
||||||
{#if isWWWDomainOK}
|
{#if isWWWDomainOK}
|
||||||
<button
|
<button
|
||||||
class="bg-green-600 hover:bg-green-500"
|
class="btn btn-sm bg-green-600 hover:bg-green-500"
|
||||||
on:click|preventDefault={() =>
|
on:click|preventDefault={() =>
|
||||||
isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
||||||
>DNS settings for www.{nonWWWDomain} is OK, click to recheck.</button
|
>DNS settings for www.{nonWWWDomain} is OK, click to recheck.</button
|
||||||
>
|
>
|
||||||
{:else}
|
{:else}
|
||||||
<button
|
<button
|
||||||
class="bg-red-600 hover:bg-red-500"
|
class="btn btn-sm bg-red-600 hover:bg-red-500"
|
||||||
on:click|preventDefault={() =>
|
on:click|preventDefault={() =>
|
||||||
isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
||||||
>DNS settings for www.{nonWWWDomain} is invalid, click to recheck.</button
|
>DNS settings for www.{nonWWWDomain} is invalid, click to recheck.</button
|
||||||
|
@@ -322,13 +322,13 @@
|
|||||||
<div class="flex-col space-y-2 pt-4 text-center">
|
<div class="flex-col space-y-2 pt-4 text-center">
|
||||||
{#if isNonWWWDomainOK}
|
{#if isNonWWWDomainOK}
|
||||||
<button
|
<button
|
||||||
class="bg-green-600 hover:bg-green-500"
|
class="btn btn-sm bg-green-600 hover:bg-green-500"
|
||||||
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
||||||
>DNS settings for {nonWWWDomain} is OK, click to recheck.</button
|
>DNS settings for {nonWWWDomain} is OK, click to recheck.</button
|
||||||
>
|
>
|
||||||
{:else}
|
{:else}
|
||||||
<button
|
<button
|
||||||
class="bg-red-600 hover:bg-red-500"
|
class="btn btn-sm bg-red-600 hover:bg-red-500"
|
||||||
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}
|
||||||
>DNS settings for {nonWWWDomain} is invalid, click to recheck.</button
|
>DNS settings for {nonWWWDomain} is invalid, click to recheck.</button
|
||||||
>
|
>
|
||||||
@@ -336,13 +336,13 @@
|
|||||||
{#if dualCerts}
|
{#if dualCerts}
|
||||||
{#if isWWWDomainOK}
|
{#if isWWWDomainOK}
|
||||||
<button
|
<button
|
||||||
class="bg-green-600 hover:bg-green-500"
|
class="btn btn-sm bg-green-600 hover:bg-green-500"
|
||||||
on:click|preventDefault={() => isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
on:click|preventDefault={() => isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
||||||
>DNS settings for www.{nonWWWDomain} is OK, click to recheck.</button
|
>DNS settings for www.{nonWWWDomain} is OK, click to recheck.</button
|
||||||
>
|
>
|
||||||
{:else}
|
{:else}
|
||||||
<button
|
<button
|
||||||
class="bg-red-600 hover:bg-red-500"
|
class="btn btn-sm bg-red-600 hover:bg-red-500"
|
||||||
on:click|preventDefault={() => isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
on:click|preventDefault={() => isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}
|
||||||
>DNS settings for www.{nonWWWDomain} is invalid, click to recheck.</button
|
>DNS settings for www.{nonWWWDomain} is invalid, click to recheck.</button
|
||||||
>
|
>
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "coolify",
|
"name": "coolify",
|
||||||
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
|
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
|
||||||
"version": "3.4.0",
|
"version": "3.4.1",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": "github:coollabsio/coolify",
|
"repository": "github:coollabsio/coolify",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user