Added download button in shared editor page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 2m6s
Laravel Larastan / larastan (pull_request) Failing after 4m55s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 2m6s
Laravel Larastan / larastan (pull_request) Failing after 4m55s
This commit is contained in:
@@ -43,20 +43,14 @@
|
||||
|
||||
<div wire:poll.1s="refreshSharedContent" class="space-y-4">
|
||||
|
||||
{{-- Header --}}
|
||||
<div class="flex items-center justify-between gap-4">
|
||||
<div class="flex items-center justify-start">
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">
|
||||
Type here to share content with other users.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2 class="text-lg font-semibold text-gray-900 dark:text-white">
|
||||
Shared Clipboard
|
||||
</h2>
|
||||
<div class="flex items-center justify-end gap-2">
|
||||
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">
|
||||
Type here to share content with other users.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{{-- Clear Button --}}
|
||||
<x-filament::button
|
||||
color="info"
|
||||
icon="heroicon-o-clipboard"
|
||||
@@ -64,10 +58,18 @@
|
||||
>
|
||||
Copy To ClipBoard
|
||||
</x-filament::button>
|
||||
{{-- @if (auth()->user()?->hasRole('Super Admin')) --}}
|
||||
<x-filament::button
|
||||
color="success"
|
||||
icon="heroicon-o-arrow-down-tray"
|
||||
wire:click="downloadTxt"
|
||||
>
|
||||
Download Txt
|
||||
</x-filament::button>
|
||||
{{-- @endif --}}
|
||||
|
||||
</div>
|
||||
|
||||
{{-- Shared Textarea --}}
|
||||
<div>
|
||||
<textarea
|
||||
wire:model.live.debounce.500ms="content"
|
||||
@@ -78,7 +80,6 @@
|
||||
></textarea>
|
||||
</div>
|
||||
|
||||
{{-- Footer --}}
|
||||
<div class="flex items-center justify-between text-xs text-gray-500 dark:text-gray-400">
|
||||
|
||||
<span>
|
||||
|
||||
Reference in New Issue
Block a user