This commit is contained in:
Andras Bacsai
2023-06-07 22:07:26 +02:00
parent 1d9b006db7
commit 91fb7b09bf
12 changed files with 59 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
<div class="flex gap-10 text-xs text-white" x-data="{ visible: @entangle('visible') }">
<x-forms.button x-cloak x-show="!visible" wire:click='upgrade'>
Force Upgrade
Force Upgrade Your Instance
</x-forms.button>
<template x-if="visible">
<div class="bg-coollabs-gradient">

View File

@@ -12,6 +12,10 @@
<form wire:submit.prevent='saveConfiguration({{ $server }})'>
<div class="flex items-center gap-2">
<h2>Proxy</h2>
<x-forms.button type="submit">Save</x-forms.button>
<x-forms.button wire:click.prevent="resetProxy">
Reset to default
</x-forms.button>
<livewire:server.proxy.status :server="$server" />
</div>
<div class="pb-4 text-sm">Traefik v2</div>
@@ -21,13 +25,8 @@
<div class="text-sm text-red-500">Configuration out of sync. Restart to get the new configs.
</div>
@endif
<x-forms.button type="submit">Save</x-forms.button>
<x-forms.button wire:click.prevent="resetProxy">
Reset to default
</x-forms.button>
<div class="pt-4 pb-0 text-xs">traefik.conf</div>
<x-forms.textarea class="text-xs" noDirty name="proxy_settings"
wire:model.defer="proxy_settings" rows="30" />
<x-forms.textarea label="Configuration file: traefik.conf" class="text-xs" noDirty
name="proxy_settings" wire:model.defer="proxy_settings" rows="30" />
</form>
@endif
@endisset

View File

@@ -1,15 +1,7 @@
<div>
<form wire:submit.prevent='submit' class="flex flex-col">
<h1>Settings</h1>
<nav class="flex pt-2 pb-10 text-sm">
<ol class="inline-flex items-center">
<li class="inline-flex items-center">
Instance wide settings for Coolify.
</li>
</ol>
</nav>
<div class="flex items-center gap-2">
<h3>General</h3>
<h3>Configuration</h3>
<x-forms.button type="submit">
Save
</x-forms.button>
@@ -29,8 +21,7 @@
</div>
</form>
<h3 class="pt-6">Advanced</h3>
<div class="flex flex-col text-right w-52">
<div class="flex flex-col py-6 text-right w-52">
<x-forms.checkbox instantSave id="is_auto_update_enabled" label="Auto Update Coolify" />
<x-forms.checkbox instantSave id="is_registration_enabled" label="Registration Allowed" />
<x-forms.checkbox instantSave id="do_not_track" label="Do Not Track" />

View File

@@ -1,4 +1,4 @@
<div class="py-8">
<div>
<form wire:submit.prevent='submit' class="flex flex-col">
<div class="flex items-center gap-2">
<h3>Transactional Emails</h3>