mirror of
https://github.com/ershisan99/coolify.git
synced 2026-02-01 05:12:07 +00:00
testing php storm code cleanup and styling
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<x-layout>
|
||||
<h1>New Team</h1>
|
||||
<div class="pt-2 pb-10">Add a new team</div>
|
||||
<livewire:team.create />
|
||||
<livewire:team.create/>
|
||||
</x-layout>
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
<x-layout>
|
||||
<x-team.navbar :team="session('currentTeam')" />
|
||||
<x-team.navbar :team="session('currentTeam')"/>
|
||||
<h2>Members</h2>
|
||||
<div class="pt-4 overflow-hidden">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Role</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Role</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (auth()->user()->currentTeam()->members->sortBy('name') as $member)
|
||||
<livewire:team.member :member="$member" :wire:key="$member->id" />
|
||||
@endforeach
|
||||
@foreach (auth()->user()->currentTeam()->members->sortBy('name') as $member)
|
||||
<livewire:team.member :member="$member" :wire:key="$member->id"/>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -26,7 +26,8 @@
|
||||
<h3>Invite a new member</h3>
|
||||
@if (auth()->user()->isInstanceAdmin())
|
||||
<div class="pb-4 text-xs text-warning">You need to configure <a href="/settings/emails"
|
||||
class="underline text-warning">Transactional Emails</a>
|
||||
class="underline text-warning">Transactional
|
||||
Emails</a>
|
||||
before
|
||||
you can invite a
|
||||
new
|
||||
@@ -36,8 +37,8 @@
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
<livewire:team.invite-link />
|
||||
<livewire:team.invite-link/>
|
||||
</div>
|
||||
<livewire:team.invitations :invitations="$invitations" />
|
||||
<livewire:team.invitations :invitations="$invitations"/>
|
||||
@endif
|
||||
</x-layout>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<x-layout>
|
||||
<x-team.navbar :team="session('currentTeam')" />
|
||||
<x-team.navbar :team="session('currentTeam')"/>
|
||||
<h2 class="pb-4">Notifications</h2>
|
||||
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'email' }" class="flex h-full">
|
||||
<div class="flex flex-col gap-4 min-w-fit">
|
||||
<a :class="activeTab === 'email' && 'text-white'"
|
||||
@click.prevent="activeTab = 'email'; window.location.hash = 'email'" href="#">Email</a>
|
||||
@click.prevent="activeTab = 'email'; window.location.hash = 'email'" href="#">Email</a>
|
||||
<a :class="activeTab === 'discord' && 'text-white'"
|
||||
@click.prevent="activeTab = 'discord'; window.location.hash = 'discord'" href="#">Discord</a>
|
||||
@click.prevent="activeTab = 'discord'; window.location.hash = 'discord'" href="#">Discord</a>
|
||||
</div>
|
||||
<div class="w-full pl-8">
|
||||
<div x-cloak x-show="activeTab === 'email'" class="h-full">
|
||||
<livewire:notifications.email-settings :model="session('currentTeam')" />
|
||||
<livewire:notifications.email-settings :model="session('currentTeam')"/>
|
||||
</div>
|
||||
<div x-cloak x-show="activeTab === 'discord'">
|
||||
<livewire:notifications.discord-settings :model="session('currentTeam')" />
|
||||
<livewire:notifications.discord-settings :model="session('currentTeam')"/>
|
||||
</div>
|
||||
</div>
|
||||
</x-layout>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<x-layout>
|
||||
<x-team.navbar :team="session('currentTeam')" />
|
||||
<livewire:team.form />
|
||||
<x-team.navbar :team="session('currentTeam')"/>
|
||||
<livewire:team.form/>
|
||||
@if (isCloud())
|
||||
<div class="pb-8">
|
||||
<h3>Subscription</h3>
|
||||
@@ -27,5 +27,5 @@
|
||||
</x-forms.button>
|
||||
</div>
|
||||
@endif
|
||||
<livewire:team.delete />
|
||||
<livewire:team.delete/>
|
||||
</x-layout>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<x-layout>
|
||||
<x-team.navbar :team="session('currentTeam')" />
|
||||
<x-team.navbar :team="session('currentTeam')"/>
|
||||
<div class="flex items-start gap-2">
|
||||
<h2 class="pb-4">S3 Storages</h2>
|
||||
<x-forms.button class="btn">
|
||||
@@ -8,7 +8,8 @@
|
||||
</div>
|
||||
<div class="grid gap-2 lg:grid-cols-2">
|
||||
@forelse ($s3 as $storage)
|
||||
<div x-data x-on:click="goto('{{ $storage->uuid }}')" @class(['gap-2 border cursor-pointer box group border-transparent'])>
|
||||
<div x-data
|
||||
x-on:click="goto('{{ $storage->uuid }}')" @class(['gap-2 border cursor-pointer box group border-transparent'])>
|
||||
<div class="flex flex-col mx-6">
|
||||
<div class=" group-hover:text-white">
|
||||
{{ $storage->name }}
|
||||
@@ -20,7 +21,7 @@
|
||||
@empty
|
||||
<div>
|
||||
<div>No storage found.</div>
|
||||
<x-use-magic-bar link="/team/storages/new" />
|
||||
<x-use-magic-bar link="/team/storages/new"/>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<x-layout>
|
||||
<livewire:team.storage.create />
|
||||
<livewire:team.storage.create/>
|
||||
</x-layout>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<x-layout>
|
||||
<x-team.navbar :team="session('currentTeam')" />
|
||||
<livewire:team.storage.form :storage="$storage" />
|
||||
<x-team.navbar :team="session('currentTeam')"/>
|
||||
<livewire:team.storage.form :storage="$storage"/>
|
||||
</x-layout>
|
||||
|
||||
Reference in New Issue
Block a user