coolify/resources/views/subscription/index.blade.php

32 lines
1.5 KiB
PHP
Raw Normal View History

2023-07-14 11:27:08 +02:00
<x-layout-subscription>
@if ($settings->is_resale_license_active)
2023-07-27 16:22:13 +02:00
<div class="flex justify-center mx-10">
2023-08-24 16:14:09 +02:00
<div x-data>
2023-07-27 16:22:13 +02:00
<div class="flex gap-2">
2023-08-30 16:01:38 +02:00
<h1>Subscription</h1>
2023-08-11 20:19:42 +02:00
<livewire:switch-team />
2023-07-27 16:22:13 +02:00
</div>
<div class="flex items-center pb-8">
<span>Currently active team: <span
class="text-warning">{{ session('currentTeam.name') }}</span></span>
</div>
2023-08-30 18:23:55 +02:00
@if (request()->query->get('cancelled'))
<div class="mb-6 rounded alert alert-error">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 stroke-current shrink-0" fill="none"
viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>Something went wrong with your subscription. Please try again or contact support.</span>
</div>
@endif
2023-08-24 16:14:09 +02:00
@if (config('subscription.provider') !== null)
<livewire:subscription.pricing-plans />
@endif
2023-07-27 16:22:13 +02:00
</div>
2023-07-14 11:27:08 +02:00
</div>
2023-07-14 12:09:56 +02:00
@else
2023-07-27 14:45:34 +02:00
<div class="px-10">Resale license is not active. Please contact your instance admin.</div>
2023-07-14 11:27:08 +02:00
@endif
</x-layout-subscription>